diff options
| author | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-18 17:29:21 +0000 |
|---|---|---|
| committer | mark <mark@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-05-18 17:29:21 +0000 |
| commit | 64089cc9f030d8ef7972adb5d117e0b23f47d62b (patch) | |
| tree | 9f9c470de62ee62fba1331a396450d728d2b1fad /libjava/classpath/java/awt/dnd | |
| parent | 96034e28360d660d7a7708807fcbc4b519574d8e (diff) | |
| download | ppe42-gcc-64089cc9f030d8ef7972adb5d117e0b23f47d62b.tar.gz ppe42-gcc-64089cc9f030d8ef7972adb5d117e0b23f47d62b.zip | |
Imported GNU Classpath 0.90
* scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.
* sources.am: Regenerated.
* gcj/javaprims.h: Regenerated.
* Makefile.in: Regenerated.
* gcj/Makefile.in: Regenerated.
* include/Makefile.in: Regenerated.
* testsuite/Makefile.in: Regenerated.
* gnu/java/lang/VMInstrumentationImpl.java: New override.
* gnu/java/net/local/LocalSocketImpl.java: Likewise.
* gnu/classpath/jdwp/VMMethod.java: Likewise.
* gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
interface.
* java/lang/Thread.java: Add UncaughtExceptionHandler.
* java/lang/reflect/Method.java: Implements GenericDeclaration and
isSynthetic(),
* java/lang/reflect/Field.java: Likewise.
* java/lang/reflect/Constructor.java
* java/lang/Class.java: Implements Type, GenericDeclaration,
getSimpleName() and getEnclosing*() methods.
* java/lang/Class.h: Add new public methods.
* java/lang/Math.java: Add signum(), ulp() and log10().
* java/lang/natMath.cc (log10): New function.
* java/security/VMSecureRandom.java: New override.
* java/util/logging/Logger.java: Updated to latest classpath
version.
* java/util/logging/LogManager.java: New override.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@113887 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/java/awt/dnd')
5 files changed, 20 insertions, 6 deletions
diff --git a/libjava/classpath/java/awt/dnd/DragGestureRecognizer.java b/libjava/classpath/java/awt/dnd/DragGestureRecognizer.java index 07b822e7a68..37fde917836 100644 --- a/libjava/classpath/java/awt/dnd/DragGestureRecognizer.java +++ b/libjava/classpath/java/awt/dnd/DragGestureRecognizer.java @@ -38,6 +38,8 @@ exception statement from your version. */ package java.awt.dnd; +import gnu.classpath.NotImplementedException; + import java.awt.Component; import java.awt.Point; import java.awt.event.InputEvent; @@ -126,6 +128,7 @@ public abstract class DragGestureRecognizer implements Serializable } public void resetRecognizer() + throws NotImplementedException { throw new Error("not implemented"); } @@ -152,6 +155,7 @@ public abstract class DragGestureRecognizer implements Serializable } protected void fireDragGestureRecognized(int dragAction, Point p) + throws NotImplementedException { throw new Error("not implemented"); } diff --git a/libjava/classpath/java/awt/dnd/DragSourceContext.java b/libjava/classpath/java/awt/dnd/DragSourceContext.java index 2cf0d6d0bc9..88607b090ea 100644 --- a/libjava/classpath/java/awt/dnd/DragSourceContext.java +++ b/libjava/classpath/java/awt/dnd/DragSourceContext.java @@ -38,6 +38,8 @@ exception statement from your version. */ package java.awt.dnd; +import gnu.classpath.NotImplementedException; + import java.awt.Component; import java.awt.Cursor; import java.awt.Image; @@ -86,6 +88,7 @@ public class DragSourceContext DragGestureEvent trigger, Cursor cursor, Image image, Point offset, Transferable trans, DragSourceListener dsl) + throws NotImplementedException { if (peer == null || trigger == null) @@ -130,6 +133,7 @@ public class DragSourceContext } public void setCursor (Cursor cursor) + throws NotImplementedException { this.cursor = cursor; // FIXME: Check if we need to do more here @@ -162,30 +166,37 @@ public class DragSourceContext } public void transferablesFlavorsChanged() + throws NotImplementedException { } public void dragEnter(DragSourceDragEvent e) + throws NotImplementedException { } public void dragOver(DragSourceDragEvent e) + throws NotImplementedException { } public void dragExit(DragSourceEvent e) + throws NotImplementedException { } public void dropActionChanged(DragSourceDragEvent e) + throws NotImplementedException { } public void dragDropEnd(DragSourceDropEvent e) + throws NotImplementedException { } public void dragMouseMoved(DragSourceDragEvent e) + throws NotImplementedException { } @@ -195,6 +206,7 @@ public class DragSourceContext } protected void updateCurrentCursor(int dropOp, int targetAct, int status) + throws NotImplementedException { } } // class DragSourceContext diff --git a/libjava/classpath/java/awt/dnd/DropTarget.java b/libjava/classpath/java/awt/dnd/DropTarget.java index 9fd7ef896fb..b0d4c2ae7a1 100644 --- a/libjava/classpath/java/awt/dnd/DropTarget.java +++ b/libjava/classpath/java/awt/dnd/DropTarget.java @@ -61,9 +61,7 @@ public class DropTarget */ private static final long serialVersionUID = -6283860791671019047L; - /** @specnote According to the online documentation, this is - * protected, but in reality it is public. */ - public static class DropTargetAutoScroller + protected static class DropTargetAutoScroller implements ActionListener { private Component component; diff --git a/libjava/classpath/java/awt/dnd/DropTargetContext.java b/libjava/classpath/java/awt/dnd/DropTargetContext.java index d1fb66e6f35..19e27a9007f 100644 --- a/libjava/classpath/java/awt/dnd/DropTargetContext.java +++ b/libjava/classpath/java/awt/dnd/DropTargetContext.java @@ -54,9 +54,7 @@ public class DropTargetContext implements Serializable { static final long serialVersionUID = -634158968993743371L; - /** @specnote According to the online documentation, this is - * protected, but in reality it is public. */ - public class TransferableProxy implements Transferable + protected class TransferableProxy implements Transferable { protected boolean isLocal; protected Transferable transferable; diff --git a/libjava/classpath/java/awt/dnd/DropTargetEvent.java b/libjava/classpath/java/awt/dnd/DropTargetEvent.java index 56a4d481a16..f75f756d037 100644 --- a/libjava/classpath/java/awt/dnd/DropTargetEvent.java +++ b/libjava/classpath/java/awt/dnd/DropTargetEvent.java @@ -41,6 +41,8 @@ import java.util.EventObject; public class DropTargetEvent extends EventObject { + private static final long serialVersionUID = 2821229066521922993L; + protected DropTargetContext context; public DropTargetEvent (DropTargetContext context) |

