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

The case failed with the java.lang.NoClassDefFoundErrorexception

XMLWordPrintable

    • x86
    • solaris_10

      Testsuite name: Regression manual
      Test name(s):closed/java/awt/Dialog/PrintToFileTest/PrintToFileRevoked.html
      Product(s) tested: JDK7u211b03(64bit)
      OS/architecture: solaris10-x64/Jtreg4.1 b13

      Actual behavior:
      1.After running this case, it failed and throws exception:java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.TempFileHelper.
      2.We also tried:
      /export/home/regression/jdk1.7.0_211/bin/amd64/javac PrintToFileRevoked.java
      /export/home/regression/jdk1.7.0_211/bin/amd64/appletviewer -J-Djava.security.policy=revoked PrintToFileRevoked.html
      The behavior is passed, but the dialog has no the "Pass" and "Fail" button. Please refer to PrintToFileRevoked.png

       verify:
      JDK 7u201b01 on the same platform failed with "Execution failed: Applet thread threw exception: java.lang.ExceptionInInitializerError"
      JDK 7u211b02 on the same platform failed the same issue

            dmarkov Dmitry Markov
            pwu Paul Wu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: