aboutsummaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/com
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-07-28 00:46:06 +0200
committerSven Gothel <[email protected]>2015-07-28 00:46:06 +0200
commit63331d5da80f66753442fe651f517b3540b517ce (patch)
treedc0ccfe74a63bb51854df98c062bd78a7c2ea4f6 /src/nativewindow/classes/com
parent4eeddd0d446f8491dde2e5b0e3e11e0d5b0be9b7 (diff)
JAWTWindow: Fix binary compatibility: Add old variants of deprecated method, throwing a RuntimeException
Diffstat (limited to 'src/nativewindow/classes/com')
-rw-r--r--src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java
index 294e57bd3..5d84325de 100644
--- a/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java
+++ b/src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java
@@ -403,6 +403,20 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface,
}
/**
+ * @deprecated Use {@link #updateLockedData(JAWT_Rectangle, GraphicsConfiguration)}.
+ */
+ protected final boolean updateLockedData(final JAWT_Rectangle jawtBounds) {
+ throw new RuntimeException("Invalid API entry");
+ }
+ /**
+ * @deprecated Use {@link #lockSurfaceImpl(GraphicsConfiguration)}
+ */
+ protected int lockSurfaceImpl() throws NativeWindowException {
+ throw new RuntimeException("Invalid API entry");
+ }
+
+
+ /**
* Returns and clears the {@code hasPixelScaleChanged} flag, as set via {@link #lockSurface()}.
* <p>
* {@code hasPixelScaleChanged} is {@code true},