RFR: 8257887: java/foreign/TestSegments.java test fails on 32-bit after JDK-8257186

Aleksey Shipilev shade at openjdk.java.net
Tue Dec 8 09:00:18 UTC 2020


See here:
 https://github.com/mcimadamore/jdk/runs/1460615378

$ CONF=linux-x86-server-fastdebug make images run-test TEST=java/foreign/TestSegments.java

STDERR:
Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Adding `@requires` in the same form other `java/foreign` tests have it skips the test on 32-bit platforms.

Additional testing: 
 - [x] Affected test on Linux x86_32 (skipped now)
 - [x] Affected test on Linux x86_64 (still passes)

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

Commit messages:
 - 8257887: java/foreign/TestSegments.java test fails on 32-bit after JDK-8257186

Changes: https://git.openjdk.java.net/jdk/pull/1688/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1688&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257887
  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1688.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1688/head:pull/1688

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


More information about the core-libs-dev mailing list