Community
Participate
Working Groups
create a directory called "aroundTest.java" Go to this directory and create the two files listed below. The crash is reproducable with this code in my case - consider it as dummy code. The bug might also be reproducible with different code: /*# Test.java: ############################*/ public class Test{ public Test(){ val = 0; } public int getValue(){ return val; } public void setValue(int v){ val = v; } private int val; } /*# Prog.java */ public class Prog{ public static void main(String[] args){ System.out.println("running"); Test t = new Test(); t.setValue(42); System.out.println("exiting"); } } Now compile the code with ajc: # ajc *.java In my case I always get a NullPointerException A workaround is to rename the current working directory to a name which does not have the suffix ".java". greets Boris
crashes with 1.5.3, but works now with 1.6.1 - thanks for the clear description.