Skip to main content

Annotations not supported

1 reply [Last post]
danielfjb
Offline
Joined: 2011-05-27
Points: 0

Hi, I have a .jar library and I need to use some of its classes. But those classes are annotated with some not suported annotations for JavaME. And the jar containing those annotations is very big. How can I remove from the compiled classes those annotations? or maybe hoy can I tell the VM or the classloader to ignore the annotations?
Thanks in advance
Daniel Jimenez

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mohsenof
Offline
Joined: 2011-09-26
Points: 0

If you want to put contents of your old jar file into a new one - which is the result of your J2ME project - I guess obfuscators will help you.

Obfuscators - among other things - remove unused classes and don't put them in resulting jar file.

I guess this can help you