-
Bug
-
Resolution: Fixed
-
P3
-
11, 17, 20
-
b18
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8296597 | 19u-cpu | Christoph Langer | P3 | Resolved | Fixed | master |
JDK-8296308 | 19.0.2 | Christoph Langer | P3 | Resolved | Fixed | b04 |
JDK-8296495 | 17.0.7-oracle | Adam Sotona | P3 | Resolved | Fixed | b01 |
JDK-8295880 | 17.0.6 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
JDK-8296220 | 15.0.10 | Yuri Nesterenko | P3 | Resolved | Fixed | b02 |
JDK-8296221 | 13.0.14 | Yuri Nesterenko | P3 | Resolved | Fixed | b02 |
C:\jdk-11.0.16.1\bin\jdeps.exe --multi-release 11 --module-path . --inverse --package com.sap.nw.performance.supa.client test.jar
Inverse transitive dependences matching packages [com.sap.nw.performance.supa.client]
Exception in thread "main" java.util.NoSuchElementException: No value present
at java.base/java.util.Optional.get(Optional.java:148)
at jdk.jdeps/com.sun.tools.jdeps.InverseDepsAnalyzer.lambda$inverseDependences$2(InverseDepsAnalyzer.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:497)
at jdk.jdeps/com.sun.tools.jdeps.InverseDepsAnalyzer.lambda$inverseDependences$3(InverseDepsAnalyzer.java:150)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:658)
at jdk.jdeps/com.sun.tools.jdeps.InverseDepsAnalyzer.inverseDependences(InverseDepsAnalyzer.java:145)
at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.run(JdepsTask.java:860)
at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:574)
at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:533)
at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
C:\jdk-17.0.4.1\bin\jdeps --multi-release 11 --module-path . --inverse --package com.sap.nw.performance.supa.client test.jar
Inverse transitive dependences matching packages [com.sap.nw.performance.supa.client]
Exception in thread "main" java.util.NoSuchElementException: No value present
at java.base/java.util.Optional.get(Optional.java:143)
at jdk.jdeps/com.sun.tools.jdeps.InverseDepsAnalyzer.lambda$inverseDependences$2(InverseDepsAnalyzer.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:197)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150)
at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173)
at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596)
at jdk.jdeps/com.sun.tools.jdeps.InverseDepsAnalyzer.lambda$inverseDependences$3(InverseDepsAnalyzer.java:150)
at java.base/java.util.Iterator.forEachRemaining(Iterator.java:133)
at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1845)
at java.base/java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762)
at jdk.jdeps/com.sun.tools.jdeps.InverseDepsAnalyzer.inverseDependences(InverseDepsAnalyzer.java:145)
at jdk.jdeps/com.sun.tools.jdeps.JdepsTask$InverseAnalyzeDeps.run(JdepsTask.java:860)
at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:574)
at jdk.jdeps/com.sun.tools.jdeps.JdepsTask.run(JdepsTask.java:533)
at jdk.jdeps/com.sun.tools.jdeps.Main.main(Main.java:49)
Looks like the iteration/streams - related coding in InverseDepsAnalyzer.java might need some adjustments , to be able to deal with "empty" optionals (v.get() seems to fail) ?
https://github.com/openjdk/jdk/blob/master/src/jdk.jdeps/share/classes/com/sun/tools/jdeps/InverseDepsAnalyzer.java#L150
- backported by
-
JDK-8295880 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
- Resolved
-
JDK-8296220 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
- Resolved
-
JDK-8296221 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
- Resolved
-
JDK-8296308 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
- Resolved
-
JDK-8296495 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
- Resolved
-
JDK-8296597 jdeps InverseDepsAnalyzer runs into NoSuchElementException: No value present
- Resolved
- relates to
-
JDK-8294840 langtools OptionalDependencyTest.java use File.pathSeparator
- Resolved
- links to
-
Commit openjdk/jdk13u-dev/1db35b2e
-
Commit openjdk/jdk15u-dev/0f171ecc
-
Commit openjdk/jdk17u-dev/b6f8f492
-
Commit openjdk/jdk19u/875a2263
-
Commit openjdk/jdk/953ce8da
-
Review openjdk/jdk13u-dev/424
-
Review openjdk/jdk15u-dev/298
-
Review openjdk/jdk17u-dev/806
-
Review openjdk/jdk19u/54
-
Review openjdk/jdk/10300