-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
None
-
generic
-
generic
Problem description:
====================
Quotation from spec from "String javax.smartcardio.CardPermission.getAction()":
---Cut---
Returns the canonical string representation of the actions.
Specified by:
getActions in class Permission
Returns:
the canonical string representation of the actions.
---Cut---
So, javax.smartcardio.CardPermission is subclass of java.security.Permission class.
Quotation from spec for "String java.security.Permission.getAction()":
---Cut---
Subclasses should always return actions in what they consider to be their canonical form.
---Cut---
Therefore, specification for javax.smartcardio.CardPermission.getActions() should clarify what means under "canonical form" of actions string representation as specification for parent class required but it does not.
For example of such specification you can look spec for java.io.FilePermission.getAction()
====================
Quotation from spec from "String javax.smartcardio.CardPermission.getAction()":
---Cut---
Returns the canonical string representation of the actions.
Specified by:
getActions in class Permission
Returns:
the canonical string representation of the actions.
---Cut---
So, javax.smartcardio.CardPermission is subclass of java.security.Permission class.
Quotation from spec for "String java.security.Permission.getAction()":
---Cut---
Subclasses should always return actions in what they consider to be their canonical form.
---Cut---
Therefore, specification for javax.smartcardio.CardPermission.getActions() should clarify what means under "canonical form" of actions string representation as specification for parent class required but it does not.
For example of such specification you can look spec for java.io.FilePermission.getAction()
- duplicates
-
JDK-6445367 (smartcardio) Changes for JSR 268 Public Review
-
- Resolved
-