RFR: 8273774: CDSPluginTest should only expect classes_nocoops.jsa exists on supported 64-bit platforms [v5]

Remilia Scarlet github.com+22913521+1996scarlet at openjdk.java.net
Fri Sep 17 02:17:09 UTC 2021


> The test assumes that it always runs on 64-bit platform and classes_nocoops.jsa is always created.
> It's a test bug. The test should only expect classes_nocoops.jsa exists if it's running on a supported 64-bit platform.
> However, for unknown target platform, it's unknown if it's 64-bit or not.
> 
> This patch fix the test to check if classes_nocoops.jsa exists only on one of the JDK supported platforms (x64 or aarch64) via the sun.arch.data.model system property.
> 
> Please review this change. Thanks!

Remilia Scarlet 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:

  8273774: CDSPluginTest should only expect classes_nocoops.jsa exists on supported 64-bit platforms

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5519/files
  - new: https://git.openjdk.java.net/jdk/pull/5519/files/587aeecf..503406b5

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5519&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5519&range=03-04

  Stats: 2 lines in 1 file changed: 2 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5519.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5519/head:pull/5519

PR: https://git.openjdk.java.net/jdk/pull/5519


More information about the core-libs-dev mailing list