[jdk8u] RFR: 8304143: Exclude duplicated class on linux, aix, and macos [v2]
Andrew John Hughes
andrew at openjdk.org
Tue Mar 14 15:45:46 UTC 2023
On Tue, 14 Mar 2023 15:39:51 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.
>
> Adam Farley has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>
> 8304143: Fix duplicated class build error on linux, aix, and macos
>
> This change ensures that each of the affected platforms only uses
> one copy of the SystemMetrics class. Either the stub version, or
> a platform-specific version.
>
> Signed-off-by: Adam Farley <adfarley at redhat.com>
Ok, this just changed while I was looking at it :)
I think the current version incorporates #39 now, so we just need this one?
This seems to relate to what I was referring to in [my comment](https://bugs.openjdk.org/browse/JDK-8303828?focusedCommentId=14565610&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14565610) on the bug about 11u. 11u uses `src/unix` for the generic versions and platform-specific overrides. On 8u, `src/solaris` is that generic version unless we opt out.
So I would also remove the unused `unix` copy of the file here, assuming builds aren't broken, and refer to both bug IDs.
-------------
PR: https://git.openjdk.org/jdk8u/pull/40
More information about the jdk8u-dev
mailing list