Loading Base64 Encoded Classes with Custom ClassLoader #java #shorts #coding #airhacks

preview_player
Показать описание

Java used in this short: openjdk version "21" 2023-09-19 LTS

#airhacks
Рекомендации по теме
Комментарии
Автор

Thats actually cool.... So i can write a class, encode it and write b64 to a database. Then instantiate the class from the implementation stored in the DB. New impl needed? Just update the db!

pauldalyyt
Автор

Why would one encode classes with base 64? 😊

anafro_ru
Автор

One question, shouldn't the class be compiled to byte code be loaded ?

AmrouBouaziz
Автор

can I do it only with a base64 encoded compiled class or is it also possible with a plain text string of the class file (not compiled)?

Muescha