From 8f523f3a1047919d3563daf1ef47ba87336ebe89 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Tue, 15 Nov 2005 23:20:01 +0000 Subject: Imported GNU Classpath 0.19 + gcj-import-20051115. * sources.am: Regenerated. * Makefile.in: Likewise. * scripts/makemake.tcl: Use glob -nocomplain. From-SVN: r107049 --- libjava/classpath/java/rmi/server/RemoteObject.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libjava/classpath/java/rmi/server/RemoteObject.java') diff --git a/libjava/classpath/java/rmi/server/RemoteObject.java b/libjava/classpath/java/rmi/server/RemoteObject.java index 0b3c229..60e57dc 100644 --- a/libjava/classpath/java/rmi/server/RemoteObject.java +++ b/libjava/classpath/java/rmi/server/RemoteObject.java @@ -120,7 +120,9 @@ public boolean equals(Object obj) { in.read (); //some unknown UnicastRef2 field } - cname = RemoteRef.packagePrefix + '.' + cname; + // It would be nice to use RemoteRef.packagePrefix here, but for binary + // compatibility with the JDK that has to contain "sun.rmi.server"... + cname = "gnu.java.rmi.server." + cname; try { Class cls = Class.forName(cname); -- cgit v1.1