- A Concurrent Affair - https://www.concurrentaffair.org -

Making Methods Not final Doesn’t Work

As expected, removing the final flag from methods doesn’t work, at least not in java.lang.Object. When I do that, the Visual Studio debugger comes up, so it’s probably something the JVM really doesn’t like. I haven’t tested it with other classes. I suspect this might work with classes that aren’t so intricately involved with JVM initialization, so I might be able to use this (easier) way sometimes.

It really seems like I have to do a global instrumentation and change calls to Object methods everywhere.

[1] [2]Share [3]