The javadoc of RuntimePermission should document the following two new targets
added in J2SE 1.4:
selectorProvider
charsetProvider
These RuntimePermission's are required to be granted to
classes which subclass and implement java.nio.channel.spi.SelectorProvider
or java.nio.charset.spi.CharsetProvider. The permission is checked
during invocation of the abstract base class constructor. These
permissions ensure trust in classes which implement these
security-sensitive provider mechanisms.
Please see java.nio.channels.spi.SelectorProvider() and
java.nio.charset.spi.CharSetProvider() for more information.
added in J2SE 1.4:
selectorProvider
charsetProvider
These RuntimePermission's are required to be granted to
classes which subclass and implement java.nio.channel.spi.SelectorProvider
or java.nio.charset.spi.CharsetProvider. The permission is checked
during invocation of the abstract base class constructor. These
permissions ensure trust in classes which implement these
security-sensitive provider mechanisms.
Please see java.nio.channels.spi.SelectorProvider() and
java.nio.charset.spi.CharSetProvider() for more information.
- duplicates
-
JDK-4963801 (spec) RuntimePermissions checked by nio not listed in java.lang.RuntimePermission
- Closed