8325268: Add policy statement to langtools makefiles concerning warnings

Reviewed-by: ihse, jjg, vromero
This commit is contained in:
Joe Darcy 2024-02-07 18:03:38 +00:00
parent 18e24d0619
commit 3a1f4d0f48
3 changed files with 14 additions and 2 deletions

View file

@ -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.*'