|Access Rule not working [message #1413915]
||Fri, 29 August 2014 18:51
| Eric Rizzo
Registered: July 2009
I'm working in a project that makes heavy use of java.sql.Date, but we want to eliminate that usage. I thought I could define an Access Rule on the JRE System Library that the project uses, forbidding access to java.sql.Date. But it's not producing any compile errors as I expect.|
My access rule is there: "Forbidden: java.sql.Date" and I see lots of uses of that class in the project's code, but the compiler doesn't flag them as errors (as it should do based on my configuration of Errors/Warnings for the project). I've even cleaned the project, but no change.
Am I missing something about how Access Rules are supposed to work?
[Updated on: Fri, 29 August 2014 18:53]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03107 seconds