-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The following two files (foo/Foo.java, foo/foo.drl) are sufficient to
reproduce the bug, i.e., a diagnostic
Exception in thread "main" [Error: could not access field: foo.Foo.x]
[Near :
]
package foo; /*** not public ***/ class Foo { private int x = 1; public int getX(){ return x; } } package foo; rule "foo getX" when Foo( x == 1 ) then System.out.println( "some Foo.x == 1" ); end