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

SocketHandler(host, port) requires permission ("java.util.logging.LoggingPermission" "control")

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
    • Resolved In Build:
      b01
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Creating new instance of java.util.logging.SocketHandler with arguments host and port requires LoggingPermission "control" while creating an instance of SocketHandler with no-args constructor (host and port are taken from LogManager properties) doesn't require "control" permission. This seems like a bug.

        Attachments

          Activity

            People

            Assignee:
            plevart Peter Levart
            Reporter:
            plevart Peter Levart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: