This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: FYI: classpath comparison


There's been more Classpath/libgcj merging, so I'm updating the
comparison page.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* libgcj-classpath-compare.html: Rebuilt.

Index: libgcj-classpath-compare.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/libgcj-classpath-compare.html,v
retrieving revision 1.6
diff -u -r1.6 libgcj-classpath-compare.html
--- libgcj-classpath-compare.html 2001/09/30 18:11:20 1.6
+++ libgcj-classpath-compare.html 2001/10/01 20:36:53
@@ -9,7 +9,7 @@
 cvs Classpath.  It was generated using the <a
 href="scripts/gen-classpath-compare"><code>gen-classpath-compare</code></a>
 script on
-2001-09-30.
+2001-10-01.
 This table intentionally omits certain classes which are not of
 interest.  If the third column shows a "Diff" link, then that means
 the script believes that the class has been merged, but a difference
@@ -25,11 +25,6 @@
 <tr> <td>java.io.FileDescriptor</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.FileInputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.FileOutputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.io.FileWriter</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.io.FilterInputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.io.FilterOutputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.io.FilterReader</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.io.FilterWriter</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.InputStreamReader</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.LineNumberInputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.LineNumberReader</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
@@ -41,12 +36,10 @@
 <tr> <td>java.io.RandomAccessFile</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.SequenceInputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.io.StringBufferInputStream</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.io.Writer</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.CharSequence</td> <td bgcolor="#eeeeaa">No</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.Character</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.Class</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.ClassLoader</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.lang.Compiler</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.Double</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.EcosProcess</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.Float</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
@@ -55,7 +48,6 @@
 <tr> <td>java.lang.Object</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.Package</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#aaaaee"><a href="compare/java.lang.Package.diff">Diff</a></td> </tr>
 <tr> <td>java.lang.PosixProcess</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.lang.Process</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.Runtime</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.String</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.StringBuffer</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#aaaaee"><a href="compare/java.lang.StringBuffer.diff">Diff</a></td> </tr>
@@ -64,7 +56,6 @@
 <tr> <td>java.lang.Throwable</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.VMClassLoader</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.VMSecurityManager</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.lang.Void</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.reflect.AccessibleObject</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.reflect.Array</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.lang.reflect.Constructor</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> <td bgcolor="#eeeeaa">No</td> </tr>
@@ -73,15 +64,13 @@
 <tr> <td>java.lang.reflect.Modifier</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.math.BigInteger</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.Authenticator</td> <td bgcolor="#eeeeaa">No</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.net.ContentHandler</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.net.DatagramPacket</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.DatagramSocket</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.DatagramSocketImpl</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.HttpURLConnection</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.InetAddress</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.JarURLConnection</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.MimeTypeMapper</td> <td bgcolor="#eeeeaa">No</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
-<tr> <td>java.net.MulticastSocket</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
+<tr> <td>java.net.MulticastSocket</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#aaaaee"><a href="compare/java.net.MulticastSocket.diff">Diff</a></td> </tr>
 <tr> <td>java.net.PasswordAuthentication</td> <td bgcolor="#eeeeaa">No</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.PlainDatagramSocketImpl</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
 <tr> <td>java.net.PlainSocketImpl</td> <td>Yes</td> <td>Yes</td> <td bgcolor="#eeeeaa">No</td> </tr>
Index: compare/java.lang.Package.diff
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/compare/java.lang.Package.diff,v
retrieving revision 1.1
diff -u -r1.1 java.lang.Package.diff
--- compare/java.lang.Package.diff 2001/09/14 00:18:56 1.1
+++ compare/java.lang.Package.diff 2001/10/01 20:36:53
@@ -1,387 +1,21 @@
---- /home/tromey/gnu/egcs/classpath/classpath/java/lang/Package.java	Fri Feb  9 00:36:25 2001
+--- /home/tromey/gnu/egcs/classpath/classpath/java/lang/Package.java	Mon Oct  1 14:44:13 2001
 +++ java/lang/Package.java	Wed Apr 25 09:45:12 2001
-@@ -7,7 +7,7 @@
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2, or (at your option)
- any later version.
-- 
-+
- GNU Classpath is distributed in the hope that it will be useful, but
- WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-@@ -55,223 +55,233 @@
-  * @since 1.2
-  * @author Mark Wielaard (mark@klomp.org)
-  */
--public class Package {
--
--    // Variables
--
--    /** The name of the Package */
--    final private String name;
--
--    /** The name if the implementation */
--    final private String implTitle;
--    /** The vendor that wrote this implementation */
--    final private String implVendor;
--    /** The version of this implementation */
--    final private String implVersion;
--
--    /** The name of the specification */
--    final private String specTitle;
--    /** The name of the specification designer */
--    final private String specVendor;
--    /** The version of this specification */
--    final private String specVersion;
--
--    /** If sealed the origin of the package classes, otherwise null*/
--    final private URL sealed;
--
--    // Constructors
--
--    /** 
--     * A package local constructor for the Package class.
--     * All parameters except the <code>name</code> of the package may be
--     * <code>null</code>.
--     * There are no public constructors defined for Package this is a package
--     * local constructor that is used by java.lang.Classloader.definePackage().
--     * 
--     * @param name The name of the Package
--     * @param specTitle The name of the specification
--     * @param specVendor The name of the specification designer
--     * @param specVersion The version of this specification
--     * @param implTitle The name of the implementation
--     * @param implVendor The vendor that wrote this implementation
--     * @param implVersion The version of this implementation
--     * @param sealed If sealed the origin of the package classes
--     */
--    Package(String name,
--            String specTitle, String specVendor, String specVersion,
--            String implTitle, String implVendor, String implVersion,
--            URL sealed) {
--
--	if (name == null)
--	    throw new IllegalArgumentException("null Package name");
--
--        this.name = name;
--
--        this.implTitle = implTitle;
--        this.implVendor = implVendor;
--        this.implVersion = implVersion;
--
--        this.specTitle = specTitle;
--        this.specVendor = specVendor;
--        this.specVersion = specVersion;
--
--        this.sealed = sealed;
--    }
--
--    // Methods
--
--    /** 
--     * Returns the Package name.
--     */
--    public String getName() {
--        return name;
--    }
--
--    /** 
--     * Returns the name of the implementation or null if unknown.
--     */
--    public String getImplementationTitle() {
--        return implTitle;
--    }
--
--    /** 
--     * Returns the vendor that wrote this implementation or null if unknown.
--     */
--    public String getImplementationVendor() {
--        return implVendor;
--    }
--
--    /** 
--     * Returns the version of this implementation or null if unknown.
--     */
--    public String getImplementationVersion() {
--        return implVersion;
--    }
--
--    /** 
--     * Returns the name of the specification or null if unknown.
--     */
--    public String getSpecificationTitle() {
--        return specTitle;
--    }
--
--    /** 
--     * Returns the name of the specification designer or null if unknown.
--     */
--    public String getSpecificationVendor() {
--        return specVendor;
--    }
--
--    /** 
--     * Returns the version of the specification or null if unknown.
--     */
--    public String getSpecificationVersion() {
--        return specVersion;
--    }
--
--    /** 
--     * Returns true if this Package is sealed.
--     */
--    public boolean isSealed() {
--        return (sealed != null);
--    }
--
--    /** 
--     * Returns true if this Package is sealed and the origin of the classes is
--     * the given URL.
--     * 
--     * @param url 
--     */
--    public boolean isSealed(URL url) {
--        return url.equals(sealed);
--    }
--
--    /**
--     * Checks if the version of the specification is higher or at least as high
--     * as the desired version.
--     * @param version the (minimal) desired version of the specification
--     * @exception NumberFormatException when either version or the
--     * specification version is not a correctly formatted version number
--     * @exception NullPointerException if the supplied version or the
--     * Package specification version is null.
--     */
--    public boolean isCompatibleWith(String version) throws
--                                                    NumberFormatException {
--        StringTokenizer versionTokens = new StringTokenizer(version, ".");
--        StringTokenizer specTokens = new StringTokenizer(specVersion, ".");
--        try {
--            while (versionTokens.hasMoreElements()) {
--                int vers = Integer.parseInt(versionTokens.nextToken());
--                int spec = Integer.parseInt(specTokens.nextToken());
--                if (spec < vers) {
--                    return false;
--                } else if (spec > vers) {
--                    return true;
--                }
--                // They must be equal, next Token please!
--            }
--        } catch (NoSuchElementException e) {
--            // this must have been thrown by spec.netToken() so return false
--            return false;
--        }
--
--        // They must have been exactly the same version.
--        // Or the specVersion has more subversions. That is also good.
--        return true;
--    }
--
--    /**
--     * Returns the named package if it is known by the callers class loader.
--     * It may return null if the package is unknown, when there is no
--     * information on that particular package available or when the callers
--     * classloader is null.
--     * @param name the name of the desired package
--     */
--    public static Package getPackage(String name) {
--        // get the callers classloader
--        Class c = VMSecurityManager.getClassContext()[1];
--        ClassLoader cl = c.getClassLoader();
--        
--        if (cl != null)
--            return cl.getPackage(name);
--        else
--            return null;
--    }
--
--    /**
--     * Returns all the packages that are known to the callers class loader.
--     * It may return an empty array if the classloader of the caller is null.
--     */
--    public static Package[] getPackages() {
--        // get the callers classloader
--        Class c = VMSecurityManager.getClassContext()[1];
--        ClassLoader cl = c.getClassLoader();
--        
--        if (cl != null)
--            return cl.getPackages();
--        else
--            return new Package[0];
--    }
--
--    /** 
--     * Returns the hashCode of the name of this package.
--     */
--    public int hashCode() {
--        return name.hashCode();
--    }
--
--    /** 
--     * Returns a string representation of this package name, specification,
--     * implementation and class origin if sealed.
--     */
--    public String toString() {
--        return "package: " + name +
--               " spec: " + specTitle +
--               " version: " + specVersion +
--               " vendor: " + specVendor +
--               " implementation: " + implTitle +
--               " version: " + implVersion +
--               " vendor: " + implVendor +
--               " sealed: " + sealed;
--    }
-+public class Package
-+{
-+  /** The name of the Package */
-+  final private String name;
-+
-+  /** The name if the implementation */
-+  final private String implTitle;
-+  /** The vendor that wrote this implementation */
-+  final private String implVendor;
-+  /** The version of this implementation */
-+  final private String implVersion;
-+
-+  /** The name of the specification */
-+  final private String specTitle;
-+  /** The name of the specification designer */
-+  final private String specVendor;
-+  /** The version of this specification */
-+  final private String specVersion;
-+
-+  /** If sealed the origin of the package classes, otherwise null */
-+  final private URL sealed;
-+
-+  /** 
-+   * A package local constructor for the Package class.
-+   * All parameters except the <code>name</code> of the package may be
-+   * <code>null</code>.
-+   * There are no public constructors defined for Package this is a package
-+   * local constructor that is used by java.lang.Classloader.definePackage().
-+   * 
-+   * @param name The name of the Package
-+   * @param specTitle The name of the specification
-+   * @param specVendor The name of the specification designer
-+   * @param specVersion The version of this specification
-+   * @param implTitle The name of the implementation
-+   * @param implVendor The vendor that wrote this implementation
-+   * @param implVersion The version of this implementation
-+   * @param sealed If sealed the origin of the package classes
-+   */
-+  Package(String name,
-+	  String specTitle, String specVendor, String specVersion,
-+	  String implTitle, String implVendor, String implVersion, URL sealed)
-+  {
-+    if (name == null)
-+      throw new IllegalArgumentException("null Package name");
-+
-+    this.name = name;
-+
-+    this.implTitle = implTitle;
-+    this.implVendor = implVendor;
-+    this.implVersion = implVersion;
-+
-+    this.specTitle = specTitle;
-+    this.specVendor = specVendor;
-+    this.specVersion = specVersion;
-+
-+    this.sealed = sealed;
-+  }
-+
-+  /** 
-+   * Returns the Package name.
-+   */
-+  public String getName()
-+  {
-+    return name;
-+  }
-+
-+  /** 
-+   * Returns the name of the implementation or null if unknown.
-+   */
-+  public String getImplementationTitle()
-+  {
-+    return implTitle;
-+  }
-+
-+  /** 
-+   * Returns the vendor that wrote this implementation or null if unknown.
-+   */
-+  public String getImplementationVendor()
-+  {
-+    return implVendor;
-+  }
-+
-+  /** 
-+   * Returns the version of this implementation or null if unknown.
-+   */
-+  public String getImplementationVersion()
-+  {
-+    return implVersion;
-+  }
-+
-+  /** 
-+   * Returns the name of the specification or null if unknown.
-+   */
-+  public String getSpecificationTitle()
-+  {
-+    return specTitle;
-+  }
-+
-+  /** 
-+   * Returns the name of the specification designer or null if unknown.
-+   */
-+  public String getSpecificationVendor()
-+  {
-+    return specVendor;
-+  }
-+
-+  /** 
-+   * Returns the version of the specification or null if unknown.
-+   */
-+  public String getSpecificationVersion()
-+  {
-+    return specVersion;
-+  }
-+
-+  /** 
-+   * Returns true if this Package is sealed.
-+   */
-+  public boolean isSealed()
-+  {
-+    return (sealed != null);
-+  }
-+
-+  /** 
-+   * Returns true if this Package is sealed and the origin of the classes is
-+   * the given URL.
-+   * 
-+   * @param url 
-+   */
-+  public boolean isSealed(URL url)
-+  {
-+    return url.equals(sealed);
-+  }
-+
-+  /**
-+   * Checks if the version of the specification is higher or at least as high
-+   * as the desired version.
-+   * @param version the (minimal) desired version of the specification
-+   * @exception NumberFormatException when either version or the
-+   * specification version is not a correctly formatted version number
-+   * @exception NullPointerException if the supplied version or the
-+   * Package specification version is null.
-+   */
-+  public boolean isCompatibleWith(String version) throws NumberFormatException
-+  {
-+    StringTokenizer versionTokens = new StringTokenizer(version, ".");
-+    StringTokenizer specTokens = new StringTokenizer(specVersion, ".");
-+    try
+@@ -202,22 +202,23 @@
+     StringTokenizer versionTokens = new StringTokenizer(version, ".");
+     StringTokenizer specTokens = new StringTokenizer(specVersion, ".");
+     try
 +      {
 +	while (versionTokens.hasMoreElements())
-+	  {
+ 	  {
+-        while (versionTokens.hasMoreElements()) {
+-        int vers = Integer.parseInt(versionTokens.nextToken());
+-        int spec = Integer.parseInt(specTokens.nextToken());
+-        if (spec < vers) {
+-          return false;
+-        } else if (spec > vers) {
+-          return true;
+-        }
+-        // They must be equal, next Token please!
 +	    int vers = Integer.parseInt(versionTokens.nextToken());
 +	    int spec = Integer.parseInt(specTokens.nextToken());
 +	    if (spec < vers)
@@ -395,70 +29,42 @@
 +      {
 +	// this must have been thrown by spec.netToken() so return false
 +	return false;
-+      }
-+
-+    // They must have been exactly the same version.
-+    // Or the specVersion has more subversions. That is also good.
-+    return true;
-+  }
-+
-+  /**
-+   * Returns the named package if it is known by the callers class loader.
-+   * It may return null if the package is unknown, when there is no
-+   * information on that particular package available or when the callers
-+   * classloader is null.
-+   * @param name the name of the desired package
-+   */
-+  public static Package getPackage(String name)
-+  {
+       }
+- }
+-    catch (NoSuchElementException e) {
+-      // this must have been thrown by spec.netToken() so return false
+-      return false;
+-    }
+ 
+     // They must have been exactly the same version.
+     // Or the specVersion has more subversions. That is also good.
+@@ -233,10 +234,11 @@
+    */
+   public static Package getPackage(String name)
+   {
+-    // get the callers classloader
+-    Class c = VMSecurityManager.getClassContext()[1];
 +    // Get the caller's classloader
 +    SecurityManager sm = System.getSecurityManager();
 +    Class c = sm.getClassContext()[1];
-+    ClassLoader cl = c.getClassLoader();
-+
-+    if (cl != null)
-+      return cl.getPackage(name);
-+    else
-+      return null;
-+  }
+     ClassLoader cl = c.getClassLoader();
+-    
 +
-+  /**
-+   * Returns all the packages that are known to the callers class loader.
-+   * It may return an empty array if the classloader of the caller is null.
-+   */
-+  public static Package[] getPackages()
-+  {
+     if (cl != null)
+       return cl.getPackage(name);
+     else
+@@ -249,10 +251,11 @@
+    */
+   public static Package[] getPackages()
+   {
+-    // get the callers classloader
+-    Class c = VMSecurityManager.getClassContext()[1];
 +    // Get the caller's classloader
 +    SecurityManager sm = System.getSecurityManager();
 +    Class c = sm.getClassContext()[1];
-+    ClassLoader cl = c.getClassLoader();
-+
-+    if (cl != null)
-+      return cl.getPackages();
-+    else
-+      return new Package[0];
-+  }
-+
-+  /** 
-+   * Returns the hashCode of the name of this package.
-+   */
-+  public int hashCode()
-+  {
-+    return name.hashCode();
-+  }
+     ClassLoader cl = c.getClassLoader();
+-      
 +
-+  /** 
-+   * Returns a string representation of this package name, specification,
-+   * implementation and class origin if sealed.
-+   */
-+  public String toString()
-+  {
-+    return "package: " + name +
-+	   " spec: " + specTitle +
-+	   " version: " + specVersion +
-+	   " vendor: " + specVendor +
-+	   " implementation: " + implTitle +
-+	   " version: " + implVersion +
-+	   " vendor: " + implVendor + " sealed: " + sealed;
-+  }
- }
+     if (cl != null)
+       return cl.getPackages();
+     else
Index: compare/java.lang.StringBuffer.diff
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/java/compare/java.lang.StringBuffer.diff,v
retrieving revision 1.1
diff -u -r1.1 java.lang.StringBuffer.diff
--- compare/java.lang.StringBuffer.diff 2001/09/14 00:18:56 1.1
+++ compare/java.lang.StringBuffer.diff 2001/10/01 20:36:53
@@ -1,6 +1,6 @@
---- /home/tromey/gnu/egcs/classpath/classpath/java/lang/StringBuffer.java	Thu Jul 12 21:28:06 2001
+--- /home/tromey/gnu/egcs/classpath/classpath/java/lang/StringBuffer.java	Mon Oct  1 14:44:13 2001
 +++ java/lang/StringBuffer.java	Wed May 23 18:34:04 2001
-@@ -1,28 +1,12 @@
+@@ -1,32 +1,21 @@
 -/* StringBuffer.java -- Growable strings
 -   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
 +// StringBuffer.java - Growable strings.
@@ -36,7 +36,16 @@
  
  package java.lang;
  import java.io.Serializable;
-@@ -73,7 +57,7 @@
+ 
++/**
++ * @author Tom Tromey <tromey@cygnus.com>
++ * @date October 23, 1998.  
++ */
++
+ /* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3
+  * Updated using online JDK 1.2 docs.
+  * Believed complete and correct to JDK 1.2.
+@@ -68,7 +57,7 @@
   * @author Tom Tromey
   * @see java.lang.String
   */
@@ -45,7 +54,7 @@
  {
    /** Append the <code>String</code> value of the argument to this <code>StringBuffer</code>.
     *  Uses <code>String.valueOf()</code> to convert to
-@@ -105,10 +89,7 @@
+@@ -100,10 +89,7 @@
     *  @return this <code>StringBuffer</code>.
     *  @see java.lang.String#valueOf(int)
     */
@@ -57,7 +66,7 @@
  
    /** Append the <code>String</code> value of the argument to this <code>StringBuffer</code>.
     *  Uses <code>String.valueOf()</code> to convert to
-@@ -217,7 +198,7 @@
+@@ -212,7 +198,7 @@
     *  @param index the index of the character to get, starting at 0.
     *  @return the character at the specified index.
     *  @exception IndexOutOfBoundsException if the desired character index
@@ -66,7 +75,7 @@
     */
    public synchronized char charAt (int index)
    {
-@@ -671,28 +652,6 @@
+@@ -666,28 +652,6 @@
      // enable sharing here.
      return new String (value, beginIndex, endIndex - beginIndex);
    }
Index: compare/java.net.MulticastSocket.diff
===================================================================
RCS file: java.net.MulticastSocket.diff
diff -N java.net.MulticastSocket.diff
--- /dev/null	Tue May  5 13:32:27 1998
+++ compare/java.net.MulticastSocket.diff Mon Oct 1 13:36:53 2001
@@ -0,0 +1,20 @@
+--- /home/tromey/gnu/egcs/classpath/classpath/java/net/MulticastSocket.java	Mon Oct  1 14:44:13 2001
++++ java/net/MulticastSocket.java	Mon Oct  1 14:45:05 2001
+@@ -64,7 +64,7 @@
+   */
+   public MulticastSocket() throws IOException
+   {
+-    super(0, null);
++    super(0, ServerSocket.ANY_IF);
+   }
+ 
+ /**
+@@ -76,7 +76,7 @@
+   */
+   public MulticastSocket(int port) throws IOException
+   {
+-    super(port, null);
++    super(port, ServerSocket.ANY_IF);
+   }
+ 
+ /**


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]