Skip to content

Commit 3aa72ad

Browse files
committedFeb 8, 2024
Merge
2 parents c364b23 + 43089bf commit 3aa72ad

File tree

119 files changed

+399
-79
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+399
-79
lines changed
 

‎make/modules/java.base/Java.gmk

+5-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,11 @@
2323
# questions.
2424
#
2525

26-
DISABLED_WARNINGS_java += this-escape
26+
# The base module should be built with all warnings enabled. When a
27+
# new warning is added to javac, it can be temporarily added to the
28+
# disabled warnings list.
29+
#
30+
# DISABLED_WARNINGS_java +=
2731

2832
DOCLINT += -Xdoclint:all/protected \
2933
'-Xdoclint/package:java.*,javax.*'

‎make/modules/java.compiler/Java.gmk

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
2+
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
33
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
#
55
# This code is free software; you can redistribute it and/or modify it
@@ -23,6 +23,10 @@
2323
# questions.
2424
#
2525

26+
# To the extent technically possible, this module should be built with
27+
# -Werror and all lint warnings enabled. In particular,
28+
# DISABLED_WARNINGS_java should not be augmented.
29+
2630
DOCLINT += -Xdoclint:all/protected \
2731
'-Xdoclint/package:java.*,javax.*'
2832

0 commit comments

Comments
 (0)
Please sign in to comment.