<div dir="ltr"><div>Hi all,</div><div><br></div><div>I am currently working with vmkit (especially on J3) for a student project, </div><div>I want to made some experimentations on J3.</div><div>I see in the file lib/j3/VMCore/JavaClass.h that if I want to add some attributes in the class JavaClass I must change a few thing in LLVMRuntime/* and in JnjvmModule.cpp.</div>
<div><br></div><div>But JnjvmModule.cpp does not exist anymore. So my first question is : what is the equivalent of JnjvmModule.cpp right now ?</div><div><br></div><div>Secondly, I also want to add attributes in class JavaVirtualClass. When I do I immediately got this error :</div>
<div>vmjc: JavaClass.cpp:492: j3::JavaObject *j3::Class::doNew(j3::Jnjvm *): Assertion `this && "No class when allocating."' failed.</div><div><br></div><div>I tried to change offsets in the class (like getDepthIndex(), getOffsetIndex()) but I still have this error. </div>
<div><br></div><div>Do you know what I must change to fix this ? Maybe that I forgot to made the changes in another file like with JavaClass ?</div><div><br></div><div>Thanks,</div><div><br></div><div>Julien</div></div>