The weblogic-maven-plugin 12.1.3.0.0 for JWSC Task Does Not Compile Java Code with Version 1.7
(Doc ID 2085999.1)
Last updated on SEPTEMBER 27, 2023
Applies to:
Oracle WebLogic Server - Version 12.1.3.0.0 to 12.1.3.0.0 [Release 12c]Information in this document applies to any platform.
Symptoms
The weblogic-maven-plugin 12.1.3 for JWSC task does not compile Java code with version 1.7 throwing error:
Java 7 Diamond Operator causes JWSC to fail:
java.util.List<String> list = new java.util.ArrayList<>();
With Java 5 Generics, it works fine :
java.util.List<String> list = new java.util.ArrayList<String>();
The diamond<> was introduced in JAVA 7.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |