EVALUATION
###@###.### 2004-03-01
This looks like a case of javac bug:
4918173 GetLocalVariableTable returns two 'this' variables for ctor
There were two javac bugs here:
1. javac started outputting two 'this's in the LocalVariableTable
for a constructor.
2. javac was changed to not do this, but then it didn't output any
'this's for a constructur.
This caused a JDWP Error 35 when one tried to access 'this' in
a constructor and the .java file was compiled with -g.
Jan, could you try your test again on b40 making sure that:
- you compile the .java file using b40 javac (ie, don't use a .class
file compiled with b39 or older javac)
- compile with -g
Let us know if you still get the JDWP Error 35.
Thanks.
You're right. The class file I used during the test was compiled using b32c. I haven't recompiled it before running it in debugger on b40. After recompiling the problem disappeared. Closing as duplicate of #4918173.
###@###.### 2004-03-02
|