[jdk17u-dev] RFR: 8304671: javac regression: Compilation with --release 8 fails on underscore in enum identifiers

Matthias Baesken mbaesken at openjdk.org
Fri Mar 24 13:16:44 UTC 2023


On Fri, 24 Mar 2023 13:09:09 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> backport of 8304671

src/jdk.compiler/share/classes/com/sun/tools/javac/parser/JavacParser.java
copyright needs to be adjusted

test/langtools/tools/javac/parser/JavacParserTest.java
bug info comment does not fit in, needs to be manually adjusted


+                         - compiler.warn.option.obsolete.source: 8
+                         - compiler.warn.option.obsolete.target: 8
+                         - compiler.warn.option.obsolete.suppression


those warnings do not show up when compiling with jdk17 javac so they need to be removed from the Test setup

-------------

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1216#issuecomment-1482776281


More information about the jdk-updates-dev mailing list