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: [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

Reply via email to