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

tools/jlink/plugins/CompressorPluginTest.java test failing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 11, 15, 16, 17
    • Fix Version/s: 18
    • Component/s: tools

      Description

      jdk.tools.jlink.plugin.PluginException: Resource /modules/java.base/java/lang/Object.class already present
      at jdk.jlink/jdk.tools.jlink.internal.ResourcePoolManager.add(ResourcePoolManager.java:295)
      at jdk.jlink/jdk.tools.jlink.internal.ResourcePoolManager$ResourcePoolBuilderImpl.add(ResourcePoolManager.java:213)
      at CompressorPluginTest.gatherResources(CompressorPluginTest.java:166)
      at CompressorPluginTest.test(CompressorPluginTest.java:85)
      at CompressorPluginTest.main(CompressorPluginTest.java:72)
      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.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: jdk.tools.jlink.plugin.PluginException
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              jlaskey Jim Laskey
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated: