You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "mbien (via GitHub)" <gi...@apache.org> on 2025/12/17 02:34:27 UTC
Re: [I] value keyword for Value Classes [netbeans]
mbien commented on issue #8994:
URL: https://github.com/apache/netbeans/issues/8994#issuecomment-3663367910
https://github.com/apache/netbeans/pull/9079 implements the `value` keyword in the semantic layer
We can leave this issue open for informational purposes, but as previously mentioned for it to work the language feature (JEP 401 in this case) would have to make it into the main JDK repo first which the embedded javac is based on.
But to experiment with value objects you can prepare your own NetBeans dev build:
- [download a nightly build](https://github.com/apache/netbeans?tab=readme-ov-file#download) of NetBeans
- use a [Valhalla JDK 26 build](https://jdk.java.net/valhalla/) to run NetBeans (`--jdkhome <path>`)
- uninstall nb-javac (tools -> plugins -> installed) and restart
(don't forget to enable preview in your project)
NB will now use the valhalla javac of it's runtime JDK. This should work as long the javac version remains compatible with the NB version. (this assumes that the valhalla javac doesn't diverge too far from the mainline javac)
--
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: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists