8371133: Clarify the purpose of "src/jdk.compiler/share/classes/com/sun/tools/javac/resources/ct.properties"

Reviewed-by: jlahoda
This commit is contained in:
Volkan Yazici 2025-11-05 13:01:51 +00:00
parent 3e3822ad7e
commit f6f87bb675

View File

@ -1,5 +1,5 @@
#
# Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2016, 2025, 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,15 @@
# questions.
#
# This file was originally used to produce the `proprietary` warning when
# accessing non-APIs, and to hide some non-APIs in JDK <= 8. This has been
# superseded by the module system and `--release`. But, when compiling with
# `--source 8`, it is still used for this purpose by
# `com.sun.tools.javac.file.JRTIndex`.
#
# The build generates `jdk.compiler/com/sun/tools/javac/resources/ct.java` from
# this file, which is then used at runtime.
apple.laf.*: hidden
apple.security.*: hidden
com.apple.eawt.*: hidden