[jdk8u-dev] RFR: 8185500: [TESTBUG] Add keywords headful/printer in java/awt and javax tests. [v12]

Sergey Bylokhov serb at openjdk.org
Wed Jun 26 05:30:16 UTC 2024


On Thu, 13 Jun 2024 06:26:20 GMT, yaqsun <duke at openjdk.org> wrote:

>> jdk/test/java/awt/KeyboardFocusmanager/DefaultPolicyChange/DefaultPolicyChange_Swing.java line 29:
>> 
>>> 27:   @summary KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy) affects created components
>>> 28:   @library ../../regtesthelpers
>>> 29:   @build Sysout
>> 
>> Please confirm that we do not need "@build Sysout" here
>
> I confirm that we do not need "@build Sysout", but we need "@library ../../regtesthelpers".

If you run just this test(so no other tests compile this library) it will fail due to compilation error, since Sysout class from the library is used at line 86. The patch from JDK10 did not delete it.

-------------

PR Review Comment: https://git.openjdk.org/jdk8u-dev/pull/464#discussion_r1654057405


More information about the jdk8u-dev mailing list