diff -r 45d6fd3af6ac -r 0d4717a011d3 jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java --- a/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java Thu May 28 11:31:40 2015 -0700 +++ b/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java Thu May 28 10:54:48 2015 -0700 @@ -24,6 +24,7 @@ /* * @test * @bug 6770883 + * @modules java.security.jgss/sun.security.jgss * @run main/othervm NoSpnegoAsDefMech * @summary Infinite loop if SPNEGO specified as sun.security.jgss.mechanism */