From 63331d5da80f66753442fe651f517b3540b517ce Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 28 Jul 2015 00:46:06 +0200 Subject: JAWTWindow: Fix binary compatibility: Add old variants of deprecated method, throwing a RuntimeException --- .../classes/com/jogamp/nativewindow/awt/JAWTWindow.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/nativewindow/classes/com/jogamp') 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 @@ -402,6 +402,20 @@ public abstract class JAWTWindow implements NativeWindow, OffscreenLayerSurface, return updatePixelScale(awtConfig.getAWTGraphicsConfiguration(), clearFlag); } + /** + * @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()}. *

-- cgit v1.2.3