--- a/jdk/src/java.desktop/share/classes/sun/swing/SwingUtilities2.java Tue Jul 05 12:37:36 2016 +0300
+++ b/jdk/src/java.desktop/share/classes/sun/swing/SwingUtilities2.java Fri Jul 08 09:27:09 2016 -0700
@@ -1093,7 +1093,7 @@
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);
--- a/jdk/test/javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java Tue Jul 05 12:37:36 2016 +0300
+++ b/jdk/test/javax/swing/JMenuItem/8158566/CloseOnMouseClickPropertyTest.java Fri Jul 08 09:27:09 2016 -0700
@@ -37,7 +37,7 @@
/*
* @test
- * @bug 8158566
+ * @bug 8158566 8160879 8160977
* @summary Provide a Swing property which modifies MenuItemUI behaviour
*/
public class CloseOnMouseClickPropertyTest {