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 Thanks! ------------- PR: https://git.openjdk.java.net/jdk/pull/5757