Top "Java-9" questions

Use this tag for questions specific to Java 9, which is version 9 of the Java platform, released on the 21st of September 2017.

Unable to derive module descriptor for auto generated module names in Java 9?

My project depends on Netty Epoll transport. Here is dependency: <dependency> <groupId>io.netty</groupId&…

java netty java-9 java-module module-info
How is String concatenation implemented in Java 9?

As written in JEP 280: Indify String Concatenation: Change the static String-concatenation bytecode sequence generated by javac to use invokedynamic calls …

java string string-concatenation java-9 invokedynamic
How to log request/response using java.net.http.HttpClient?

The HttpClient introduced experimentally in Java 9 is now stable in Java 11, but not surprisingly, very few projects seem to actually …

java logging java-9 java-11 java-http-client
creating module-info for automatic modules with jdeps in java 9

I have 3 jar of jackson library jackson-core-2.8.10.jar jackson-annotations-2.8.0.jar jackson-databind-2.8.10.jar I created module-info.java for both core and …

jar java-9 java-module jdeps
Project Jigsaw vs Maven

From Jigsaw Project: Make it easier for developers to construct and maintain libraries and large applications, for both the Java …

maven java-9 java-platform-module-system
XML-api.jar classes having issues with JAVA 11 in EClipse 4.9

org.xml.sax and org.w3c.dom classes are not working with JAVA 11 and Eclipse Photon 4.9 & 4.10 RC2 build …

eclipse java-9 java-11 eclipse-photon
IntelliJ IDEA Ultimate 2018.3 thinks my Java 9 Project is a Kotlin Project

I have an IntelliJ project composing several subprojects which are all Java 9 modules. I use Maven as a build system. …

java maven intellij-idea kotlin java-9
Exporting a package from system module is not allowed with --release

I have the following program: module-info.java module a { } Main.java public class Main { public static void main(String[] args) { …

java javac java-9 java-platform-module-system
SunPKCS11 provider in Java 9

Up to Java 8 the SunPKCS11 provider was loaded like this: Provider provider = new sun.security.pkcs11.SunPKCS11 (new ByteArrayInputStream (configFile.…

java java-9 pkcs#11 sunpkcs11
How to shutdown jshell at the end of the script?

How to instruct jshell to terminate at the end of the script similarly to interpreters of other languages like for …

java java-9 jshell