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

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

XMLWordPrintable

    • b31
    • generic
    • generic
    • Verified

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

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

                Created:
                Updated:
                Resolved: