8160977: [PIT] Typo in SwingUtilities2.java

Reviewed-by: ssadetsky, azvegint
This commit is contained in:
Alexander Scherbatiy 2016-07-08 09:27:09 -07:00
parent 3c449e081f
commit d5dacffaee
2 changed files with 2 additions and 2 deletions

View File

@ -1093,7 +1093,7 @@ public class SwingUtilities2 {
FontRenderContext frc = cache.get(key);
if (frc == null) {
aaHint = (aaHint == null) ? VALUE_ANTIALIAS_OFF : aaHint;
aaHint = (aaHint == null) ? VALUE_TEXT_ANTIALIAS_OFF : aaHint;
frc = new FontRenderContext(tx, aaHint,
VALUE_FRACTIONALMETRICS_DEFAULT);
cache.put(key, frc);

View File

@ -37,7 +37,7 @@ import javax.swing.UIManager;
/*
* @test
* @bug 8158566
* @bug 8158566 8160879 8160977
* @summary Provide a Swing property which modifies MenuItemUI behaviour
*/
public class CloseOnMouseClickPropertyTest {