[
https://issues.apache.org/jira/browse/TOMEE-4569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla closed TOMEE-4569.
----------------------------------
Resolution: Fixed
> TomEE Maven Plugin fails in debug mode in Java 22+
> --------------------------------------------------
>
> Key: TOMEE-4569
> URL: https://issues.apache.org/jira/browse/TOMEE-4569
> Project: TomEE
> Issue Type: Bug
> Reporter: Richard Zowalla
> Assignee: Richard Zowalla
> Priority: Major
> Fix For: 11.0.0, 10.1.4
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> If TomEE is run via TomEE Maven Plugin in debug mode, the option "-Xnoagent"
> is added to the JVM arguments.
> On Java 25 the JVM will crash as this option was deprecated in Java 22 and
> subsequently removed in Java 23. We should check the Java version before
> adding it to the startup arguments.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)