Skip to content

Commit 0646284

Browse files
archiecobbsVicente Romero
authored andcommitted
8317376: Minor improvements to the 'this' escape analyzer
Reviewed-by: vromero
1 parent 4895a15 commit 0646284

File tree

20 files changed

+744
-363
lines changed

20 files changed

+744
-363
lines changed

make/CompileModuleTools.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ $(eval $(call SetupJavaCompilation, BUILD_JIGSAW_TOOLS, \
5353
build/tools/jigsaw, \
5454
COPY := .properties .html, \
5555
BIN := $(TOOLS_CLASSES_DIR), \
56-
DISABLED_WARNINGS := fallthrough this-escape, \
56+
DISABLED_WARNINGS := fallthrough, \
5757
JAVAC_FLAGS := \
5858
--add-modules jdk.jdeps \
5959
--add-exports java.base/jdk.internal.module=ALL-UNNAMED \

make/modules/java.net.http/Java.gmk

Lines changed: 0 additions & 26 deletions
This file was deleted.

make/modules/java.sql.rowset/Java.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
# questions.
2424
#
2525

26-
DISABLED_WARNINGS_java += this-escape
27-
2826
DOCLINT += -Xdoclint:all/protected \
2927
'-Xdoclint/package:java.*,javax.*'
3028
CLEAN_FILES += $(wildcard \

make/modules/jdk.charsets/Java.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@
2323
# questions.
2424
#
2525

26-
DISABLED_WARNINGS_java += this-escape
27-
2826
COPY += .dat

make/modules/jdk.compiler/Gendata.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_CREATE_SYMBOLS, \
6666
SRC := $(TOPDIR)/make/langtools/src/classes, \
6767
INCLUDES := build/tools/symbolgenerator com/sun/tools/classfile, \
6868
BIN := $(BUILDTOOLS_OUTPUTDIR)/create_symbols_javac, \
69-
DISABLED_WARNINGS := options this-escape, \
69+
DISABLED_WARNINGS := options, \
7070
JAVAC_FLAGS := \
7171
$(COMPILECREATESYMBOLS_ADD_EXPORTS), \
7272
))

make/modules/jdk.crypto.ec/Java.gmk

Lines changed: 0 additions & 26 deletions
This file was deleted.

make/modules/jdk.javadoc/Gendata.gmk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $(eval $(call SetupJavaCompilation, COMPILE_CREATE_SYMBOLS, \
5656
$(TOPDIR)/src/jdk.jdeps/share/classes, \
5757
INCLUDES := build/tools/symbolgenerator com/sun/tools/classfile, \
5858
BIN := $(BUILDTOOLS_OUTPUTDIR)/create_symbols_javadoc, \
59-
DISABLED_WARNINGS := options this-escape, \
59+
DISABLED_WARNINGS := options, \
6060
JAVAC_FLAGS := \
6161
$(INTERIM_LANGTOOLS_ARGS) \
6262
$(COMPILECREATESYMBOLS_ADD_EXPORTS), \

make/modules/jdk.jcmd/Java.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,4 @@
2323
# questions.
2424
#
2525

26-
DISABLED_WARNINGS_java += this-escape
27-
2826
COPY += _options

make/modules/jdk.jconsole/Java.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
# questions.
2424
#
2525

26-
DISABLED_WARNINGS_java += this-escape
27-
2826
COPY += .gif .png
2927

3028
CLEAN_FILES += $(wildcard \

make/modules/jdk.jdeps/Gensrc.gmk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
include GensrcCommon.gmk
2727
include GensrcProperties.gmk
2828

29-
DISABLED_WARNINGS_java += this-escape
30-
3129
$(eval $(call SetupVersionProperties, JAVAP_VERSION, \
3230
com/sun/tools/javap/resources/version.properties))
3331

0 commit comments

Comments
 (0)