You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@activemq.apache.org by GitBox <gi...@apache.org> on 2021/09/16 09:57:32 UTC

[GitHub] [activemq] gemmellr commented on pull request #712: [AMQ-8385] Update to target-version for JDK 11

gemmellr commented on pull request #712:
URL: https://github.com/apache/activemq/pull/712#issuecomment-920759980


   Using the compiler plugin standard `maven.compiler.source` and `maven.compiler.target` properties would allow simplifying, removing need for additional compiler plugin config that currently references the 'source-version' and 'target-version' properties.
   
   Additionally using `maven.compiler.release` would have it set the javac -release flag and ensure it actually uses the appropriate target signatures for compilation rather than those of whatever JDK it happens to be running on. That may not be possible or need additional work though if the build is accessing stuff the -release flag doesnt permit (it restricts to only using the supported public APIs of the specified version)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: gitbox-unsubscribe@activemq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org