jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java
changeset 9008 1c23e333dd76
parent 5506 202f599c92aa
child 10328 06c93c42bca0
equal deleted inserted replaced
9007:05f25362fb76 9008:1c23e333dd76
     1 /*
     1 /*
     2  * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    22  */
    22  */
    23 
    23 
    24 /*
    24 /*
    25  * @test
    25  * @test
    26  * @bug 6770883
    26  * @bug 6770883
       
    27  * @run main/othervm NoSpnegoAsDefMech
    27  * @summary Infinite loop if SPNEGO specified as sun.security.jgss.mechanism
    28  * @summary Infinite loop if SPNEGO specified as sun.security.jgss.mechanism
    28  */
    29  */
    29 
    30 
    30 import org.ietf.jgss.*;
    31 import org.ietf.jgss.*;
    31 import sun.security.jgss.*;
    32 import sun.security.jgss.*;