In this video, i'll show you how to generate a class by writing in bytecode during runtime, and how to create an instance of that class
This uses a library called asm-all (version 4.1), which is one of the most popular libraries for this kind of stuff :)
Code for this video: https://pastebin.com/e3CwN85Y
This is a library which i made; a bytecode/ASM replacement for reflection
https://github.com/AngryCarrot789/REg...
(it only works with public methods though, because access security is hard to bypass with ASM)
Music:
Moleman - Rush ( • [Dubstep] Moleman - Rush )
My own song :)
Auf dieser Seite können Sie das Online-Video Java | Create a dynamic class, from bytecode, during runtime! mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Kettlesimulator 10 Februar 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,266 Mal angesehen und es wurde von 13 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!