Bisection shows that the attached Fuzzer test starts to fail after JDK-8267687. Note it reproduces even with JDK-8268883 that is both in JDK 17 and already merged to JDK 18 master.
Unpack and run:
$ ../build/linux-x86_64-server-fastdebug/images/jdk/bin/java -Xmx512m -Xcomp -XX:-TieredCompilation -XX:CompileOnly=Test Test
Default case invoked for:
opcode = 114, "Con"
o1 Con === o0 [[]] #top
--N: o1 Con === o0 [[]] #top
# To suppress the following error report, specify this argument
# after -XX: or in .hotspotrc: SuppressErrorAt=/matcher.cpp:1681
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/shade/trunks/jdk/src/hotspot/share/opto/matcher.cpp:1681), pid=999395, tid=999408
# assert(false) failed: bad AD file