JDK-8176710 : sun/security/krb5/auto/HttpNegotiateServer.java test fails to compile
  • Type: Bug
  • Component: security-libs
  • Sub-Component: org.ietf.jgss:krb5
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Other
  • OS: generic
  • CPU: generic
  • Submitted: 2017-03-14
  • Updated: 2017-03-14
  • Resolved: 2017-03-14
Related Reports
Duplicate :  
Relates :  
Description
The test fails with the following output;

/home/artem/ws/jdk/jdk9_dev_mscapi/jdk/test/sun/security/krb5/auto/KDC.java:1162: error: package sun.security.krb5.internal.ccache is not visible
                sun.security.krb5.internal.ccache.Credentials credentials =
                                          ^
  (package sun.security.krb5.internal.ccache is declared in module java.security.jgss, which does not export it)
/home/artem/ws/jdk/jdk9_dev_mscapi/jdk/test/sun/security/krb5/auto/KDC.java:1163: error: package sun.security.krb5.internal.ccache is not visible
                    new sun.security.krb5.internal.ccache.Credentials(asRep);
                                                  ^
  (package sun.security.krb5.internal.ccache is declared in module java.security.jgss, which does not export it)


This looks like a test bug, probably the test needs some @module tags.
Comments
I'm closing this bug, as weijun already worked on the same issue at JDK-8176715.
14-03-2017

The test failed with the same error, see JDK-8176213. Sergei, Could you please take a look at it?
14-03-2017