This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
FYI: Patch: javax.swing
- From: Michael Koch <konqueror at gmx dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Wed, 25 Jun 2003 06:20:47 +0200
- Subject: FYI: Patch: javax.swing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
Oh man, I should really make sure that on test builds new code get
build ...
Michael
- --
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE++SMiWSOgCCdjSDsRApx0AJ9BEow55KXfSx7ud2oUTx9mCYQwcwCfalmM
CO1X4IsC9UUNLC2OWmE2D0w=
=/XRK
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1989
diff -u -b -B -r1.1989 ChangeLog
--- ChangeLog 24 Jun 2003 20:22:47 -0000 1.1989
+++ ChangeLog 25 Jun 2003 04:13:55 -0000
@@ -1,3 +1,12 @@
+2003-06-25 Michael Koch <konqueror@gmx.de>
+
+ * javax/swing/event/AncestorEvent.java
+ javax/swing/event/HyperlinkEvent.java
+ javax/swing/event/InternalFrameEvent.java
+ javax/swing/event/ListDataEvent.java
+ javax/swing/event/TableModelEvent.java:
+ Compile fixes.
+
2003-06-24 Michael Koch <konqueror@gmx.de>
* java/net/URL.java:
Index: javax/swing/event/AncestorEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/event/AncestorEvent.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 AncestorEvent.java
--- javax/swing/event/AncestorEvent.java 24 Jun 2003 20:17:27 -0000 1.3
+++ javax/swing/event/AncestorEvent.java 25 Jun 2003 04:13:55 -0000
@@ -48,7 +48,7 @@
*/
public class AncestorEvent extends AWTEvent
{
- private static final serialVersionUID = 4799843792513591457L;
+ private static final long serialVersionUID = 4799843792513591457L;
public static int ANCESTOR_ADDED = 0;
public static int ANCESTOR_MOVED = 1;
Index: javax/swing/event/HyperlinkEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/event/HyperlinkEvent.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 HyperlinkEvent.java
--- javax/swing/event/HyperlinkEvent.java 24 Jun 2003 20:17:27 -0000 1.3
+++ javax/swing/event/HyperlinkEvent.java 25 Jun 2003 04:13:55 -0000
@@ -102,7 +102,8 @@
* @param url The URL this link pointing too.
* @param description The description for this link.
*/
- public HyperlinkEvent(Object source, EventType type, URL url, String description)
+ public HyperlinkEvent(Object source, EventType type, URL url,
+ String description)
{
this (source, type, url, description, null);
}
@@ -116,7 +117,8 @@
* @param description The description for this link.
* @param element The element in the document representing the anchor.
*/
- public HyperlinkEvent(Object source, EventType type, URL url, String description)
+ public HyperlinkEvent(Object source, EventType type, URL url,
+ String description, Element element)
{
super(source);
this.type = type;
Index: javax/swing/event/InternalFrameEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/event/InternalFrameEvent.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 InternalFrameEvent.java
--- javax/swing/event/InternalFrameEvent.java 24 Jun 2003 20:17:27 -0000 1.3
+++ javax/swing/event/InternalFrameEvent.java 25 Jun 2003 04:13:55 -0000
@@ -46,7 +46,7 @@
*/
public class InternalFrameEvent extends AWTEvent
{
- private static final serialVersionUID = 9195444901064686684L;
+ private static final long serialVersionUID = 9195444901064686684L;
/**
* Internal frame activated event
@@ -109,6 +109,6 @@
*/
public JInternalFrame getInternalFrame()
{
- return source;
+ return (JInternalFrame) source;
}
}
Index: javax/swing/event/ListDataEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/event/ListDataEvent.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 ListDataEvent.java
--- javax/swing/event/ListDataEvent.java 24 Jun 2003 20:17:27 -0000 1.3
+++ javax/swing/event/ListDataEvent.java 25 Jun 2003 04:13:55 -0000
@@ -46,7 +46,7 @@
*/
public class ListDataEvent extends EventObject
{
- private static final serialVersionUID = -7131487416250401903L;
+ private static final long serialVersionUID = -7131487416250401903L;
public static int CONTENTS_CHANGED = 0;
public static int INTERVAL_ADDED = 1;
Index: javax/swing/event/TableModelEvent.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/javax/swing/event/TableModelEvent.java,v
retrieving revision 1.3
diff -u -b -B -r1.3 TableModelEvent.java
--- javax/swing/event/TableModelEvent.java 24 Jun 2003 20:17:27 -0000 1.3
+++ javax/swing/event/TableModelEvent.java 25 Jun 2003 04:13:55 -0000
@@ -46,7 +46,7 @@
*/
public class TableModelEvent extends EventObject
{
- private static final serialVersionUID = -7037680193569691706L;
+ private static final long serialVersionUID = -7037680193569691706L;
public static int ALL_COLUMNS = -1;
public static int DELETE = -1;