"Missing code implementation in the compiler" Error Message [message #60754] |
Mon, 02 May 2005 12:57 |
Eclipse User |
|
|
|
Originally posted by: Abel.donotspam.com
While trying to execute the following java snippet on a Scrapbook page,
I got the "Missing code implementation in the compiler" error. I was
then successful in running it within a main method in a class. Can
anybody tell me if this is a bug, or whether there are some restrictions
with the code that can be executed on a scrapbook, etc ...?
class Base {
public void run() {
}
}
final int wasRun[] = new int[1];
wasRun[0] = 0;
System.out.println(String.valueOf(wasRun[0]));
Base b = new Base() {
public void run() {
wasRun[0] = 1;
}
};
b.run();
System.out.println(String.valueOf(wasRun[0]));
|
|
|
Powered by
FUDForum. Page generated in 0.09298 seconds