Hi,

Same change as on the trunk.

Regards,
Jeroen

2006-04-23  Jeroen Frijters  <[EMAIL PROTECTED]>

        * java/lang/Package.java: Added compatibility constructor to
ease
        VM interface migration.
Index: java/lang/Package.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/lang/Package.java,v
retrieving revision 1.11.2.5
diff -u -r1.11.2.5 Package.java
--- java/lang/Package.java      23 Apr 2006 09:32:30 -0000      1.11.2.5
+++ java/lang/Package.java      23 Apr 2006 10:34:47 -0000
@@ -104,6 +104,17 @@
   /** The class loader that defined this package */
   private ClassLoader loader;
 
+  /** @deprecated Please use the other constructor that takes the class loader
+   *              that defines the Package.
+   */
+  Package(String name,
+         String specTitle, String specVendor, String specVersion,
+         String implTitle, String implVendor, String implVersion, URL sealed)
+  {
+    this(name, specTitle, specVendor, specVersion, implTitle, implVendor,
+         implVersion, sealed, null);
+  }
+
   /**
    * A package local constructor for the Package class. All parameters except
    * the <code>name</code> of the package may be <code>null</code>.

Reply via email to