Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
6246: Making the agent stop using Unsafe #35
This patch addresses JMC-6246.
The usage of
Please note that
JMC-6246: Making the agent stop using Unsafe
In the case of reflective access, it's called directly on the system class loader. For
In both cases, events are defined with the system class loader, just like
I was under the impression that the class loader and protection domain arguments given to define class would define the class with that class loader and protection domain, allowing the event class to be unloaded when the class where it is being used is unloaded. If this is not done, we’re basically introducing a class leak.