8160879: [PIT] CloseOnMouseClickPropertyTest fails with AA hint:Nonantialiased rendering mode exception
Reviewed-by: ssadetsky, azvegint
This commit is contained in:
parent
0d7becfcb7
commit
16aa730d25
@ -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);
|
||||
|
@ -37,7 +37,7 @@ import javax.swing.UIManager;
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 8158566
|
||||
* @bug 8158566 8160879
|
||||
* @summary Provide a Swing property which modifies MenuItemUI behaviour
|
||||
*/
|
||||
public class CloseOnMouseClickPropertyTest {
|
||||
|
Loading…
Reference in New Issue
Block a user