Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4653138

(spec) RuntimePermission should document three new targets added for nio

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 1.4.0, 5.0, 11
    • core-libs
    • None
    • generic
    • generic, solaris_7

      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.

            Unassigned Unassigned
            shihliu Sharon Liu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: