Hi,

I hacked https://github.com/apache/netbeans/pull/8995 together yesterday
and it seems to work well enough to allow experimenting with project valhalla 
features.

To save time (and my sanity ;)), I retargetted my nb-javac clone to JDK 17 as 
baseline and
build it against the valhalla repo (jep401ea2+0 tag).

My current thinking is that it is unlikely that we can add valhalla editor 
support
to NB before it actually is in the main jdk repo (as preview feature) - since 
this would
involve having to build and maintain a frankenstein javac which we probably 
should avoid.

What we could do however is to prepare NB 29 for the context sensitive value 
keyword (already in 8995).
This would allow to produce your own experimental valhalla compatible NB 29 
build by
uninstalling nb-javac and running on valhalla JDK builds (which appear to be 
synced with JDK 26).

(most of the PR (and nb-javac changes) should also be directly transferable to 
the nb-javac 26 upgrade
which we have to do anyway for NB 29 - assuming we continue to stick to the 
even/odd upgrade pattern)

best regards,
michael

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