-
Notifications
You must be signed in to change notification settings - Fork 29
_ as an identifier breaks compilation on Java 9 #14
Copy link
Copy link
Open
Description
Please remove the use of _ as an identifier in:
| IntByReference _ = new IntByReference(); |
This breaks compilation on Java 9:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:2.10.4:jar (default-cli) on project akuma: MavenReportException: Error while generating Javadoc:
[ERROR] Exit code: 1 - /build/akuma-1.10/src/main/java/com/sun/akuma/JavaVMArguments.java:380: error: as of release 9, '_' is a keyword, and may not be used as an identifier
[ERROR] IntByReference _ = new IntByReference();
[ERROR] ^
[ERROR] /build/akuma-1.10/src/main/java/com/sun/akuma/JavaVMArguments.java:388: error: as of release 9, '_' is a keyword, and may not be used as an identifier
[ERROR] if(LIBC.sysctl(new int[]{CTL_KERN,KERN_ARGMAX},2, argmaxRef.getPointer(), size, NULL, _)!=0)
[ERROR] ^
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels