Closed OpticFusion1 closed 2 years ago
"Class Dumping" is dumping all Classes with their respective bytecode into seperate files, correct?
If that's the case, one could scan for all Classes in the current Classpath with Classgraph and then just read the underlying file via .getClass().getResourceAsStream(ClassName + ".class")
That would be correct, current implementation can be seen with the following
java -jar MCAntiMalware.jar --serverJar
@OpticFusion1 What is not working with using Instrumentation to add a ClassFileTransformer for class dumping in Java 9+?
Don't remember actually, I'd have to re-look into this issue again
ok
Is your feature request related to a problem? Please describe. Due to how Java 9+ works you're unable to dump classes using our current method, a new one needs to be implemented for anything above Java 8
Describe the solution you'd like N/A
Describe alternatives you've considered N/A
Additional context N/A