Pregunta

I am writing my own classloader, that is changing stuff in the constantpool of the classes. I know that my error is caused by my changes and not the class loader or the default class.

I need to know where i have to fine the signature of the classfile, and how I can change it so my class is not read as corrupted.

I used this site to read and change my constant pool, but on the site is nothing about a file signature.

I think it might be hidden in the Attribute Table, but im not shure about that and even if I'm able to find it i have no idea how to recreate the signature to get the file working again.

I hope somebody is able to help me.

-Leo

Edit: I found something about the bytecode verifier here, but I still don't realy understand how it works.

No hay solución correcta

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top