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

fix for JDK-8204256 causes jlink test failures

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b19
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      The following test are failing in the JDK16 CI:

      tools/jlink/JLinkTest.java
      tools/jlink/JLinkNegativeTest.java

      There appear to be sightings on all platforms.

      Here's a snippet from a JLinkNegativeTest.java log file:

      jlink options: --output /opt/mach5/mesos/work_dir/slaves/52628e90-e5e7-4ef3-af97-10d8776d10db-S2341/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4aa2077e-ddde-4080-9899-0dd56b1831df/runs/08be1fa3-fcf6-40aa-89d6-161f029b94fe/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/images/bug8134651-2.image --add-modules leaf1 --module-path :/opt/mach5/mesos/work_dir/slaves/52628e90-e5e7-4ef3-af97-10d8776d10db-S2341/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4aa2077e-ddde-4080-9899-0dd56b1831df/runs/08be1fa3-fcf6-40aa-89d6-161f029b94fe/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/jmods:/opt/mach5/mesos/work_dir/slaves/52628e90-e5e7-4ef3-af97-10d8776d10db-S2341/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4aa2077e-ddde-4080-9899-0dd56b1831df/runs/08be1fa3-fcf6-40aa-89d6-161f029b94fe/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/jars:/opt/mach5/mesos/work_dir/slaves/52628e90-e5e7-4ef3-af97-10d8776d10db-S2341/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4aa2077e-ddde-4080-9899-0dd56b1831df/runs/08be1fa3-fcf6-40aa-89d6-161f029b94fe/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/explodedmods/classes
      jlink options: --output /opt/mach5/mesos/work_dir/slaves/52628e90-e5e7-4ef3-af97-10d8776d10db-S2341/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/4aa2077e-ddde-4080-9899-0dd56b1831df/runs/08be1fa3-fcf6-40aa-89d6-161f029b94fe/testoutput/test-support/jtreg_open_test_jdk_tier2_part2/scratch/3/images/bug8134651-3.image --add-modules leaf1
      java.util.MissingResourceException: Can't find resource for bundle jdk.tools.jlink.resources.plugins, key err.prefix
      at java.base/java.util.ResourceBundle.getObject(ResourceBundle.java:564)
      at java.base/java.util.ResourceBundle.getString(ResourceBundle.java:521)
      at jdk.jlink/jdk.tools.jlink.internal.TaskHelper$ResourceBundleHelper.getMessage(TaskHelper.java:497)
      at jdk.jlink/jdk.tools.jlink.internal.TaskHelper.getMessage(TaskHelper.java:698)
      at jdk.jlink/jdk.tools.jlink.internal.JlinkTask.run(JlinkTask.java:279)
      at jdk.jlink/jdk.tools.jlink.internal.Main.run(Main.java:54)
      at jdk.jlink/jdk.tools.jlink.internal.Main$JlinkToolProvider.run(Main.java:65)
      at tests.JImageGenerator$JLinkTask.call(JImageGenerator.java:715)
      at JLinkTest.main(JLinkTest.java:172)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.util.MissingResourceException: Can't find resource for bundle jdk.tools.jlink.resources.plugins, key err.prefix
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.util.MissingResourceException: Can't find resource for bundle jdk.tools.jlink.resources.plugins, key err.prefix
      ----------rerun:(44/7142)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              igraves Ian Graves
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: