Upgrade to ASM 7.3.1 to support JDK 15#549
Conversation
|
Unfortunately, a JDK 14 and 15 preview feature (records) requires ASM 8. I haven't tested instanceof pattern matching. |
|
6.0.0 is using ASM 8.0.1 - https://github.com/johnrengelman/shadow/blob/master/gradle/dependencies.gradle#L8 |
|
@johnrengelman One of my colleagues inspected the stacktrace (https://hastebin.com/egemarucaw.txt) and found ASM7 references in jdependency to be responsible: I can notify them of the issue, then jdependency would need to be updated in ShadowJar as well. |
|
Looks like jdependency 2.4.0 uses ASM 8 |
|
Is it possible this dependency update could be targeted for a minor release in the future? For now, I'll exclude records from my project. |
|
Encountering the same issue with JDK 14 preview features. Records throw a TaskExecutionException. Relocation and minimization do work now, though. Just confirmed instanceof pattern matching does work. |
@johnrengelman Any estimate on when the next version of the Shadow plugin will be released?