mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8325268: Add policy statement to langtools makefiles concerning warnings
Reviewed-by: ihse, jjg, vromero
This commit is contained in:
parent
18e24d0619
commit
3a1f4d0f48
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -23,6 +23,10 @@
|
||||
# questions.
|
||||
#
|
||||
|
||||
# To the extent technically possible, this module should be built with
|
||||
# -Werror and all lint warnings enabled. In particular,
|
||||
# DISABLED_WARNINGS_java should not be augmented.
|
||||
|
||||
DOCLINT += -Xdoclint:all/protected \
|
||||
'-Xdoclint/package:java.*,javax.*'
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
# Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
#
|
||||
# This code is free software; you can redistribute it and/or modify it
|
||||
@ -23,6 +23,10 @@
|
||||
# questions.
|
||||
#
|
||||
|
||||
# To the extent technically possible, this module should be built with
|
||||
# -Werror and all lint warnings enabled. In particular,
|
||||
# DISABLED_WARNINGS_java should not be augmented.
|
||||
|
||||
DOCLINT += -Xdoclint:all/protected \
|
||||
'-Xdoclint/package:-com.sun.tools.*,-jdk.internal.*,sun.tools.serialver.resources.*'
|
||||
JAVAC_FLAGS += -XDstringConcat=inline
|
||||
|
||||
@ -23,4 +23,8 @@
|
||||
# questions.
|
||||
#
|
||||
|
||||
# To the extent technically possible, this module should be built with
|
||||
# -Werror and all lint warnings enabled. In particular,
|
||||
# DISABLED_WARNINGS_java should not be augmented.
|
||||
|
||||
COPY += .xml .css .svg .js .js.template .png .txt
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user