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

java.awt.Robot(GraphicsDevice) constructor does not follow the spec

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 11, 15
    • Fix Version/s: 15
    • Component/s: client-libs
    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      generic
    • OS:
      generic

      Description

      According to the specification:
      * @throws AWTException if the platform configuration does not allow
      * low-level input control. This exception is always thrown when
      * GraphicsEnvironment.isHeadless() returns true.
      public Robot(GraphicsDevice screen) throws AWTException {

      But "AWTException" is not thrown if "GraphicsEnvironment.isHeadless() returns true."

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serb Sergey Bylokhov
              Reporter:
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: