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

Christoph Langer clanger at openjdk.java.net
Fri Jan 21 16:52:49 UTC 2022


On Fri, 21 Jan 2022 16:39:33 GMT, Brice Dutheil <duke at openjdk.java.net> wrote:

>> I played around with it further. tycho uses JDT under the covers. And it seems to be an issue between Tycho JDT and JDK17. mvn -X shows nice parameters were passed to JDT but I didn't look into it. I will try to see what happens when switching the tycho compiler to javac. Don't know whether that's possible/a good idea...
>
> I don't think that's possible, tycho overrides many aspects of maven, typicaly for the compiler the tycho _overlay_ will get depdencies from other tycho plugin, not from maven APIs.

Yup, you're right. I figured that out. I guess we have to live with the workaround. We can try once again with tycho 2.6.0 which should be out really soon. But if that doesn't change a thing we can only open an issue with tycho.

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

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


More information about the jmc-dev mailing list