diff options
author | Sven Gothel <[email protected]> | 2015-07-28 00:46:06 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-07-28 00:46:06 +0200 |
commit | 63331d5da80f66753442fe651f517b3540b517ce (patch) | |
tree | dc0ccfe74a63bb51854df98c062bd78a7c2ea4f6 /src/nativewindow/classes | |
parent | 4eeddd0d446f8491dde2e5b0e3e11e0d5b0be9b7 (diff) |
JAWTWindow: Fix binary compatibility: Add old variants of deprecated method, throwing a RuntimeException
Diffstat (limited to 'src/nativewindow/classes')
-rw-r--r-- | src/nativewindow/classes/com/jogamp/nativewindow/awt/JAWTWindow.java | 14 |
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}, |