On Sat, 1 May 2021 23:00:05 GMT, Joe Darcy <da...@openjdk.org> wrote:
> 8244146: javac changes for JEP 306 src/jdk.compiler/share/classes/com/sun/tools/javac/code/Source.java line 228: > 226: SEALED_CLASSES(JDK17, Fragments.FeatureSealedClasses, > DiagKind.PLURAL), > 227: // todo: will need to supplement/replace with target feature for > writing out classes > 228: REDUNDANT_STRICTFP(JDK17), Is the todo still relevant ?? test/langtools/tools/javac/annotations/typeAnnotations/classfile/NestedLambdasCastedTest.java line 34: > 32: * @build toolbox.ToolBox toolbox.JavapTask > 33: * @run compile -source 16 -g NestedLambdasCastedTest.java > 34: * @run main NestedLambdasCastedTest To massage the existing tests at some places you are passing -source 16 and at others -release 16. Is there some nuance behind it ? ------------- PR: https://git.openjdk.java.net/jdk/pull/3831