[jdk8u] RFR: 8304143: Exclude duplicated class on linux, aix, and macos
Severin Gehwolf
sgehwolf at openjdk.org
Tue Mar 14 15:24:48 UTC 2023
On Tue, 14 Mar 2023 14:54:41 GMT, Adam Farley <afarley at openjdk.org> wrote:
> This change excludes the duplicated class SystemMetrics, and ensures we use the platform-specific version of the SystemMetrics class instead.
We should only exclude the class on Linux. That's the OS where the `SystemMetrics` class is actually implemented. In order to solve the resulting build break on Mac and AIX, we should revert additions of the `null` returning classes there. Perhaps with #39.
I propose the following course of action to fix it:
1. Only exclude `SystemMetrics.java` on Linux from the `solaris` directory in this PR. Make this PR dependent on #39 (dependent pull request).
2. Revert stub impl additions on Mac OS X and AIX with #39.
@gnu-andrew Thoughts?
-------------
Changes requested by sgehwolf (Reviewer).
PR: https://git.openjdk.org/jdk8u/pull/40
More information about the jdk8u-dev
mailing list