subclass and superclass transformation question

Peter Veentjer <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Message-ID <[email protected]>
I have a question about the details of superclass/subclass
transformations using a Java agent.

If there is a class Fruit and a subclass Apple, and if a new Apple is
created before the Fruit class is used in the JVM.
What is the exact order of classes loaded in the Java agent?

My experience is that the Apple class is transformed before the Fruit
class is transformed. Is this correct?

And is there any way to force to load the super class (Fruit) is
transformed before the subclass Apple is transformed?

I have the impression that the Java agent technology is very limited
and that the only way to solve these issues is
to do a static transformation. The big problem is that it makes the
system much harder to work with from an IDE; normally
you only need to register some javaagent and you are done. But adding
a postcompilation step is much harder.
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.