<div dir="ltr"><div style="padding:0px 0px 0px 2px"><div style="color:rgb(0,0,0);font-family:Consolas;font-size:10pt;white-space:pre"><p style="margin:0px">Below is a snippet of my code:</p><p style="margin:0px"><br></p><p style="margin:0px">    public byte[] buildClassFile() {</p><p style="margin:0px">                ClassDesc CD_ThisClass = currentClassDesc();</p><p style="margin:0px">            ClassDesc CD_SuperClass = superClassDesc();</p><p style="margin:0px">             ClassHierarchy.addClassToSuperClass(CD_ThisClass, CD_SuperClass);</p><p style="margin:0px">               try {</p><p style="margin:0px">                   byte[] bytes = ClassFile.of(ClassFile.ClassHierarchyResolverOption.of(ClassHierarchy.getResolver())).build(CD_ThisClass,</p><p style="margin:0px"><br></p><p style="margin:0px">                      ...</p><p style="margin:0px">                     </p><p style="margin:0px">                        return(bytes);</p><p style="margin:0px">          } catch(Throwable e) {</p><p style="margin:0px">                  ClassHierarchyResolver resolver = ClassHierarchy.getResolver();</p><p style="margin:0px">                 </p><p style="margin:0px">                        ClassDesc <span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">desc</span> = ClassDesc.of("simulaFEC.CLASS_CHECKER1_semchecker1_<span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">exp</span>");</p><p style="margin:0px">                      System.out.println("classInfo("+<span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">desc</span>+") = " + resolver.getClassInfo(<span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">desc</span>));</p><p style="margin:0px"><br></p><p style="margin:0px">                 e.printStackTrace();</p><p style="margin:0px">                    return null;</p><p style="margin:0px">            }</p><p style="margin:0px">       }</p><p style="margin:0px">       </p><p style="margin:0px">When I run this code I get:</p><p style="margin:0px"><br></p><p style="margin:0px">classInfo(ClassDesc[CLASS_CHECKER1_semchecker1_<span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">exp</span>]) = ClassHierarchyInfoImpl[superClass=ClassDesc[RTS_CLASS], isInterface=false]</p><p style="margin:0px">java.lang.IllegalArgumentException: Could not resolve class CLASS_CHECKER1_semchecker1_<span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">exp</span></p><p style="margin:0px">  at java.base/jdk.internal.classfile.impl.ClassHierarchyImpl.resolve(ClassHierarchyImpl.java:76)</p><p style="margin:0px"> at java.base/jdk.internal.classfile.impl.ClassHierarchyImpl.isInterface(ClassHierarchyImpl.java:86)</p><p style="margin:0px">     at java.base/jdk.internal.classfile.impl.StackMapGenerator$Type.mergeReferenceFrom(StackMapGenerator.java:1334)</p><p style="margin:0px">    .....</p><p style="margin:0px">    </p><p style="margin:0px">    </p><p style="margin:0px">I use my own 'resolver' which answers that 'CLASS_CHECKER1_semchecker1_<span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">exp</span>' is a subclass of 'RTS_CLASS'.</p><p style="margin:0px">I don't understand this.</p><p style="margin:0px"><br></p><p style="margin:0px">- <span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">Øystein</span> <span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">Myhre</span> <span style="text-decoration-line:underline;text-decoration-style:wavy;text-decoration-color:rgb(255,128,64)">Andersen</span></p><p style="margin:0px"></p></div></div></div>