Only a strange behaviour, I don't know what happens
inside. Should be checked.
When I start Inject/J with
Console.main({"-verbose", "-p", "myproject.ijp"});
in my program more then once, the debug output
changes. How can that be? main should create a new
instance every time?
----- Output after first run:
Starting Inject/J 0.5 Pre-Alpha (build 2)...
[...]
Exporting Source Files
recoder.java.CompilationUnit@a82a10
----- After third run:
Starting Inject/J 0.5 Pre-Alpha (build 2)...
[...]
Exporting Source Files
Exporting Source Files
Exporting Source Files
recoder.java.CompilationUnit@1f60f2b
recoder.java.CompilationUnit@1f60f2b
recoder.java.CompilationUnit@1f60f2b
Logged In: YES
user_id=430711
Did you use the same VM for the different instances?
Or did you start a new VM for a new instance?
Logged In: YES
user_id=430711
Currently we are using the recoder at the backend. And the
recoder does not support multiple instances. (He works with
many static vars.) The result is that we can support only
one instance, too.
Logged In: YES
user_id=583593
I start a new Inject/J Console with
Console.main({"-verbose", "-p", "myproject.ijp"});
in the same VM. No two inject/J instances run at the same
time. Maybe it would help to reset all static variables to a
default value at the recorder's constuctor (whereever that is)
instead of defining the default values in the code directly (this
seems to be the case, or not?).