5 ms·
>Jigsaw looks to me like a mere organizational feature, something I don't want to spend my time with unless I have to to get things working. It's not for your
by coldtea 10y ago
>Jigsaw looks to me like a mere organizational feature, something I don't want to spend my time with unless I have to to get things working.
It's not for your typical use cases, it's for people running Java in lesser devices.
That said, a REPL and HTTP 2.0 support are big in themselves. And the revised process management API too.
Not every release needs to be a "revolution".
- mkesper 10y agoHTTP/2 is not officially in as the article says, only accessible via incubator.
- Traubenfuchs 10y agoOfficial Java REPL is not big. I know I will never use it and I don't know anyone who will. Those who get excited by live scripting/REPL probably won't be using Java. In any case, there is even a Java REPL solution available already if you really miss it. (java-repl) "Native" HTTP 2.0 support is nice and something that's expected to arrive eventually but also not big. A lot of people currently use alternative HTTP libraries anyways. As a Spring developer I usually use Resttemplate to do HTTP/REST calls and you can feed that with a RequestFactory that produces HTTP2 enabled requests, like OkHttp and Jetty. I don't know about Apache HttpClient. As for the process management API: That's actually quite nice, but the last time I touched processes was when I was writing horrible winforms applications years ago. Yes, certainly, not every release needs to be a revolution, but if you ask "What does it add that I will enjoy to use on a daily basis?" and the answer is "Nothing really, but take a look at ..." it's a bit disappointing. Some Java 10 features look like they could be big. If Java 9 is the Windows Vista of Java, Java 10 hopefully will be the Windows 7. (;
- coldtea 10y ago>Official Java REPL is not big. I know I will never use it and I don't know anyone who will. Those who get excited by live scripting/REPL probably won't be using Java. That's a chicken and egg problem. They wouldn't be using Java because it didn't have one. Now it does.
- needusername 10y ago> A lot of people currently use alternative HTTP libraries anyways. True, but because ALPN is only available in Java 9 the only ways to offer HTTP/2 is either through horrible hacks or using OpenSSL.
- wbl 10y agoI believe Bouncycastle supports it, but am not sure. Java crypto has lagged for years for the residual effects of legal restrictions.
- needusername 10y ago> I believe Bouncycastle supports it, but am not sure. Yeah I know Jetty, Tomcat and Undertow all support it. But they are either terrible hacks or bypass Java crypto entirely. See https://www.youtube.com/watch?v=1I2Uo_HfmGU https://www.youtube.com/watch?v=1I2Uo_HfmGU > Java crypto has lagged for years for the residual effects of legal restrictions. Nope, long keys were (and still are) are disabled per default. It is and always was just a config change. I agree with you that's is lagging a bit (e.g. TLS 1.3 will likely have to wait for Java 10 or later) but legal restrictions are not the cause.
- needusername 10y ago> It's not for your typical use cases, it's for people running Java in lesser devices. Are you sure? Modules add additional runtime and startup overhead. Classloading has always been lazy so if anything your footprint would be bigger. Not to mention the additional runtime checks. Sure you could build a smaller JDK but you'll likely depend on the java.desktop module anyway even for server applications. You may safe a few megabytes on disk because you may not need the cobra and some other small modules but I don't see how this makes a big difference.