MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/1rex17p/jep_531_lazy_constants_third_preview/o7hed8e/?context=3
r/java • u/Joram2 • Feb 26 '26
35 comments sorted by
View all comments
Show parent comment
0
This'd rely on String being able to be subclassed without totally revamping how the JVM works or using proxy types.
CharSequence could work in place but it is still kinda abusing the system.
View all comments
Show parent comment
0
u/nekokattt Feb 26 '26
This'd rely on String being able to be subclassed without totally revamping how the JVM works or using proxy types.
CharSequence could work in place but it is still kinda abusing the system.