From: lhazlewood (s. by Nabble.com) <li...@na...> - 2005-12-30 22:59:18
|
Yes, this is exactly what I was thinking. But, according to the Permission class and subclasses, a single argument String constructor is always assumed to be the name/target parameter, never the actions. So, we should throw an exception if #2 ever occurred (i.e. that would be a configuration error). And yes, because of the JDK limiting null defaults, I would expect the empty string to mean unspecified (and probably convert to null in the code). -- Sent from the Developer forum at Nabble.com: http://www.nabble.com/HasPermission-default-target-and-actions-t826978c13668.html#a2149214 |