Integrated: 8332744: [REDO] 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version

Liam Miller-Cushon cushon at openjdk.org
Tue Nov 5 17:08:43 UTC 2024


On Fri, 24 May 2024 15:32:09 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

> This change fixes a bug preventing javac from emitting 'compiler.warn.sun.proprietary' diagnostics if `--system` is set to a non-default value. The diagnostics are currently emitted for values of `--release`, and for the default value of `--system`.
> 
> The is a redo of [JDK-8331081](https://bugs.openjdk.org/browse/JDK-8331081), which was backed out in [JDK-8332740](https://bugs.openjdk.org/browse/JDK-8332740) due to a build failure in the microbenchmarks.

This pull request has now been integrated.

Changeset: 839de82c
Author:    Liam Miller-Cushon <cushon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/839de82c314697d7461b77caa9d85407e3578de3
Stats:     161 lines in 22 files changed: 132 ins; 0 del; 29 mod

8332744: [REDO] 'internal proprietary API' diagnostics if --system is configured to an earlier JDK version

Reviewed-by: vromero

-------------

PR: https://git.openjdk.org/jdk/pull/19397


More information about the compiler-dev mailing list