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

Remove PassFailJFrame constructor with screenshots

XMLWordPrintable

    • b12
    • 22
    • b08

        The PassFailJFrame constructor which accepts `boolean screenCapture` can be removed. It was added in JDK-8294535 where the screenshot feature was added.

        At the same time, JDK-8294535 added Builder class which provides simplified configuration of PassFailJFrame.

        I haven't found any usage of the PassFailJFrame which passes the boolean parameter. Remove this constructor in favour using the Builder.

        Other constructors are used in tests, they can't be removed unless these tests are refactored.

              abaya Anass Baya
              aivanov Alexey Ivanov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: