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

tools/jlink/plugins/SystemModuleDescriptors/ModuleMainClassTest.java fails to compile

    XMLWordPrintable

Details

    • b31
    • generic
    • generic
    • Verified

    Backports

      Description

        ----------direct:(7/653)----------
        /opt/mach5/mesos/work_dir/jib-master/install/jdk-22+31-2310/src.full/open/test/jdk/tools/jlink/plugins/SystemModuleDescriptors/ModuleMainClassTest.java:109: error: unreported exception Throwable; must be caught or declared to be thrown
                assertTrue(executeProcess(java.toString(),
                                         ^
        /opt/mach5/mesos/work_dir/jib-master/install/jdk-22+31-2310/src.full/open/test/jdk/tools/jlink/plugins/SystemModuleDescriptors/ModuleMainClassTest.java:121: error: unreported exception Throwable; must be caught or declared to be thrown
                assertTrue(executeProcess(java.toString(),
                                         ^
        2 errors
        result: Failed. Compilation failed: Compilation failed

        It looks like this test was introduced by:

        JDK-8322809 SystemModulesMap::classNames and moduleNames arrays do not match the order

        Attachments

          Issue Links

            Activity

              People

                mchung Mandy Chung
                dcubed Daniel Daugherty
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: