--- a/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java Thu Mar 22 09:41:29 2018 -0400
+++ b/src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java Thu Mar 22 15:28:33 2018 +0100
@@ -313,6 +313,12 @@
*/
public static final long ANONCONSTR_BASED = 1L<<57;
+ /**
+ * Flag that marks finalize block as body-only, should not be copied into catch clauses.
+ * Used to implement try-with-resources.
+ */
+ public static final long BODY_ONLY_FINALIZE = 1L<<17; //blocks only
+
/** Modifier masks.
*/
public static final int