On Wed, 29 Sep 2021 17:46:46 GMT, Aleksey Shipilev <sh...@openjdk.org> wrote:
> Fails like this: > > > $ CONF=linux-x86_64-server-fastdebug make run-test > TEST=java/lang/management/ManagementFactory/MXBeanException.java > TEST_VM_OPTS="-XX:+UseShenandoahGC" > > ... > > java.lang.NullPointerException: Cannot invoke > "java.lang.management.MemoryPoolMXBean.setUsageThreshold(long)" because > "MXBeanException.pool" is null > > > This test tries to find the pool that is `!p.isUsageThresholdSupported()`, > and for Shenandoah there is no such pool. Likewise with ZGC, which is already > filtered. > > Additional testing: > - [x] Affected test is now skipped for Shenandoah > - [x] Affected test is still skipped for Z > - [x] Affected test is still passing for G1 This pull request has now been integrated. Changeset: c0533ef2 Author: Aleksey Shipilev <sh...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/c0533ef2d8e526aaec0eebe862f4bbefc159ea37 Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod 8274522: java/lang/management/ManagementFactory/MXBeanException.java test fails with Shenandoah Reviewed-by: alanb, mchung ------------- PR: https://git.openjdk.java.net/jdk/pull/5757