Bugs item #527057, was opened at 2002-03-07 09:42
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438935&aid=527057&group_id=44253
Category: Interactions
Group: Annoying
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Overwriting at instantiation
Initial Comment:
Hello
I am running drjava-20020307-1640.jar
under windows NT4 and with JDK 1.3.1
I have a nice class
class Courbe {
public double getValue(double x){
return 0;
}
}
Then in the interpreter if I want to use overwriting at
instantiation:
Welcome to DrJava.
> Courbe f= new Courbe() { public double
getValue(double x){ return x;} };
java.lang.IllegalAccessError:
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
>
This would be ok in a prg, but it seems the interpreter
does not like it. Is it due to Dynamic Java ???
Best regards,
Fabien GANDON
mailto:Fab...@so...
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=438935&aid=527057&group_id=44253
|