Use this tag for questions specific to Java 11, which is version 11 of the Java platform, released on 25 September 2018.
Code (spring-web 5.1.2) public static void main(String[] args) { RestTemplate restTemplate = new RestTemplate(); HttpHeaders headers = new HttpHeaders(); headers.set(HttpHeaders.AUTHORIZATION, "…
java javac type-inference java-11 compiler-bugAs far as I can tell, Paths.get and Path.of seem to do exactly the same thing, turning one …
java java-11How to configure OpenJDK 11 in pom file. <properties> <maven.compiler.plugin.version>3.8.0</maven.compiler.plugin.…
java maven java-11 maven-compiler-pluginThe 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-clientI've created a Spring Boot application using version 2.2.0.BUILD-SNAPSHOT with Java 11 (POM below): <?xml version="1.0" encoding="UTF-8"?> <…
java spring-boot jaxb java-11I'm trying to get Maven surefire to run under JDK 11 but I keep getting these errors: If I set reuseForks …
java maven testing maven-surefire-plugin java-11I can make Sonar scanner work with OpenJDK 8 but not with OpenJDK 11. The Maven command used is: mvn clean org.…
sonarqube maven-3 sonarqube-scan sonar-runner java-11I have a problem with deserializing JSON to custom object directly using Java 11 HttpClient::send with custom HttpResponse.BodyHandler. I …
java jackson java-11 java-http-client