Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8176296

Test sun/security/krb5/auto/Basic.java faling after adding module declaration into TEST.properties.

XMLWordPrintable

        The test needs to be revised.

        Execute the test with below command line:

        jtreg -jdk:/jdk9_latest -verbose:all -javaoptions:"--limit-modules java.base,java.security.jgss,jdk.security.auth" /jdk9-dev/jdk/test/sun/security/krb5/auto/Basic.java

        cut from logs:
        command: main --limit-modules java.security.jgss,jdk.security.auth Basic java.security.jgss
        reason: User specified action: run main/othervm --limit-modules java.security.jgss,jdk.security.auth Basic java.security.jgss
        Mode: othervm [/othervm specified]

        STDERR:
        java.lang.Exception: Expected: java.security.jgss. Actual: jdk.security.jgss
                at Basic.main(Basic.java:70)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
                at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
                at java.base/java.lang.reflect.Method.invoke(Method.java:547)
                at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
                at java.base/java.lang.Thread.run(Thread.java:844)


              weijun Weijun Wang
              skovalev Sergei Kovalev (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: