RFR 8036104: Rename the PAData.java test

Wang Weijun weijun.wang at oracle.com
Mon Mar 3 02:43:26 UTC 2014


Please review the fix for

   https://bugs.openjdk.java.net/browse/JDK-8036104

Basically, the PAData.java test has the same name as the internal PAData.java source file. IntelliJ IDEA always shows me the code completion hints I do not want. And when I manually code the correct method, it shows an red flag.

This is a trivial change and no webrev.

diff --git a/test/sun/security/krb5/PAData.java b/test/sun/security/krb5/TestPAData.java
rename from test/sun/security/krb5/PAData.java
rename to test/sun/security/krb5/TestPAData.java
--- a/test/sun/security/krb5/PAData.java
+++ b/test/sun/security/krb5/TestPAData.java
@@ -30,7 +30,7 @@
 import sun.security.krb5.internal.Krb5;
 import sun.security.util.DerValue;
 
-public class PAData {
+public class TestPAData {
     public static void main(String[] args) throws Exception {
         // This is the dump of a KRB-ERROR data, no sensitive info included.
         byte[] bytes = {

Thanks
Max




More information about the security-dev mailing list