public class Patches
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static boolean |
IBM_JDK_DISABLE_COLLECTION_BUG
IBM JVM 1.4.2 crashes if debugger uses ObjectReference.disableCollection() and ObjectReference.enableCollection().
|
static boolean |
JDK_BUG_EVENT_CONTROLLER_LEAK
Enable a workaround for JDK bug with leaking TargetVM.EventController, see IDEA-163334
|
static boolean |
JDK_BUG_ID_21275177
Debugger hangs in trace mode with TRACE_SEND when method argument is a
StringReference |
static boolean |
JDK_BUG_ID_6822627
NPE from com.sun.jdi.ReferenceType#constantPool()
See JDK-6822627
|
static boolean |
JDK_BUG_ID_8032832
Some HTTP connections lock class loaders: https://bugs.openjdk.java.net/browse/JDK-8032832
The issue claims to be fixed in 8u20, but the fix just replaces one lock with another (on a context class loader).
|
static boolean |
JDK_BUG_ID_8042123
Support default methods in JDI.
|
static boolean |
JDK_BUG_ID_8147994
Since 8u102, AWT supports Shift-scroll on all platforms (before, it only worked on macOS).
|
static boolean |
JDK_BUG_WITH_TRACE_SEND
Debugger hangs in trace mode with TRACE_SEND when method argument is a
ThreadReference |
static boolean |
JDK_MAC_FONT_STYLE_BUG
Older JDK versions could mistakenly use derived italics font, when genuine italic font was available in the system.
|
static boolean |
JDK_MAC_FONT_STYLE_DETECTION_WORKAROUND
JDK on Mac detects font style for system fonts based only on their name (PostScript name).
|
static boolean |
REPAINT_MANAGER_LEAK
A huge int[] leak through VolatileImages cached in RepaintManager whenever screen configuration changes.
|
static boolean |
SLOW_GETTING_CLIPBOARD_CONTENTS
See https://bugs.openjdk.java.net/browse/JDK-4818143.
|
static boolean |
SUN_BUG_ID_6322854
See https://bugs.openjdk.java.net/browse/JDK-6322854.
|
static boolean |
SUN_BUG_ID_6486393
Desktop API support on X Window is limited to GNOME (and even there it may work incorrectly).
|
static boolean |
SUN_BUG_ID_8020443
Java 7 incorrectly calculates screen insets on multi-monitor X Window configurations.
|
static boolean |
TEXT_LAYOUT_IS_SLOW
https://bugs.openjdk.java.net/browse/JDK-8220231
|
Constructor and Description |
---|
Patches() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isJdkBugId8004103()
XToolkit.getScreenInsets() may be very slow.
|
public static final boolean SUN_BUG_ID_6322854
public static final boolean IBM_JDK_DISABLE_COLLECTION_BUG
public static final boolean SLOW_GETTING_CLIPBOARD_CONTENTS
Clipboard.getContents(Object)
call may hang
for up to 10 seconds if clipboard owner is not responding.public static final boolean REPAINT_MANAGER_LEAK
http://bugs.openjdk.java.net/browse/JDK-6209673
http://bugs.openjdk.java.net/browse/JDK-8041654
public static final boolean SUN_BUG_ID_6486393
public static final boolean SUN_BUG_ID_8020443
public static final boolean JDK_BUG_ID_8042123
public static final boolean JDK_BUG_EVENT_CONTROLLER_LEAK
public static final boolean JDK_BUG_ID_6822627
public static final boolean JDK_BUG_ID_21275177
StringReference
public static final boolean JDK_BUG_WITH_TRACE_SEND
ThreadReference
public static final boolean JDK_MAC_FONT_STYLE_DETECTION_WORKAROUND
public static final boolean JDK_MAC_FONT_STYLE_BUG
public static final boolean JDK_BUG_ID_8032832
public static final boolean JDK_BUG_ID_8147994
public static final boolean TEXT_LAYOUT_IS_SLOW