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

tools/jlink/JLinkPluginsTest.java fails with Error: unknown option: --class-for-name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 11
    • tools
    • None
    • macOS

    • b13
    • x86_64
    • os_x

      File: tools/jlink/JLinkPluginsTest.java

      Error: unknown option: --class-for-name
      Usage: jlink <options> --module-path <modulepath> --add-modules <module>[,<module>...]
      Use --help for a list of possible options

      java.lang.AssertionError: Unexpected failure: 2
      at tests.Result.assertSuccess(Result.java:80)
      at JLinkPluginsTest.main(JLinkPluginsTest.java:84)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.AssertionError: Unexpected failure: 2

            redestad Claes Redestad
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: