Earlier quoted context omitted.
Show me where IStatusChangeEntityCreationManagerFactory is in the language. Or the standard libraries. Or anything like it
https://docs.spring.io/spring-framework/docs/current/javadoc...
JEP 401: Value Objects (Preview) merged to OpenJDK master
171–180 of 185 posts
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#172Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#173Earlier quoted context omitted.
Ok, it's possible that my bilingual ahh is misunderstanding the comment. Maybe we can try to come to an understanding? I read that comment as "Show me where [long classnames] are in the language, standard library or ." Spring is one of the biggest java libraries and quite widely used. I think it fits rather nicely, even if the example itself is fairly old.
Yeah I just think you have a fundamental misunderstanding of what the ecosystem is. Spring is used less than you think.
https://survey.stackoverflow.co/2025/technology#1-web-framew...
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#174Earlier quoted context omitted.
Fortunately, there are plenty of mature alternatives to Spring these days.
What are those alternatives? I haven't touched Java for web development for a very very long time.
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#175Earlier quoted context omitted.
Yeah - it's a bit non-intuitive you can change the value of a number. https://thedailywtf.com/articles/Disgruntled-Bomb-Java-Editi...
Such hacks will slowly stop working (without explicitly allowing it from the command line.) In this example, it would throw an IllegalAccessException, because java.base doesn't open java.lang.
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#176Modern Java friggen rocks. I honestly cannot understand why you would use anything but the OG these days!
scala 3 exists
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#177I keep forgetting the reasoning for this part of the design - why is the value semantics baked in the declaration site and not at the use site? Why does the class author have to declare it as a value type? I know this has been rehashed before many times by Brian but I keep forgetting the reasoning.
Java always had a focus on enabling library authors over empowering call-site users. And I think approach has proven its dividend.
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#178Earlier quoted context omitted.
Valhalla is 99% done by Oracle, yes.
I’m impressed by their uncharacteristic discipline and long term vision. In the big tech I know this would get pushed early.
I strongly suggest watching some of their talks from JVMLS (JVM Language Summit), especially the ones from Brian Goetz and Mark Reinhold.
https://www.youtube.com/playlist?list=PLX8CzqL3ArzUOgZpIX6Gs...
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#179Earlier quoted context omitted.
> Or anything like it
I meant anything like "IStatusChangeEntityCreationManagerFactory"
https://docs.oracle.com/en/java/javase/23/docs/api/java.base...
Or this 6 word beast: https://docs.oracle.com/en/java/javase/21/docs/api/jdk.dynal...
This is probably the most enterprisey sounding, but not the longest class I could find: https://docs.oracle.com/javase/8/docs/api/javax/naming/spi/I...
Re: JEP 401: Value Objects (Preview) merged to OpenJDK master
#180Earlier quoted context omitted.
The JVM goes for performance, too, only with an emphasis on the performance of larger programs. It's designed to address some of the serious performance issues that large C++ programs tend to suffer from (I originally made the switch to Java because it was getting hard to keep the large C++ applications we were working on fast enough; Java does some optimisations that are hard for a C++ compiler).
Well, yes. True that for long-running apps JVM seems to be tuned. I meant the kind of "perf-to-the-instruction" thst native can generate vs other considerations.