jdeps support for multi-release JARs should not keep the version map in a static variable

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 9
    • Component/s: tools
    • None

      com.sun.tools.jdeps.VersionHelper keeps the nameToVersion map in a static variable. If multiple invocation of jdeps ToolProvider in the same VM, a class file of multiple versions detected in a previous invocation of jdeps will cause MultiReleaseException in the subsequent invocation of jdeps even if there is no conflict.

            Assignee:
            Mandy Chung (Inactive)
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: