You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Mark Struberg <st...@yahoo.de> on 2012/12/22 18:26:52 UTC

[weaver] blow up if access level is not correctly set

I changed the privilizer weaver to blow up with an Exception if an access level is set and a @Privileged method which has a wider accesslevel got detected.

Imo this is a clear user error if one defines a public @Privileged method and explicitly only wants them being private.

Imo this is the only way to go as a user usually doesn't see/check what bytecode really got generated for him.

Any objections?


LieGrue,
strub


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org