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

The case failed with the java.lang.NoClassDefFoundError exception

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3
    • 9
    • 8, 8u40
    • client-libs
    • Solaris10-sparc/jdk8u40b09(64bit)

    • sparc
    • solaris_10

    Description

      Testsuite name:Awt Regression
      Test name:closed/java/awt/Dialog/PrintToFileTest/PrintToFileRevoked.html
      Product tested:JDK 8u40b09(64bit)
      OS/architecture:Solaris10-sparc

      Error log file:http://scaaa008.us.oracle.com:9502/runs%2F607871.ManualSubmit-1/workDir/closed/java/awt/Dialog/PrintToFileTest/PrintToFileRevoked.jtr
         
      Reproducible: Always
      Reproducible on machine: Evergreen-machine
      [If Sometimes] Also reproducible on machine:

      Is it a Regression:NO
      [If Regression] Regression introduced in release/build:
      Test result on the last GAed release for this train: Fail(JDK8u25b18/Solaris10-sparc:Failed as the same issue)
        [if Fail] Test result on FCS: Fail(JDK1.8.0/Solaris10-sparc:failed directly without any exception)

      Is it a platform specific issue:Yes(8u40b09/solaris11.2-x64:Pass)
        [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing:
        [If new configuration testing] Issue specific to execution mode or OS/browser version:

      Exception:java.lang.NoClassDefFoundError: Could not initialize class java.nio.file.TempFileHelper

      Steps to reproduce:
       1.Download regression workspace from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b09/ws/jdk/ to /export/home/egtc/workspace/regression
        2. Install test bundle JDK8u40b09 (download from http://jre.us.oracle.com/java/re/jdk/8u40/promoted/ea/b09/bundles/solaris-sparcv9/jdk-8u40-ea-solaris-sparcv9.tar.gz) to /export/home/egtc/workspace/regression/jdk1.8.0_40
        3.Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/linux-i586/jdk-7u45-linux-i586.tar.gz) to /export/home/egtc/workspace/regression/jdk1.7.0_45
         4.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b09/bundles/jtreg_bin-4.1-fcs-bin-b09_28_mar_2014.zip locate at /export/home/egtc/workspace/regression/
         5.Create the script regression.sh as follows and run it
      export JT_JAVA=/export/home/egtc/workspace/regression/jdk1.7.0_45
      /export/home/egtc/workspace/regression/jtreg/linux/bin/jtreg -v -m -ignore:quiet -jdk:/export/home/egtc/workspace/regression/jdk1.8.0_40 -r:/export/home/egtc/workspace/regression/results/reportDir -w:/export/home/egtc/workspace/regression/results/workDir /export/home/egtc/workspace/regression/test/closed/java/awt/Dialog/PrintToFileTest/PrintToFileRevoked.html
         
      Case Instruction:
      1) Click on 'Show file dialog' button. A print dialog will come up.
      2) If checkbox 'Print to file' is disabled then the test passed, else the test failed.
      3) Close the print dialog before pressing PASS or FAIL buttons.
         
      Actual behavior:
      1.After running this case, it failed and throws exception: java.lang.NoClassDefFoundError in the console.
      2.We also tried:
      javac PrintToFileRevoked.java
      appletviewer PrintToFileRevoked.html
      The behavior is passed, but the dialog has no the "Pass" and "Fail" button.

      Attachments

        Issue Links

          Activity

            People

              prr Philip Race
              michaelw Michael Wang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: