New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build error after applying light-jdk8u92-b14.patch #117
Comments
I got the answer. There were other patches too like dmh-field-accessors-java8.patch etc that had to be applied. |
I would recommend you to apply all patches for 8u92 from series as well jvmti-getLoadedClasses-java8.patch since it fixes major bug concerning debugging in IDE. jvmti-getLoadedClasses-java8.patch is used only for 8u122 but could be used for previous versions too. |
So here's what I did:
Everything built successfully. I think this last change somehow slipped from the patch. Update the patch accordingly. And here's what I wanna do:
Any help would be appreciated. @skybber @idubrov Regards |
It is used over JVMTI in the same way in which the standard redefinition api is used. I would recommend you to look at original DCEVM project where you can find out more. |
Sure, I would definitely see that. Actually I couldn't find any source which describes using standard JVMTI redefinition API inside JVM. I mean, I couldn't find the coding details for the sequence of pausing the threads on safepoints, changing metadata of class files, editing system dictionary and executing the edited bytecodes by resuming threads. Or sequence of the JVMTI redefinition API functions to do that. Any enlightenment? |
It is out of topic, you can write me an email or contact me on HotswapAgent's gitter. |
Email it is. Thanks for the help. |
Hi,
I downloaded source for openjdk8u92-b14 from openjdk mercurial repositories and applied the patch light-jdk8u92-b14.patch on it using
patch -p1 <light-jdk8u92-b14.patch
It got patched successfully but build is failing after patching. The first error is due to
java_lang_invoke_DirectMethodHandle_StaticAccessor
field in jvmtiRedefineClasses2.cpp. I couldn't find this class anywhere in the patch and/or source code. Am I doing something wrong? Or patch is faulty? Kindly help me building openjdk with DCEVM.Regards
The text was updated successfully, but these errors were encountered: