--- a/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java Mon Mar 28 18:04:10 2011 +0800
+++ b/jdk/test/sun/security/jgss/spnego/NoSpnegoAsDefMech.java Mon Mar 28 18:04:17 2011 +0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,6 +24,7 @@
/*
* @test
* @bug 6770883
+ * @run main/othervm NoSpnegoAsDefMech
* @summary Infinite loop if SPNEGO specified as sun.security.jgss.mechanism
*/