Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_ as an identifier breaks compilation on Java 9 #14

Open
FauxFaux opened this issue Aug 19, 2017 · 0 comments
Open

_ as an identifier breaks compilation on Java 9 #14

FauxFaux opened this issue Aug 19, 2017 · 0 comments

Comments

@FauxFaux
Copy link

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]                                                                                               ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant