/* Copyright (c) 2008-2011, Avian Contributors

   Permission to use, copy, modify, and/or distribute this software
   for any purpose with or without fee is hereby granted, provided
   that the above copyright notice and this permission notice appear
   in all copies.

   There is NO WARRANTY for this software.  See license.txt for
   details. */

package java.lang;

import java.net.URL;

public class Package {
  private final String name;
  private final String implementationTitle;
  private final String implementationVendor;
  private final String implementationVersion;
  private final String specementationTitle;
  private final String specementationVendor;
  private final String specementationVersion;
  private final URL sealed;
  private final ClassLoader loader;

  Package(String name,
          String implementationTitle, 
          String implementationVendor, 
          String implementationVersion, 
          String specementationTitle, 
          String specementationVendor, 
          String specementationVersion, 
          URL sealed, 
          ClassLoader loader)
  {
    this.name = name;
    this.implementationTitle = implementationTitle;
    this.implementationVendor = implementationVendor;
    this.implementationVersion = implementationVersion;
    this.specementationTitle = specementationTitle;
    this.specementationVendor = specementationVendor;
    this.specementationVersion = specementationVersion;
    this.sealed = sealed;
    this.loader = loader;
  }

  public String getName() {
    return name;
  }
}

@@ -592,37 +592,36 @@
 inal String spec
-ement
+ific
 ationTitle;%0A  pr
@@ -635,37 +635,36 @@
 inal String spec
-ement
+ific
 ationVendor;%0A  p
@@ -679,37 +679,36 @@
 inal String spec
-ement
+ific
 ationVersion;%0A  
@@ -822,33 +822,32 @@
 ementationTitle,
- 
 %0A          Strin
@@ -861,33 +861,32 @@
 mentationVendor,
- 
 %0A          Strin
@@ -901,33 +901,32 @@
 entationVersion,
- 
 %0A          Strin
@@ -927,29 +927,28 @@
  String spec
-ement
+ific
 ationTitle, 
@@ -946,17 +946,16 @@
 onTitle,
- 
 %0A       
@@ -964,29 +964,28 @@
  String spec
-ement
+ific
 ationVendor,
@@ -984,17 +984,16 @@
 nVendor,
- 
 %0A       
@@ -1002,29 +1002,28 @@
  String spec
-ement
+ific
 ationVersion
@@ -1023,17 +1023,16 @@
 Version,
- 
 %0A       
@@ -1045,17 +1045,16 @@
  sealed,
- 
 %0A       
@@ -1094,16 +1094,33 @@
 is.name 
+                 
 = name;%0A
@@ -1148,16 +1148,18 @@
 onTitle 
+  
 = implem
@@ -1203,16 +1203,17 @@
 nVendor 
+ 
 = implem
@@ -1293,29 +1293,28 @@
    this.spec
-ement
+ific
 ationTitle =
@@ -1312,27 +1312,29 @@
 onTitle 
+   
 = spec
-ement
+ific
 ationTit
@@ -1346,29 +1346,28 @@
    this.spec
-ement
+ific
 ationVendor 
@@ -1366,27 +1366,28 @@
 nVendor 
+  
 = spec
-ement
+ific
 ationVen
@@ -1400,29 +1400,28 @@
    this.spec
-ement
+ific
 ationVersion
@@ -1425,19 +1425,19 @@
 ion 
+ 
 = spec
-ement
+ific
 atio
@@ -1462,16 +1462,31 @@
 .sealed 
+               
 = sealed
@@ -1503,16 +1503,31 @@
 .loader 
+               
 = loader
@@ -1581,11 +1581,632 @@
 ame;%0A  %7D
+%0A%0A  public String getImplementationTitle() %7B%0A    return implementationTitle;%0A  %7D%0A%0A  public String getImplementationVendor() %7B%0A    return implementationVendor;%0A  %7D%0A%0A  public String getImplementationVersion() %7B%0A    return implementationVersion;%0A  %7D%0A%0A  public String getSpecificationTitle() %7B%0A    return specificationTitle;%0A  %7D%0A%0A  public String getSpecificationVendor() %7B%0A    return specificationVendor;%0A  %7D%0A%0A  public String getSpecificationVersion() %7B%0A    return specificationVersion;%0A  %7D%0A%0A  public boolean isSealed() %7B%0A    return sealed != null;%0A  %7D%0A%0A  public boolean isSealed(URL url) %7B%0A    return sealed.equals(url);%0A  %7D
 %0A%7D%0A

Fix field names, add getters to j.l.Package