Closed boris-petrov closed 2 years ago
Do you get similar errors with previous versions of the JDK? I'd like to find out if there was a change in the jdeps tool.
I don't think I'll be able to try with a different JDK, but I can tell you that I upgraded the jdeps
plugin from version 0.4.1
to 0.8.0
and these errors started appearing. On the same JDK. So I would guess that something in the plugin changed rather than in the jdeps
tool.
Well from the top of my head I recall that multi-release JAR support was added recently though I don't think that may be the cause. Also, jdkInternals
is enabled by default. The plugin invokes jdeps as an system process which is why I thought a different JDK might be the cause.
Cannot reproduce with latest. Closing.
@aalmiray - are you sure? I still get those with org.kordamp.gradle.jdeps
0.16.0
and Gradle 7.3.3. Do you need a reproduction?
If you can still reproduce and have access to a reproducer, then yes, thanks.
@aalmiray
build.gradle
:
plugins {
id 'java'
id 'org.kordamp.gradle.jdeps' version '0.16.0'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.xmlgraphics:batik-transcoder:1.14'
}
Run gradle jdepsReport
on this and you'll see the errors. I also get similar errors when one sub-project of mine depends on another, i.e. depends on the JAR. I couldn't reproduce it easily so let's try fixing this one first and then I'll see if the other still happens.
After updating to
0.8.0
I started getting a million of those:This is using Gradle 6.0 RC1 and Java 13. Any ideas?