#5615 [Java] recognize 'null' as a reserved keyword (#5617)

This commit is contained in:
René Pfeuffer
2017-05-14 05:59:13 +02:00
committed by wing328
parent a7d5684679
commit 54febc38e6

View File

@@ -101,7 +101,7 @@ public abstract class AbstractJavaCodegen extends DefaultCodegen implements Code
"import", "public", "throws", "case", "enum", "instanceof", "return", "transient",
"catch", "extends", "int", "short", "try", "char", "final", "interface", "static",
"void", "class", "finally", "long", "strictfp", "volatile", "const", "float",
"native", "super", "while")
"native", "super", "while", "null")
);
languageSpecificPrimitives = new HashSet<String>(