RFR: 7526: JMC not buildable with jdk17 [v5]

Christoph Langer clanger at openjdk.java.net
Fri Jan 21 07:49:50 UTC 2022


On Thu, 20 Jan 2022 18:08:08 GMT, Johannes Bechberger <duke at openjdk.java.net> wrote:

>> application/org.openjdk.jmc.browser.attach/pom.xml line 58:
>> 
>>> 56: 						<args>--add-exports</args>
>>> 57: 						<args>jdk.attach/sun.tools.attach=ALL-UNNAMED</args>
>>> 58: 						<args>-version</args><!-- see https://bugs.eclipse.org/bugs/show_bug.cgi?id=544016 -->
>> 
>> This bug is closed, does that means it's again broken.
>
> Seems so, but I did not have the time to look into this further.

This is really weird. I'm struggling with the add-eports setting in my build attempts as well. I'm using JDK11. I also find that there's a difference in behavior between maven versions. E.g. maven 3.8.1 behaves slightly better than 3.8.4. But I have to do this kind of changes in several pom files until I get the build to go through.
What's your maven versions?

-------------

PR: https://git.openjdk.java.net/jmc/pull/363


More information about the jmc-dev mailing list