aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
index b2889fdcf..58542f07d 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java
@@ -476,7 +476,7 @@ public abstract class NativeWindowFactory {
*/
public static ToolkitLock getDefaultToolkitLock(final String type) {
if( requiresToolkitLock ) {
- if( TYPE_AWT == type && isAWTAvailable() ) {
+ if( TYPE_AWT == type && isAWTAvailable() ) { // uses .intern()!
return getAWTToolkitLock();
}
return ResourceToolkitLock.create();
@@ -494,7 +494,7 @@ public abstract class NativeWindowFactory {
*/
public static ToolkitLock getDefaultToolkitLock(final String type, final long deviceHandle) {
if( requiresToolkitLock ) {
- if( TYPE_AWT == type && isAWTAvailable() ) {
+ if( TYPE_AWT == type && isAWTAvailable() ) { // uses .intern()!
return getAWTToolkitLock();
}
return ResourceToolkitLock.create();