-
Bug
-
Resolution: Incomplete
-
P4
-
11
-
generic
-
generic
ADDITIONAL SYSTEM INFORMATION :
MacOS, Debian
A DESCRIPTION OF THE PROBLEM :
We're running jdeps --jdk-internals --multi-release 11 --class-path '<OUR_PATH>/build/output/libs/*' <OUR_PATH>/build/libs/<OUR_JAR>.jar'
Running it multiple times on the SAME jar (and classpath) sometimes fails and sometimes passes.
The error we get is as follows:
[01:33:32] Exception in thread "main" java.lang.Error: java.util.concurrent.ExecutionException: com.sun.tools.jdeps.MultiReleaseException
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DependencyFinder.waitForTasksCompleted(DependencyFinder.java:272)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DependencyFinder.parse(DependencyFinder.java:132)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DepsAnalyzer.run(DepsAnalyzer.java:129)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$AnalyzeDeps.run(JdepsTask.java:747)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$AnalyzeDeps.run(JdepsTask.java:734)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:560)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:519)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
[01:33:32] Caused by: java.util.concurrent.ExecutionException: com.sun.tools.jdeps.MultiReleaseException
[01:33:32] at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
[01:33:32] at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DependencyFinder.waitForTasksCompleted(DependencyFinder.java:268)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Not sure, it happens randomly on the same jar and classpath as explained in the description
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Always show jdeps valid output
ACTUAL -
Sometimes fails with an exception as described in the description
---------- BEGIN SOURCE ----------
This is an internal code that we cannot publish externally.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None.
FREQUENCY : occasionally
MacOS, Debian
A DESCRIPTION OF THE PROBLEM :
We're running jdeps --jdk-internals --multi-release 11 --class-path '<OUR_PATH>/build/output/libs/*' <OUR_PATH>/build/libs/<OUR_JAR>.jar'
Running it multiple times on the SAME jar (and classpath) sometimes fails and sometimes passes.
The error we get is as follows:
[01:33:32] Exception in thread "main" java.lang.Error: java.util.concurrent.ExecutionException: com.sun.tools.jdeps.MultiReleaseException
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DependencyFinder.waitForTasksCompleted(DependencyFinder.java:272)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DependencyFinder.parse(DependencyFinder.java:132)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DepsAnalyzer.run(DepsAnalyzer.java:129)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$AnalyzeDeps.run(JdepsTask.java:747)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$AnalyzeDeps.run(JdepsTask.java:734)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:560)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:519)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
[01:33:32] Caused by: java.util.concurrent.ExecutionException: com.sun.tools.jdeps.MultiReleaseException
[01:33:32] at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
[01:33:32] at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
[01:33:32] at jdk.jdeps/com.sun.tools.jdeps.DependencyFinder.waitForTasksCompleted(DependencyFinder.java:268)
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Not sure, it happens randomly on the same jar and classpath as explained in the description
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Always show jdeps valid output
ACTUAL -
Sometimes fails with an exception as described in the description
---------- BEGIN SOURCE ----------
This is an internal code that we cannot publish externally.
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
None.
FREQUENCY : occasionally
- relates to
-
JDK-8277564 jdeps --print-module-deps fails with --multi-release
- Closed