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

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

    XMLWordPrintable

Details

    • b13
    • generic
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: