mbien commented on PR #9839:
URL: https://github.com/apache/netbeans/pull/9839#issuecomment-7299032809
confirmed. javap of JDK 25+ only supports bytecode up to its own version,
while JDK 21 is more tolerant. Thanks for pointing this out since I would have
overlooked that.
changed it into two code paths:
- if runtime JDK supports classfile version -> use in-process javap
- if it doesn't -> pick a compatible JDK from the platform manager and use
that javap using an extra process
situation regarding future JDK 25 bump changes slightly too: the first path
could be rewritten and the fallback kept
(updated PR description)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists