Is it possible to use BCEL to malipulate the class file (new, newarray, ..) so >that a new object is created on a particular
address in this scoped memory?
You can substitute each new or newarray in BCEL with e.g., a invokation
of a static method where you implement your scoped memory version of
new.
The main issue is: Do you know the object layout of your target JVM?
The internal structure (handles or not)?
This is not a BCEL property, but it depends on your JVM.
Furthermore you need a low-level (native) function to directly
manupulate the memory (heap).
Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]