Generated Policy class does not handle generic methods correctly

"Tyler Close" <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
The org.joe_e.taming.Policy class generated by the Joe-E verifier does
not correctly deal with generic methods. For example, it currently
throws an exception when trying to make a reflective call to
org.joe_e.array.ConstArray.array(); even though the provided safej
files mark this method as safe. The problem seems to be that the
Policy file contains an entry for:
"org.joe_e.array.ConstArray.array(T[])", but the runtime lookup is
done with the key: "org.joe_e.array.ConstArray.array(Object[])".

It also seems likely that all the org.joe_e* packages could simply
include the IsJoeE annotation, since their public APIs are safe to
call, normally, or through reflection.

--Tyler
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.