Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8194310 [TESTBUG] remove/modify compiler tests which use java ee or corba modules
  3. JDK-8197959

[TESTBUG] Some (App)CDS tests require modification due to the removal of the Java EE and CORBA modules

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • hotspot
    • b12

      After the fix for JDK-8190378 (Removal of CORBA and Java EE modules), the java.corba module is no longer available.

      CDS test
      -------------
      Tests such as SharedArchiveFile/BootAppendTests.java which depends on the java.corba module will start failing.
      Error occurred during initialization of boot layer
      java.lang.module.FindException: Module java.corba not found
      ];
       stderr: []
       exitValue = 1

      java.lang.RuntimeException: 'sharing' missing from stdout/stderr

      AppCDS tests
      ------------------
      appcds/HelloExtTest.java
      appcds/javaldr/CheckAnonymousClass.java

      The above tests have the same problem during archive dump time:
      Error occurred during initialization of boot layer
      java.lang.module.FindException: Module java.corba not found

      Although during run time, the archive cannot be found
      An error has occurred while processing the shared archive file.
      Specified shared archive not found.

      the test result still showing "Passed".

            ccheung Calvin Cheung
            ccheung Calvin Cheung
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: