Mainline is broken?

Aleksey Shipilev shade at redhat.com
Mon Aug 29 10:27:45 UTC 2022


Hi there,

I am trying to run the RISC-V tests in mainline, and it fails like:

# make test JTREG="TIMEOUT_FACTOR=32" TEST=compiler/unsafe/ TEST_VM_OPTS="-DweakAttempts=10000" | ts -s
00:00:00 Building target 'test' in configuration 'linux-riscv64-server-fastdebug'
00:17:10 Creating interim java.base.jmod
00:17:56 Creating interim jimage
00:19:16 Creating jdk.jlink.jmod
00:19:25 Creating java.base.jmod
00:20:35 Creating jdk image
00:21:15 java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot 
be cast to class jdk.tools.jlink.plugin.ResourcePoolEntry 
(jdk.internal.loader.ClassLoaders$AppClassLoader is in module java.base of loader 'bootstrap'; 
jdk.tools.jlink.plugin.ResourcePoolEntry is in module jdk.jlink of loader 'app')
00:21:15 	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183)
00:21:15 	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:179)
...

I managed to bisect this to:

commit 054c23f484522881a0879176383d970a8de41201
Author: Erik Österlund <eosterlund at openjdk.org>
Date:   Thu Aug 25 09:48:55 2022 +0000

     8290025: Remove the Sweeper

     Reviewed-by: stefank, kvn, iveresov, coleenp, vlivanov, mdoerr


...but I wonder if this is just my board misbehaving, or anyone else is seeing it?

-- 
Thanks,
-Aleksey



More information about the riscv-port-dev mailing list