NPE updating an aspect in incremental mode
closeOutputStream();
}
ret = !handler.hasErrors();
- handler = null;
+ // bug 59895, don't release reference to handler as may be needed by a nested call
+ //handler = null;
}
return ret;
}
<message kind="error" line="2"/>
</compile>
</ajc-test>
+
+ <ajc-test dir="incremental/full-rebuild"
+ pr="59895"
+ title="incremental with aspect-driven full rebuild">
+ <compile
+ staging="true"
+ sourceroots="src"
+ options="-incremental">
+ <message kind="error" line="3" file="Aspect.java"/>
+ </compile>
+ <inc-compile tag="20">
+ <message kind="warning" line="4" file="Main.java"/>
+ </inc-compile>
+ <run class="Main"/>
+ </ajc-test>
<ajc-test dir="bugs"
pr="59397"
<run class="InterfaceInitializerOrder"/>
</ajc-test>
- <ajc-test dir="incremental/full-rebuild"
- pr="59895"
- title="incremental with aspect-driven full rebuild">
- <compile
- staging="true"
- sourceroots="src"
- options="-incremental">
- <message kind="error" line="3" file="Aspect.java"/>
- </compile>
- <inc-compile tag="20">
- <message kind="warning" line="4" file="Main.java"/>
- </inc-compile>
- <run class="Main"/>
- </ajc-test>
-
+
</suite>