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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b12

      Description

      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".

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: