--- /dev/null
+public class City {
+
+ public static void main(String[] args) {
+ Keys.CITY.get(); // Keys.City cannot be resolved
+ }
+}
--- /dev/null
+privileged aspect City_Roo_Op4j {
+ public static class City.Keys {
+ public static final Function<Object, City> CITY = null;
+ }
+}
--- /dev/null
+class Function<A,B> { public void get() {}}
assertContains("B.java:4:0::0 Unhandled exception type IOException", getErrorMessages(p).get(0));
}
+ public void testITIT_336158() throws Exception {
+ String p = "pr336158";
+ initialiseProject(p);
+ build(p);
+ checkWasFullBuild();
+ assertNoErrors(p);
+ checkCompileWeaveCount(p, 3, 4);
+ }
+
public void testITIT_336147() throws Exception {
String p = "pr336147";
initialiseProject(p);