You can subscribe to this list here.
| 2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(97) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(127) |
Feb
(34) |
Mar
(16) |
Apr
(26) |
May
(55) |
Jun
(107) |
Jul
(36) |
Aug
(72) |
Sep
(90) |
Oct
(41) |
Nov
(27) |
Dec
(13) |
| 2008 |
Jan
(37) |
Feb
(39) |
Mar
(98) |
Apr
(115) |
May
(134) |
Jun
(120) |
Jul
(86) |
Aug
(149) |
Sep
(68) |
Oct
(66) |
Nov
(104) |
Dec
(49) |
| 2009 |
Jan
(131) |
Feb
(132) |
Mar
(125) |
Apr
(172) |
May
(161) |
Jun
(43) |
Jul
(47) |
Aug
(38) |
Sep
(18) |
Oct
(6) |
Nov
(1) |
Dec
(15) |
| 2010 |
Jan
(21) |
Feb
(8) |
Mar
(10) |
Apr
(4) |
May
(9) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
(4) |
| 2011 |
Jan
(23) |
Feb
(10) |
Mar
(13) |
Apr
(3) |
May
|
Jun
(19) |
Jul
(11) |
Aug
(22) |
Sep
|
Oct
(4) |
Nov
(2) |
Dec
(12) |
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(7) |
Apr
(3) |
May
|
Jun
(1) |
Jul
(1) |
Aug
(30) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
(8) |
| 2013 |
Jan
(3) |
Feb
(40) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(12) |
Dec
|
| 2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
|
From: <ls...@us...> - 2007-06-25 19:32:12
|
Revision: 3319
http://jnode.svn.sourceforge.net/jnode/?rev=3319&view=rev
Author: lsantha
Date: 2007-06-25 12:32:06 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosKey.java
trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosTicket.java
trunk/core/src/classpath/javax/javax/security/auth/kerberos/KeyImpl.java
trunk/core/src/classpath/javax/javax/security/sasl/Sasl.java
Deleted: trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosKey.java
===================================================================
--- trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosKey.java 2007-06-25 19:30:49 UTC (rev 3318)
+++ trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosKey.java 2007-06-25 19:32:06 UTC (rev 3319)
@@ -1,180 +0,0 @@
-/* KerberosKey.java -- kerberos key
- Copyright (C) 2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.security.auth.kerberos;
-
-import gnu.classpath.NotImplementedException;
-
-import java.io.Serializable;
-
-import javax.crypto.SecretKey;
-import javax.security.auth.DestroyFailedException;
-import javax.security.auth.Destroyable;
-
-/**
- * This class represents a Kerberos key. See the Kerberos
- * authentication RFC for more information:
- * <a href="http://www.ietf.org/rfc/rfc1510.txt">RFC 1510</a>.
- *
- * @since 1.4
- */
-public class KerberosKey
- implements Serializable, SecretKey, Destroyable
-{
- private static final long serialVersionUID = -4625402278148246993L;
-
- private KerberosPrincipal principal;
- private int versionNum;
- private KeyImpl key;
-
- /**
- * Construct a new key with the indicated principal and key.
- * @param principal the principal
- * @param key the key's data
- * @param type the key's type
- * @param version the key's version number
- */
- public KerberosKey(KerberosPrincipal principal, byte[] key, int type,
- int version)
- {
- this.principal = principal;
- this.versionNum = version;
- this.key = new KeyImpl(key, type);
- }
-
- /**
- * Construct a new key with the indicated principal and a password.
- * @param principal the principal
- * @param passwd the password to use
- * @param algo the algorithm; if null the "DES" algorithm is used
- */
- public KerberosKey(KerberosPrincipal principal, char[] passwd, String algo)
- // Not implemented because KeyImpl really does nothing here.
- throws NotImplementedException
- {
- this.principal = principal;
- this.versionNum = 0; // FIXME: correct?
- this.key = new KeyImpl(passwd, algo);
- }
-
- /**
- * Return the name of the algorithm used to create this key.
- */
- public final String getAlgorithm()
- {
- checkDestroyed();
- return key.algorithm;
- }
-
- /**
- * Return the format of this key. This implementation always returns "RAW".
- */
- public final String getFormat()
- {
- checkDestroyed();
- // Silly, but specified.
- return "RAW";
- }
-
- /**
- * Return the principal associated with this key.
- */
- public final KerberosPrincipal getPrincipal()
- {
- checkDestroyed();
- return principal;
- }
-
- /**
- * Return the type of this key.
- */
- public final int getKeyType()
- {
- checkDestroyed();
- return key.type;
- }
-
- /**
- * Return the version number of this key.
- */
- public final int getVersionNumber()
- {
- checkDestroyed();
- return versionNum;
- }
-
- /**
- * Return the encoded form of this key.
- */
- public final byte[] getEncoded()
- {
- checkDestroyed();
- return (byte[]) key.key.clone();
- }
-
- /**
- * Destroy this key.
- */
- public void destroy() throws DestroyFailedException
- {
- if (key == null)
- throw new DestroyFailedException("already destroyed");
- key = null;
- }
-
- /**
- * Return true if this key has been destroyed. After this has been
- * called, other methods on this object will throw IllegalStateException.
- */
- public boolean isDestroyed()
- {
- return key == null;
- }
-
- private void checkDestroyed()
- {
- if (key == null)
- throw new IllegalStateException("key is destroyed");
- }
-
- public String toString()
- {
- // FIXME: random choice here.
- return principal + ":" + versionNum;
- }
-}
Deleted: trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosTicket.java
===================================================================
--- trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosTicket.java 2007-06-25 19:30:49 UTC (rev 3318)
+++ trunk/core/src/classpath/javax/javax/security/auth/kerberos/KerberosTicket.java 2007-06-25 19:32:06 UTC (rev 3319)
@@ -1,339 +0,0 @@
-/* KerberosTicket.java -- a kerberos ticket
- Copyright (C) 2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.security.auth.kerberos;
-
-import gnu.classpath.NotImplementedException;
-
-import java.io.Serializable;
-import java.net.InetAddress;
-import java.util.Date;
-
-import javax.crypto.SecretKey;
-import javax.security.auth.DestroyFailedException;
-import javax.security.auth.Destroyable;
-import javax.security.auth.RefreshFailedException;
-import javax.security.auth.Refreshable;
-
-/**
- * This class represents a Kerberos ticket. See the Kerberos
- * authentication RFC for more information:
- * <a href="http://www.ietf.org/rfc/rfc1510.txt">RFC 1510</a>.
- *
- * @since 1.4
- */
-public class KerberosTicket
- implements Destroyable, Serializable, Refreshable
-{
- private static final long serialVersionUID = 7395334370157380539L;
-
- // Indices of the various flags. From the kerberos spec.
- // We only list the ones we use.
- private static final int FORWARDABLE = 1;
- private static final int FORWARDED = 2;
- private static final int PROXIABLE = 3;
- private static final int PROXY = 4;
- private static final int POSTDATED = 6;
- private static final int RENEWABLE = 8;
- private static final int INITIAL = 9;
- private static final int NUM_FLAGS = 12;
-
- private byte[] asn1Encoding;
- private KeyImpl sessionKey;
- private boolean[] flags;
- private Date authTime;
- private Date startTime;
- private Date endTime;
- private Date renewTill;
- private KerberosPrincipal client;
- private KerberosPrincipal server;
- private InetAddress[] clientAddresses;
-
- /**
- * Create a new ticket given all the facts about it.
- *
- * Note that flags may be null or "short"; any flags not specified
- * will be taken to be false.
- *
- * If the key is not renewable, then renewTill may be null.
- *
- * If authTime is null, then it is taken to be the same as startTime.
- *
- * If clientAddresses is null, then the ticket can be used anywhere.
- *
- * @param asn1Encoding the contents of the ticket, as ASN1
- * @param client the client principal
- * @param server the server principal
- * @param key the contents of the session key
- * @param type the type of the key
- * @param flags an array of flags, as specified by the RFC
- * @param authTime when the client was authenticated
- * @param startTime starting time at which the ticket is valid
- * @param endTime ending time, after which the ticket is invalid
- * @param renewTill for a rewewable ticket, the time before which it must
- * be renewed
- * @param clientAddresses a possibly-null array of addresses where this
- * ticket may be used
- */
- public KerberosTicket(byte[] asn1Encoding, KerberosPrincipal client,
- KerberosPrincipal server, byte[] key, int type,
- boolean[] flags, Date authTime, Date startTime,
- Date endTime, Date renewTill,
- InetAddress[] clientAddresses)
- {
- this.asn1Encoding = (byte[]) asn1Encoding.clone();
- this.sessionKey = new KeyImpl(key, type);
- this.flags = new boolean[NUM_FLAGS];
- if (flags != null)
- System.arraycopy(flags, 0, this.flags, 0,
- Math.min(flags.length, NUM_FLAGS));
- this.flags = (boolean[]) flags.clone();
- this.authTime = (Date) authTime.clone();
- this.startTime = (Date) ((startTime == null)
- ? authTime : startTime).clone();
- this.endTime = (Date) endTime.clone();
- this.renewTill = (Date) renewTill.clone();
- this.client = client;
- this.server = server;
- this.clientAddresses = (clientAddresses == null
- ? null
- : (InetAddress[]) clientAddresses.clone());
- }
-
- /**
- * Destroy this ticket. This discards secret information. After this
- * method is called, other methods will throw IllegalStateException.
- */
- public void destroy() throws DestroyFailedException
- {
- if (sessionKey == null)
- throw new DestroyFailedException("already destroyed");
- sessionKey = null;
- asn1Encoding = null;
- }
-
- /**
- * Return true if this ticket has been destroyed.
- */
- public boolean isDestroyed()
- {
- return sessionKey == null;
- }
-
- /**
- * Return true if the ticket is currently valid. This is true if
- * the system time is between the ticket's start and end times.
- */
- public boolean isCurrent()
- {
- long now = System.currentTimeMillis();
- return startTime.getTime() <= now && now <= endTime.getTime();
- }
-
- /**
- * If the ticket is renewable, and the renewal time has not yet elapsed,
- * attempt to renew the ticket.
- * @throws RefreshFailedException if the renewal fails for any reason
- */
- public void refresh() throws RefreshFailedException, NotImplementedException
- {
- if (! isRenewable())
- throw new RefreshFailedException("not renewable");
- if (renewTill != null
- && System.currentTimeMillis() >= renewTill.getTime())
- throw new RefreshFailedException("renewal time elapsed");
- // FIXME: must contact the KDC.
- // Use the java.security.krb5.kdc property...
- throw new RefreshFailedException("not implemented");
- }
-
- /**
- * Return the client principal for this ticket.
- */
- public final KerberosPrincipal getClient()
- {
- return client;
- }
-
- /**
- * Return the server principal for this ticket.
- */
- public final KerberosPrincipal getServer()
- {
- return server;
- }
-
- /**
- * Return true if this ticket is forwardable.
- */
- public final boolean isForwardable()
- {
- return flags[FORWARDABLE];
- }
-
- /**
- * Return true if this ticket has been forwarded.
- */
- public final boolean isForwarded()
- {
- return flags[FORWARDED];
- }
-
- /**
- * Return true if this ticket is proxiable.
- */
- public final boolean isProxiable()
- {
- return flags[PROXIABLE];
- }
-
- /**
- * Return true if this ticket is a proxy ticket.
- */
- public final boolean isProxy()
- {
- return flags[PROXY];
- }
-
- /**
- * Return true if this ticket was post-dated.
- */
- public final boolean isPostdated()
- {
- return flags[POSTDATED];
- }
-
- /**
- * Return true if this ticket is renewable.
- */
- public final boolean isRenewable()
- {
- return flags[RENEWABLE];
- }
-
- /**
- * Return true if this ticket was granted by an application
- * server, and not via a ticket-granting ticket.
- */
- public final boolean isInitial()
- {
- return flags[INITIAL];
- }
-
- /**
- * Return the flags for this ticket as a boolean array.
- * See the RFC to understand what the different entries mean.
- */
- public final boolean[] getFlags()
- {
- return (boolean[]) flags.clone();
- }
-
- /**
- * Return the authentication time for this ticket.
- */
- public final Date getAuthTime()
- {
- return (Date) authTime.clone();
- }
-
- /**
- * Return the start time for this ticket.
- */
- public final Date getStartTime()
- {
- return (Date) startTime.clone();
- }
-
- /**
- * Return the end time for this ticket.
- */
- public final Date getEndTime()
- {
- return (Date) endTime.clone();
- }
-
- /**
- * Return the renewal time for this ticket. For a non-renewable
- * ticket, this will return null.
- */
- public final Date getRenewTill()
- {
- return flags[RENEWABLE] ? ((Date) renewTill.clone()) : null;
- }
-
- /**
- * Return the allowable client addresses for this ticket. This will
- * return null if the ticket can be used anywhere.
- */
- public final InetAddress[] getClientAddresses()
- {
- return (clientAddresses == null
- ? null
- : (InetAddress[]) clientAddresses.clone());
- }
-
- /**
- * Return the encoded form of this ticket.
- */
- public final byte[] getEncoded()
- {
- checkDestroyed();
- return (byte[]) sessionKey.key.clone();
- }
-
- /**
- * Return the secret key associated with this ticket.
- */
- public final SecretKey getSessionKey()
- {
- checkDestroyed();
- return sessionKey;
- }
-
- private void checkDestroyed()
- {
- if (sessionKey == null)
- throw new IllegalStateException("key is destroyed");
- }
-
- public String toString()
- {
- return "FIXME bob";
- }
-}
Deleted: trunk/core/src/classpath/javax/javax/security/auth/kerberos/KeyImpl.java
===================================================================
--- trunk/core/src/classpath/javax/javax/security/auth/kerberos/KeyImpl.java 2007-06-25 19:30:49 UTC (rev 3318)
+++ trunk/core/src/classpath/javax/javax/security/auth/kerberos/KeyImpl.java 2007-06-25 19:32:06 UTC (rev 3319)
@@ -1,93 +0,0 @@
-/* KeyImpl.java -- kerberos key implementation
- Copyright (C) 2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.security.auth.kerberos;
-
-import java.io.Serializable;
-
-import javax.crypto.SecretKey;
-
-/**
- * Note that the name of this class is fixed by the serialization
- * spec, even though the class itself is not public.
- */
-final class KeyImpl implements Serializable, SecretKey
-{
- // Enable this when serialization works.
- // private static final long serialVersionUID = -7889313790214321193L;
-
- public String algorithm;
- public int type;
- public byte[] key;
-
- public KeyImpl(byte[] key, int type)
- {
- // From kerberos spec.
- if (type == 0)
- this.algorithm = null;
- else if (type == 1)
- this.algorithm = "DES";
- else
- this.algorithm = "FIXME";
- this.type = type;
- this.key = (byte[]) key.clone();
- }
-
- public KeyImpl(char[] passwd, String algo)
- {
- this.algorithm = (algo == null) ? "DES" : algo;
- this.type = 0; // FIXME
- this.key = null; // double FIXME
- }
-
- public String getAlgorithm()
- {
- return algorithm;
- }
-
- public byte[] getEncoded()
- {
- return key;
- }
-
- public String getFormat()
- {
- // FIXME.
- return null;
- }
-}
Deleted: trunk/core/src/classpath/javax/javax/security/sasl/Sasl.java
===================================================================
--- trunk/core/src/classpath/javax/javax/security/sasl/Sasl.java 2007-06-25 19:30:49 UTC (rev 3318)
+++ trunk/core/src/classpath/javax/javax/security/sasl/Sasl.java 2007-06-25 19:32:06 UTC (rev 3319)
@@ -1,694 +0,0 @@
-/* Sasl.java --
- Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.security.sasl;
-
-import java.security.Provider;
-import java.security.Security;
-import java.util.Enumeration;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Map;
-import java.util.Vector;
-
-import javax.security.auth.callback.CallbackHandler;
-
-/**
- * <p>A static class for creating SASL clients and servers.</p>
- *
- * <p>This class defines the policy of how to locate, load, and instantiate SASL
- * clients and servers.</p>
- *
- * <p>For example, an application or library gets a SASL client instance by
- * doing something like:</p>
- *
- * <pre>
- *SaslClient sc =
- * Sasl.createSaslClient(mechanisms, authorizationID, protocol,
- * serverName, props, callbackHandler);
- * </pre>
- *
- * <p>It can then proceed to use the instance to create an authenticated
- * connection.</p>
- *
- * <p>Similarly, a server gets a SASL server instance by using code that looks
- * as follows:</p>
- *
- * <pre>
- *SaslServer ss =
- * Sasl.createSaslServer(mechanism, protocol, serverName, props,
- * callbackHandler);
- * </pre>
- *
- * @since 1.5
- */
-public class Sasl
-{
-
- // Constants and variables
- // -------------------------------------------------------------------------
-
- /**
- * <p>The name of a property that specifies the quality-of-protection to use.
- * The property contains a comma-separated, ordered list of quality-of-
- * protection values that the client or server is willing to support. A qop
- * value is one of:</p>
- *
- * <ul>
- * <li><code>"auth"</code> - authentication only,</li>
- * <li><code>"auth-int"</code> - authentication plus integrity
- * protection,</li>
- * <li><code>"auth-conf"</code> - authentication plus integrity and
- * confidentiality protection.</li>
- * </ul>
- *
- * <p>The order of the list specifies the preference order of the client or
- * server.</p>
- *
- * <p>If this property is absent, the default qop is <code>"auth"</code>.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.qop"</code>.</p>
- */
- public static final String QOP = "javax.security.sasl.qop";
-
- /**
- * <p>The name of a property that specifies the cipher strength to use. The
- * property contains a comma-separated, ordered list of cipher strength
- * values that the client or server is willing to support. A strength value
- * is one of:</p>
- *
- * <ul>
- * <li><code>"low"</code>,</li>
- * <li><code>"medium"</code>,</li>
- * <li><code>"high"</code>.</li>
- * </ul>
- *
- * <p>The order of the list specifies the preference order of the client or
- * server. An implementation should allow configuration of the meaning of
- * these values. An application may use the Java Cryptography Extension (JCE)
- * with JCE-aware mechanisms to control the selection of cipher suites that
- * match the strength values.</p>
- *
- * <p>If this property is absent, the default strength is
- * <code>"high,medium,low"</code>.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.strength"</code>.
- * </p>
- */
- public static final String STRENGTH = "javax.security.sasl.strength";
-
- /**
- * <p>The name of a property that specifies whether the server must authenticate
- * to the client. The property contains <code>"true"</code> if the server
- * must authenticate the to client; <code>"false"</code> otherwise. The
- * default is <code>"false"</code>.</p>
- *
- * <p>The value of this constant is
- * <code>"javax.security.sasl.server.authentication"</code>.</p>
- */
- public static final String SERVER_AUTH = "javax.security.sasl.server.authentication";
-
- /**
- * <p>The name of a property that specifies the maximum size of the receive
- * buffer in bytes of {@link SaslClient}/{@link SaslServer}. The property
- * contains the string representation of an integer.</p>
- *
- * <p>If this property is absent, the default size is defined by the
- * mechanism.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.maxbuffer"</code>.
- * </p>
- */
- public static final String MAX_BUFFER = "javax.security.sasl.maxbuffer";
-
- /**
- * <p>The name of a property that specifies the maximum size of the raw send
- * buffer in bytes of {@link SaslClient}/{@link SaslServer}. The property
- * contains the string representation of an integer. The value of this
- * property is negotiated between the client and server during the
- * authentication exchange.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.rawsendsize"</code>.
- * </p>
- */
- public static final String RAW_SEND_SIZE = "javax.security.sasl.rawsendsize";
-
- /**
- * <p>The name of a property that specifies whether mechanisms susceptible
- * to simple plain passive attacks (e.g., "PLAIN") are not permitted. The
- * property contains <code>"true"</code> if such mechanisms are not
- * permitted; <code>"false"</code> if such mechanisms are permitted. The
- * default is <code>"false"</code>.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.policy.noplaintext"</code>.
- * </p>
- */
- public static final String POLICY_NOPLAINTEXT = "javax.security.sasl.policy.noplaintext";
-
- /**
- * <p>The name of a property that specifies whether mechanisms susceptible to
- * active (non-dictionary) attacks are not permitted. The property contains
- * <code>"true"</code> if mechanisms susceptible to active attacks are not
- * permitted; <code>"false"</code> if such mechanisms are permitted. The
- * default is <code>"false"</code>.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.policy.noactive"</code>.
- * </p>
- */
- public static final String POLICY_NOACTIVE = "javax.security.sasl.policy.noactive";
-
- /**
- * <p>The name of a property that specifies whether mechanisms susceptible to
- * passive dictionary attacks are not permitted. The property contains
- * <code>"true"</code> if mechanisms susceptible to dictionary attacks are
- * not permitted; <code>"false"</code> if such mechanisms are permitted. The
- * default is <code>"false"</code>.</p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.policy.nodictionary"</code>.
- * </p>
- */
- public static final String POLICY_NODICTIONARY = "javax.security.sasl.policy.nodictionary";
-
- /**
- * <p>The name of a property that specifies whether mechanisms that accept
- * anonymous login are not permitted. The property contains <code>"true"</code>
- * if mechanisms that accept anonymous login are not permitted; <code>"false"
- * </code> if such mechanisms are permitted. The default is <code>"false"</code>.
- * </p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.policy.noanonymous"</code>.
- * </p>
- */
- public static final String POLICY_NOANONYMOUS = "javax.security.sasl.policy.noanonymous";
-
- /**
- * The name of a property that specifies whether mechanisms that implement
- * forward secrecy between sessions are required. Forward secrecy means that
- * breaking into one session will not automatically provide information for
- * breaking into future sessions. The property contains <code>"true"</code>
- * if mechanisms that implement forward secrecy between sessions are
- * required; <code>"false"</code> if such mechanisms are not required. The
- * default is <code>"false"</code>.
- *
- * <p>The value of this constant is <code>"javax.security.sasl.policy.forward"</code>.
- * </p>
- */
- public static final String POLICY_FORWARD_SECRECY = "javax.security.sasl.policy.forward";
-
- /**
- * The name of a property that specifies whether mechanisms that pass client
- * credentials are required. The property contains <code>"true"</code> if
- * mechanisms that pass client credentials are required; <code>"false"</code>
- * if such mechanisms are not required. The default is <code>"false"</code>.
- *
- * <p>The value of this constant is <code>"javax.security.sasl.policy.credentials"</code>.
- * </p>
- */
- public static final String POLICY_PASS_CREDENTIALS = "javax.security.sasl.policy.credentials";
-
- /**
- * <p>The name of a property that specifies whether to reuse previously
- * authenticated session information. The property contains <code>"true"</code>
- * if the mechanism implementation may attempt to reuse previously
- * authenticated session information; it contains <code>"false"</code> if the
- * implementation must not reuse previously authenticated session information.
- * A setting of <code>"true"</code> serves only as a hint; it does not
- * necessarily entail actual reuse because reuse might not be possible due to
- * a number of reasons, including, but not limited to, lack of mechanism
- * support for reuse, expiration of reusable information, and the peer's
- * refusal to support reuse. The property's default value is <code>"false"</code>.
- * </p>
- *
- * <p>The value of this constant is <code>"javax.security.sasl.reuse"</code>.
- * Note that all other parameters and properties required to create a SASL
- * client/server instance must be provided regardless of whether this
- * property has been supplied. That is, you cannot supply any less
- * information in anticipation of reuse. Mechanism implementations that
- * support reuse might allow customization of its implementation for factors
- * such as cache size, timeouts, and criteria for reuseability. Such
- * customizations are implementation-dependent.</p>
- */
- public static final String REUSE = "javax.security.sasl.reuse";
-
- private static final String CLIENT_FACTORY_SVC = "SaslClientFactory.";
- private static final String SERVER_FACTORY_SVC = "SaslServerFactory.";
- private static final String ALIAS = "Alg.Alias.";
-
- // Constructor(s)
- // -------------------------------------------------------------------------
-
- private Sasl()
- {
- super();
- }
-
- // Class methods
- // -------------------------------------------------------------------------
-
- /**
- * Creates a {@link SaslClient} for the specified mechanism.
- *
- * <p>This method uses the JCA Security Provider Framework, described in the
- * "Java Cryptography Architecture API Specification & Reference", for
- * locating and selecting a {@link SaslClient} implementation.</p>
- *
- * <p>First, it obtains an ordered list of {@link SaslClientFactory}
- * instances from the registered security providers for the
- * <code>"SaslClientFactory"</code> service and the specified mechanism. It
- * then invokes <code>createSaslClient()</code> on each factory instance on
- * the list until one produces a non-null {@link SaslClient} instance. It
- * returns the non-null {@link SaslClient} instance, or <code>null</code> if
- * the search fails to produce a non-null {@link SaslClient} instance.</p>
- *
- * <p>A security provider for <code>SaslClientFactory</code> registers with
- * the JCA Security Provider Framework keys of the form:</p>
- *
- * <pre>
- * SaslClientFactory.mechanism_name
- * </pre>
- *
- * <p>and values that are class names of implementations of {@link
- * SaslClientFactory}.</p>
- *
- * <p>For example, a provider that contains a factory class,
- * <code>com.wiz.sasl.digest.ClientFactory</code>, that supports the
- * <code>"DIGEST-MD5"</code> mechanism would register the following entry
- * with the JCA:</p>
- *
- * <pre>
- * SaslClientFactory.DIGEST-MD5 com.wiz.sasl.digest.ClientFactory
- * </pre>
- *
- * <p>See the "Java Cryptography Architecture API Specification &
- * Reference" for information about how to install and configure security
- * service providers.</p>
- *
- * @param mechanisms the non-null list of mechanism names to try. Each is the
- * IANA-registered name of a SASL mechanism. (e.g. "GSSAPI", "CRAM-MD5").
- * @param authorizationID the possibly <code>null</code> protocol-dependent
- * identification to be used for authorization. If <code>null</code> or
- * empty, the server derives an authorization ID from the client's
- * authentication credentials. When the SASL authentication completes
- * successfully, the specified entity is granted access.
- * @param protocol the non-null string name of the protocol for which the
- * authentication is being performed (e.g. "ldap").
- * @param serverName the non-null fully-qualified host name of the server to
- * authenticate to.
- * @param props the possibly null set of properties used to select the SASL
- * mechanism and to configure the authentication exchange of the selected
- * mechanism. For example, if props contains the {@link Sasl#POLICY_NOPLAINTEXT}
- * property with the value <code>"true"</code>, then the selected SASL
- * mechanism must not be susceptible to simple plain passive attacks. In
- * addition to the standard properties declared in this class, other,
- * possibly mechanism-specific, properties can be included. Properties not
- * relevant to the selected mechanism are ignored.
- * @param cbh the possibly <code>null</code> callback handler to used by the
- * SASL mechanisms to get further information from the application/library to
- * complete the authentication. For example, a SASL mechanism might require
- * the authentication ID, password and realm from the caller. The
- * authentication ID is requested by using a
- * {@link javax.security.auth.callback.NameCallback}. The password is
- * requested by using a {@link javax.security.auth.callback.PasswordCallback}.
- * The realm is requested by using a {@link RealmChoiceCallback} if there is
- * a list of realms to choose from, and by using a {@link RealmCallback} if
- * the realm must be entered.
- * @return a possibly <code>null</code> {@link SaslClient} created using the
- * parameters supplied. If <code>null</code>, the method could not find a
- * {@link SaslClientFactory} that will produce one.
- * @throws SaslException if a {@link SaslClient} cannot be created because
- * of an error.
- */
- public static SaslClient createSaslClient(String[] mechanisms,
- String authorizationID,
- String protocol,
- String serverName,
- Map<String, ?> props,
- CallbackHandler cbh)
- throws SaslException
- {
- if (mechanisms == null)
- {
- return null;
- }
- Provider[] providers = Security.getProviders();
- if (providers == null || providers.length == 0)
- {
- return null;
- }
-
- SaslClient result = null;
- SaslClientFactory factory = null;
- String m, clazz = null, upper, alias;
- int j;
- Provider p;
- for (int i = 0; i < mechanisms.length; i++)
- {
- m = mechanisms[i];
- if (m == null)
- continue;
- for (j = 0; j < providers.length; j++)
- {
- p = providers[j];
- if (p != null)
- {
- // try the name as is
- clazz = p.getProperty(CLIENT_FACTORY_SVC + m);
- if (clazz == null) // try all uppercase
- {
- upper = m.toUpperCase();
- clazz = p.getProperty(CLIENT_FACTORY_SVC + upper);
- if (clazz == null) // try if it's an alias
- {
- alias = p.getProperty(ALIAS + CLIENT_FACTORY_SVC + m);
- if (alias == null) // try all-uppercase alias name
- {
- alias = p.getProperty(ALIAS + CLIENT_FACTORY_SVC + upper);
- if (alias == null) // spit the dummy
- continue;
- }
- clazz = p.getProperty(CLIENT_FACTORY_SVC + alias);
- }
- }
- if (clazz == null)
- continue;
- else
- clazz = clazz.trim();
- }
-
- try
- {
- result = null;
- factory = (SaslClientFactory) Class.forName(clazz).newInstance();
- result = factory.createSaslClient(mechanisms, authorizationID,
- protocol, serverName, props, cbh);
- }
- catch (ClassCastException ignored) // ignore instantiation exceptions
- {
- }
- catch (ClassNotFoundException ignored)
- {
- }
- catch (InstantiationException ignored)
- {
- }
- catch (IllegalAccessException ignored)
- {
- }
- if (result != null)
- return result;
- }
- }
- return null;
- }
-
- /**
- * Gets an enumeration of known factories for producing a {@link SaslClient}
- * instance. This method uses the same sources for locating factories as
- * <code>createSaslClient()</code>.
- *
- * @return a non-null {@link Enumeration} of known factories for producing a
- * {@link SaslClient} instance.
- * @see #createSaslClient(String[],String,String,String,Map,CallbackHandler)
- */
- public static Enumeration<SaslClientFactory> getSaslClientFactories()
- {
- Vector result = new Vector();
- HashSet names = new HashSet();
- Provider[] providers = Security.getProviders();
- Iterator it;
- if (providers != null)
- {
- Provider p;
- String key;
- for (int i = 0; i < providers.length; i++)
- {
- p = providers[i];
- for (it = p.keySet().iterator(); it.hasNext(); )
- {
- key = (String) it.next();
- // add key's binding (a) it is a class of a client factory,
- // and (b) the key does not include blanks
- if (key.startsWith(CLIENT_FACTORY_SVC) && key.indexOf(" ") == -1)
- {
- names.add(p.getProperty(key));
- break;
- }
- }
- }
- }
- // we have the factory class names in names; instantiate and enumerate
- String c;
- for (it = names.iterator(); it.hasNext(); )
- {
- c = (String) it.next();
- try
- {
- SaslClientFactory f = (SaslClientFactory) Class.forName(c).newInstance();
- if (f != null)
- result.add(f);
- } catch (ClassCastException ignored) { // ignore instantiation exceptions
- } catch (ClassNotFoundException ignored) {
- } catch (InstantiationException ignored) {
- } catch (IllegalAccessException ignored) {
- }
- }
-
- return result.elements();
- }
-
- /**
- * Creates a {@link SaslServer} for the specified mechanism.
- *
- * <p>This method uses the JCA Security Provider Framework, described in the
- * "Java Cryptography Architecture API Specification & Reference", for
- * locating and selecting a SaslServer implementation.</p>
- *
- * <p>First, it obtains an ordered list of {@link SaslServerFactory}
- * instances from the registered security providers for the
- * <code>"SaslServerFactory"</code> service and the specified mechanism. It
- * then invokes <code>createSaslServer()</code> on each factory instance on
- * the list until one produces a non-null {@link SaslServer} instance. It
- * returns the non-null {@link SaslServer} instance, or <code>null</code> if
- * the search fails to produce a non-null {@link SaslServer} instance.</p>
- *
- * <p>A security provider for {@link SaslServerFactory} registers with the
- * JCA Security Provider Framework keys of the form:</p>
- *
- * <pre>
- * SaslServerFactory.mechanism_name
- * </pre>
- *
- * <p>and values that are class names of implementations of {@link
- * SaslServerFactory}.</p>
- *
- * <p>For example, a provider that contains a factory class,
- * <code>com.wiz.sasl.digest.ServerFactory</code>, that supports the
- * <code>"DIGEST-MD5"</code> mechanism would register the following entry
- * with the JCA:</p>
- *
- * <pre>
- * SaslServerFactory.DIGEST-MD5 com.wiz.sasl.digest.ServerFactory
- * </pre>
- *
- * <p>See the "Java Cryptography Architecture API Specification &
- * Reference" for information about how to install and configure security
- * service providers.</p>
- *
- * @param mechanism the non-null mechanism name. It must be an
- * IANA-registered name of a SASL mechanism. (e.g. "GSSAPI", "CRAM-MD5").
- * @param protocol the non-null string name of the protocol for which the
- * authentication is being performed (e.g. "ldap").
- * @param serverName the non-null fully qualified host name of the server.
- * @param props the possibly <code>null</code> set of properties used to
- * select the SASL mechanism and to configure the authentication exchange of
- * the selected mechanism. For example, if props contains the {@link
- * Sasl#POLICY_NOPLAINTEXT} property with the value <code>"true"</code>, then
- * the selected SASL mechanism must not be susceptible to simple plain
- * passive attacks. In addition to the standard properties declared in this
- * class, other, possibly mechanism-specific, properties can be included.
- * Properties not relevant to the selected mechanism are ignored.
- * @param cbh the possibly <code>null</code> callback handler to used by the
- * SASL mechanisms to get further information from the application/library to
- * complete the authentication. For example, a SASL mechanism might require
- * the authentication ID, password and realm from the caller. The
- * authentication ID is requested by using a
- * {@link javax.security.auth.callback.NameCallback}. The password is
- * requested by using a {@link javax.security.auth.callback.PasswordCallback}.
- * The realm is requested by using a {@link RealmChoiceCallback} if there is
- * a list of realms to choose from, and by using a {@link RealmCallback} if
- * the realm must be entered.
- * @return a possibly <code>null</code> {@link SaslServer} created using the
- * parameters supplied. If <code>null</code>, the method cannot find a
- * {@link SaslServerFactory} instance that will produce one.
- * @throws SaslException if a {@link SaslServer} instance cannot be created
- * because of an error.
- */
- public static SaslServer createSaslServer(String mechanism, String protocol,
- String serverName,
- Map<String, ?> props,
- CallbackHandler cbh)
- throws SaslException
- {
- if (mechanism == null)
- return null;
- Provider[] providers = Security.getProviders();
- if (providers == null || providers.length == 0)
- return null;
-
- SaslServer result = null;
- SaslServerFactory factory = null;
- String clazz = null, upper, alias = null;
- int j;
- Provider p;
- for (j = 0; j < providers.length; j++)
- {
- p = providers[j];
- if (p != null)
- {
- // try the name as is
- clazz = p.getProperty(SERVER_FACTORY_SVC + mechanism);
- if (clazz == null) // try all uppercase
- {
- upper = mechanism.toUpperCase();
- clazz = p.getProperty(SERVER_FACTORY_SVC + upper);
- if (clazz == null) // try if it's an alias
- {
- alias = p.getProperty(ALIAS + SERVER_FACTORY_SVC + mechanism);
- if (alias == null) // try all-uppercase alias name
- {
- alias = p.getProperty(ALIAS + SERVER_FACTORY_SVC + upper);
- if (alias == null) // spit the dummy
- continue;
- }
- }
- clazz = p.getProperty(SERVER_FACTORY_SVC + alias);
- }
- }
- if (clazz == null)
- continue;
- else
- clazz = clazz.trim();
-
- try
- {
- result = null;
- factory = (SaslServerFactory) Class.forName(clazz).newInstance();
- result =
- factory.createSaslServer(mechanism, protocol, serverName, props, cbh);
- }
- catch (ClassCastException ignored) // ignore instantiation exceptions
- {
- }
- catch (ClassNotFoundException ignored)
- {
- }
- catch (InstantiationException ignored)
- {
- }
- catch (IllegalAccessException ignored)
- {
- }
- if (result != null)
- return result;
- }
- return null;
- }
-
- /**
- * Gets an enumeration of known factories for producing a {@link SaslServer}
- * instance. This method uses the same sources for locating factories as
- * <code>createSaslServer()</code>.
- *
- * @return a non-null {@link Enumeration} of known factories for producing a
- * {@link SaslServer} instance.
- * @see #createSaslServer(String,String,String,Map,CallbackHandler)
- */
- public static Enumeration<SaslServerFactory> getSaslServerFactories()
- {
- Vector result = new Vector();
- HashSet names = new HashSet();
- Provider[] providers = Security.getProviders();
- Iterator it;
- if (providers != null)
- {
- Provider p;
- String key;
- for (int i = 0; i < providers.length; i++)
- {
- p = providers[i];
- for (it = p.keySet().iterator(); it.hasNext(); )
- {
- key = (String) it.next();
- // add key's binding (a) it is a class of a server factory,
- // and (b) the key does not include blanks
- if (key.startsWith(SERVER_FACTORY_SVC) && key.indexOf(" ") == -1)
- {
- names.add(p.getProperty(key));
- break;
- }
- }
- }
- }
- // we have the factory class names in names; instantiate and enumerate
- String c;
- for (it = names.iterator(); it.hasNext(); )
- {
- c = (String) it.next();
- try
- {
- SaslServerFactory f = (SaslServerFactory) Class.forName(c).newInstance();
- if (f != null)
- result.add(f);
- }
- catch (ClassCastException ignored) // ignore instantiation exceptions
- {
- }
- catch (ClassNotFoundException ignored)
- {
- }
- catch (InstantiationException ignored)
- {
- }
- catch (IllegalAccessException ignored)
- {
- }
- }
-
- return result.elements();
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 19:30:52
|
Revision: 3318
http://jnode.svn.sourceforge.net/jnode/?rev=3318&view=rev
Author: lsantha
Date: 2007-06-25 12:30:49 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/javax/javax/net/ssl/SSLContext.java
trunk/core/src/classpath/javax/javax/net/ssl/SSLContextSpi.java
trunk/core/src/classpath/javax/javax/net/ssl/SSLSocket.java
Deleted: trunk/core/src/classpath/javax/javax/net/ssl/SSLContext.java
===================================================================
--- trunk/core/src/classpath/javax/javax/net/ssl/SSLContext.java 2007-06-25 12:34:41 UTC (rev 3317)
+++ trunk/core/src/classpath/javax/javax/net/ssl/SSLContext.java 2007-06-25 19:30:49 UTC (rev 3318)
@@ -1,293 +0,0 @@
-/* SSLContext.java -- an SSL protocol context.
- Copyright (C) 2004 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.net.ssl;
-
-import gnu.java.security.Engine;
-
-import java.lang.reflect.InvocationTargetException;
-import java.security.KeyManagementException;
-import java.security.NoSuchAlgorithmException;
-import java.security.NoSuchProviderException;
-import java.security.Provider;
-import java.security.SecureRandom;
-import java.security.Security;
-
-/**
- * A "meta-factory" for protocol-specific socket and server socket
- * factories. This class serves as a clearinghouse for socket
- * factories and cached session contexts for a particular protocol,
- * such as SSLv3.
- *
- * @author Casey Marshall (rs...@me...)
- */
-public class SSLContext
-{
- // Constants and fields.
- // ------------------------------------------------------------------
-
- /** Service name for SSL contexts. */
- private static final String SSL_CONTEXT = "SSLContext";
-
- /** The underlying engine. */
- private final SSLContextSpi ctxSpi;
-
- /** The provider of the engine class. */
- private final Provider provider;
-
- /** The protocal name. */
- private final String protocol;
-
- // Constructor.
- // ------------------------------------------------------------------
-
- /**
- * Create a new SSL context.
- *
- * @param ctxSpi The context engine.
- * @param provider The provider of the implementation.
- * @param protocol The name of the SSL protocol.
- */
- protected SSLContext(SSLContextSpi ctxSpi, Provider provider,
- String protocol)
- {
- this.ctxSpi = ctxSpi;
- this.provider = provider;
- this.protocol = protocol;
- }
-
- /**
- * Get an instance of a context for the specified protocol from the first
- * provider that implements it.
- *
- * @param protocol The name of the protocol to get a context for.
- * @return The new context.
- * @throws NoSuchAlgorithmException If no provider implements the given
- * protocol.
- * @throws IllegalArgumentException if <code>protocol</code> is
- * <code>null</code> or is an empty string.
- */
- public static final SSLContext getInstance(String protocol)
- throws NoSuchAlgorithmException
- {
- Provider[] p = Security.getProviders();
- NoSuchAlgorithmException lastException = null;
- for (int i = 0; i < p.length; i++)
- try
- {
- return getInstance(protocol, p[i]);
- }
- catch (NoSuchAlgorithmException x)
- {
- lastException = x;
- }
- if (lastException != null)
- throw lastException;
- throw new NoSuchAlgorithmException(protocol);
- }
-
- /**
- * Get an instance of a context for the specified protocol from the named
- * provider.
- *
- * @param protocol The name of the protocol to get a context for.
- * @param provider The name of the provider to get the implementation from.
- * @return The new context.
- * @throws NoSuchAlgorithmException If the provider does not implement the
- * given protocol.
- * @throws NoSuchProviderException If the named provider does not exist.
- * @throws IllegalArgumentException if either <code>protocol</code> or
- * <code>provider</code> is <code>null</code>, or if
- * <code>protocol</code> is an empty string.
- */
- public static final SSLContext getInstance(String protocol, String provider)
- throws NoSuchAlgorithmException, NoSuchProviderException
- {
- if (provider == null)
- throw new IllegalArgumentException("provider MUST NOT be null");
- Provider p = Security.getProvider(provider);
- if (p == null)
- throw new NoSuchProviderException(provider);
- return getInstance(protocol, p);
- }
-
- /**
- * Get an instance of a context for the specified protocol from the specified
- * provider.
- *
- * @param protocol The name of the protocol to get a context for.
- * @param provider The name of the provider to get the implementation from.
- * @return The new context.
- * @throws NoSuchAlgorithmException If the provider does not implement the
- * given protocol.
- * @throws IllegalArgumentException if either <code>protocol</code> or
- * <code>provider</code> is <code>null</code>, or if
- * <code>protocol</code> is an empty string.
- */
- public static final SSLContext getInstance(String protocol, Provider provider)
- throws NoSuchAlgorithmException
- {
- StringBuilder sb = new StringBuilder("SSLContext for protocol [")
- .append(protocol).append("] from provider[")
- .append(provider).append("] could not be created");
- Throwable cause;
- try
- {
- Object spi = Engine.getInstance(SSL_CONTEXT, protocol, provider);
- return new SSLContext((SSLContextSpi) spi, provider, protocol);
- }
- catch (InvocationTargetException x)
- {
- cause = x.getCause();
- if (cause instanceof NoSuchAlgorithmException)
- throw (NoSuchAlgorithmException) cause;
- if (cause == null)
- cause = x;
- }
- catch (ClassCastException x)
- {
- cause = x;
- }
- NoSuchAlgorithmException x = new NoSuchAlgorithmException(sb.toString());
- x.initCause(cause);
- throw x;
- }
-
- /**
- * Creates a new {@link SSLEngine} for this context.
- *
- * @return The new SSLEngine.
- * @since 1.5
- */
- public final SSLEngine createSSLEngine ()
- {
- return ctxSpi.engineCreateSSLEngine ();
- }
-
- /**
- * Creates a new {@link SSLEngine} for this context, with a given
- * host name and port number.
- *
- * @param host The local host name.
- * @param port The local port number.
- * @return The new SSLEngine.
- * @since 1.5
- */
- public final SSLEngine createSSLEngine (final String host, final int port)
- {
- return ctxSpi.engineCreateSSLEngine (host, port);
- }
-
- /**
- * Returns the set of SSL contexts available for client connections.
- *
- * @return The set of SSL contexts available for client connections.
- */
- public final SSLSessionContext getClientSessionContext()
- {
- return ctxSpi.engineGetClientSessionContext();
- }
-
- /**
- * Returns the protocol name of this context.
- *
- * @return The protocol name of this context.
- */
- public final String getProtocol()
- {
- return protocol;
- }
-
- /**
- * Returns the provider of this implementation.
- *
- * @return The provider of this implementation.
- */
- public final Provider getProvider()
- {
- return provider;
- }
-
- /**
- * Returns the set of SSL contexts available for server connections.
- *
- * @return The set of SSL contexts available for server connections.
- */
- public final SSLSessionContext getServerSessionContext()
- {
- return ctxSpi.engineGetServerSessionContext();
- }
-
- /**
- * Returns the factory for server SSL sockets.
- *
- * @return The factory for server SSL sockets.
- */
- public final SSLServerSocketFactory getServerSocketFactory()
- {
- return ctxSpi.engineGetServerSocketFactory();
- }
-
- /**
- * Returns the factory for client SSL sockets.
- *
- * @return The factory for client SSL sockets.
- */
- public final SSLSocketFactory getSocketFactory()
- {
- return ctxSpi.engineGetSocketFactory();
- }
-
- /**
- * Initializes this context and prepares it for producing socket
- * factories. All of the parameters are optional; default values are
- * used if left unspecified.
- *
- * @param keyManagers The set of key managers to use.
- * @param trustManagers The set of trust managers to use.
- * @param random A source of random bits to use.
- * @throws KeyManagementException If initialization fails.
- */
- public final void init(KeyManager[] keyManagers,
- TrustManager[] trustManagers,
- SecureRandom random)
- throws KeyManagementException
- {
- ctxSpi.engineInit(keyManagers, trustManagers, random);
- }
-}
Deleted: trunk/core/src/classpath/javax/javax/net/ssl/SSLContextSpi.java
===================================================================
--- trunk/core/src/classpath/javax/javax/net/ssl/SSLContextSpi.java 2007-06-25 12:34:41 UTC (rev 3317)
+++ trunk/core/src/classpath/javax/javax/net/ssl/SSLContextSpi.java 2007-06-25 19:30:49 UTC (rev 3318)
@@ -1,131 +0,0 @@
-/* SSLContextSpi.java -- SPI for SSL contexts.
- Copyright (C) 2004 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.net.ssl;
-
-import java.security.KeyManagementException;
-import java.security.SecureRandom;
-
-/**
- * The <i>Service Provider Interface</i> (<b>SPI</b>) for SSLContext
- * objects.
- *
- * @author Casey Marshall (rs...@me...)
- */
-public abstract class SSLContextSpi
-{
-
- // Constructor.
- // -------------------------------------------------------------------
-
- /**
- * Create a new SSLContextSpi.
- */
- public SSLContextSpi()
- {
- super();
- }
-
- // Abstract methods.
- // -------------------------------------------------------------------
-
- // Sun, you've broken existing applications by introducing new
- // abstract methods! Goodjob!!!
-
- /**
- * Returns a new {@link SSLEngine} for this context.
- *
- * @return A new SSLEngine.
- * @since 1.5
- */
- protected abstract SSLEngine engineCreateSSLEngine ();
-
- /**
- * Returns a new {@link SSLEngine} for this context, for the given
- * host name and port number.
- *
- * @param host The local host name.
- * @param port The local port number.
- * @return A new SSLEngine.
- * @since 1.5
- */
- protected abstract SSLEngine engineCreateSSLEngine (String host, int port);
-
- /**
- * Returns the set of SSL sessions available for client connections.
- *
- * @return The set of SSL sessions available for client connections.
- */
- protected abstract SSLSessionContext engineGetClientSessionContext();
-
- /**
- * Returns the set of SSL sessions available for server connections.
- *
- * @return The set of SSL sessions available for server connections.
- */
- protected abstract SSLSessionContext engineGetServerSessionContext();
-
- /**
- * Returns the SSL server socket factory.
- *
- * @return The SSL server socket factory.
- */
- protected abstract SSLServerSocketFactory engineGetServerSocketFactory();
-
- /**
- * Returns the SSL client socket factory.
- *
- * @return The SSL client socket factory.
- */
- protected abstract SSLSocketFactory engineGetSocketFactory();
-
- /**
- * Initialize this context with key and trust managers, and a source
- * of randomness. All of the parameters are optional.
- *
- * @param keyManagers The set of key managers.
- * @param trustManagers The set of trust managers.
- * @param random The source of randomness.
- * @throws KeyManagementException If this context cannot be
- * initialized with these parameters.
- */
- protected abstract void engineInit(KeyManager[] keyManagers,
- TrustManager[] trustManagers,
- SecureRandom random)
- throws KeyManagementException;
-}
Deleted: trunk/core/src/classpath/javax/javax/net/ssl/SSLSocket.java
===================================================================
--- trunk/core/src/classpath/javax/javax/net/ssl/SSLSocket.java 2007-06-25 12:34:41 UTC (rev 3317)
+++ trunk/core/src/classpath/javax/javax/net/ssl/SSLSocket.java 2007-06-25 19:30:49 UTC (rev 3318)
@@ -1,229 +0,0 @@
-/* SSLSocket.java -- an SSL client socket.
- Copyright (C) 2004 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.net.ssl;
-
-import java.io.IOException;
-import java.net.InetAddress;
-import java.net.Socket;
-import java.net.UnknownHostException;
-
-/**
- * A socket that communicates over the secure socket layer protocol.
- */
-public abstract class SSLSocket extends Socket
-{
-
- // Constructors.
- // -------------------------------------------------------------------------
-
- protected SSLSocket()
- {
- super();
- }
-
- protected SSLSocket(String host, int port)
- throws IOException, UnknownHostException
- {
- super(host, port);
- }
-
- protected SSLSocket(InetAddress address, int port) throws IOException
- {
- super(address, port);
- }
-
- protected SSLSocket(String host, int port,
- InetAddress localAddr, int localPort)
- throws IOException, UnknownHostException
- {
- super(host, port, localAddr, localPort);
- }
-
- protected SSLSocket(InetAddress address, int port,
- InetAddress localAddr, int localPort)
- throws IOException
- {
- super(address, port, localAddr, localPort);
- }
-
- // Abstract methods.
- // -------------------------------------------------------------------------
-
- /**
- * Adds a handshake completed listener that wants to be notified when the
- * SSL handshake completes.
- *
- * @param listener The listener to add.
- */
- public abstract void
- addHandshakeCompletedListener(HandshakeCompletedListener listener);
-
- /**
- * Removes a handshake listener from this socket.
- *
- * @param listener The listener to remove.
- */
- public abstract void
- removeHandshakeCompletedListener(HandshakeCompletedListener listener);
-
- /**
- * Returns the list of currently enabled cipher suites.
- *
- * @return The list of enabled cipher suites.
- */
- public abstract String[] getEnabledCipherSuites();
-
- /**
- * Sets the list of enabled cipher suites.
- *
- * @param suites The list of suites to enable.
- */
- public abstract void setEnabledCipherSuites(String[] suites);
-
- /**
- * Returns the list of enabled SSL protocols.
- *
- * @return The list of enabled protocols.
- */
- public abstract String[] getEnabledProtocols();
-
- /**
- * Sets the list of enabled SSL protocols.
- *
- * @param protocols The list of protocols to enable.
- */
- public abstract void setEnabledProtocols(String[] protocols);
-
- /**
- * Returns whether or not sessions will be created by this socket, and thus
- * allow sessions to be continued later.
- *
- * @return Whether or not sessions will be created.
- */
- public abstract boolean getEnableSessionCreation();
-
- /**
- * Sets whether or not sessions will be created by this socket.
- *
- * @param enable The new value.
- */
- public abstract void setEnableSessionCreation(boolean enable);
-
- /**
- * Returns whether or not this socket will require connecting clients to
- * authenticate themselves. This value only applies to sockets in server
- * mode.
- *
- * @return Whether or not this socket requires client authentication.
- */
- public abstract boolean getNeedClientAuth();
-
- /**
- * Sets whether or not this socket will require connecting clients to
- * authenticate themselves. This value only applies to sockets in server
- * mode.
- *
- * @param needAuth The new need auth value.
- */
- public abstract void setNeedClientAuth(boolean needAuth);
-
- /**
- * Returns this socket's session object.
- *
- * @return The session.
- */
- public abstract SSLSession getSession();
-
- /**
- * Returns the list of cipher suites supported by this socket.
- *
- * @return The list of supported cipher suites.
- */
- public abstract String[] getSupportedCipherSuites();
-
- /**
- * Returns the list of protocols supported by this socket.
- *
- * @return The list of supported protocols.
- */
- public abstract String[] getSupportedProtocols();
-
- /**
- * Returns whether or not this socket will connect in client mode.
- *
- * @return True if this is a client socket.
- */
- public abstract boolean getUseClientMode();
-
- /**
- * Sets whether or not this socket will connect in client mode.
- *
- * @param clientMode The new value.
- */
- public abstract void setUseClientMode(boolean clientMode);
-
- /**
- * Returns whether or not this socket will request that connecting clients
- * authenticate themselves. This value only applies to sockets in server
- * mode.
- *
- * @return The want client auth value.
- */
- public abstract boolean getWantClientAuth();
-
- /**
- * Sets whether or not this socket will request that connecting clients
- * authenticate themselves. This value only applies to sockets in server
- * mode.
- *
- * @param wantAuth The new want auth value.
- */
- public abstract void setWantClientAuth(boolean wantAuth);
-
- /**
- * Explicitly begins the handshake, or, if the handshake has already
- * completed, requests that the handshake be repeated.
- *
- * <p>The handshake will begin implicitly when any attempt to read or
- * write to the socket is made.</p>
- *
- * @throws IOException If an I/O or SSL error occurs.
- */
- public abstract void startHandshake() throws IOException;
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 12:34:42
|
Revision: 3317
http://jnode.svn.sourceforge.net/jnode/?rev=3317&view=rev
Author: lsantha
Date: 2007-06-25 05:34:41 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/javax/javax/security/auth/login/Configuration.java
trunk/core/src/classpath/javax/javax/security/auth/login/LoginContext.java
Deleted: trunk/core/src/classpath/javax/javax/security/auth/login/Configuration.java
===================================================================
--- trunk/core/src/classpath/javax/javax/security/auth/login/Configuration.java 2007-06-25 12:29:57 UTC (rev 3316)
+++ trunk/core/src/classpath/javax/javax/security/auth/login/Configuration.java 2007-06-25 12:34:41 UTC (rev 3317)
@@ -1,121 +0,0 @@
-/* Configuration.java
- Copyright (C) 2004, 2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.security.auth.login;
-
-import gnu.javax.security.auth.login.GnuConfiguration;
-
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.security.Security;
-
-import javax.security.auth.AuthPermission;
-
-public abstract class Configuration
-{
- // Fields.
- // -------------------------------------------------------------------------
-
- private static Configuration config;
-
- // Constructors.
- // -------------------------------------------------------------------------
-
- protected Configuration()
- {
- }
-
- // Class methods.
- // -------------------------------------------------------------------------
-
- public static synchronized Configuration getConfiguration()
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkPermission (new AuthPermission ("getLoginConfiguration"));
- return getConfig();
- }
-
- public static synchronized void setConfiguration (Configuration config)
- {
- SecurityManager sm = System.getSecurityManager();
- if (sm != null)
- sm.checkPermission (new AuthPermission ("setLoginConfiguration"));
- Configuration.config = config;
- }
-
- // Abstract methods.
- // -------------------------------------------------------------------------
-
- public abstract AppConfigurationEntry[] getAppConfigurationEntry (String applicationName);
-
- public abstract void refresh();
-
- // Package-private methods.
- // -------------------------------------------------------------------------
-
- /**
- * Get the current configuration, bypassing security checks.
- */
- static Configuration getConfig()
- {
- if (config == null)
- {
- String conf = (String) AccessController.doPrivileged
- (new PrivilegedAction()
- {
- public Object run()
- {
- return Security.getProperty ("login.configuration.provider");
- }
- });
- try
- {
- if (conf != null)
- config = (Configuration) Class.forName (conf).newInstance();
- else
- config = new GnuConfiguration();
- }
- catch (Exception x)
- {
- config = new GnuConfiguration();
- }
- }
- return config;
- }
-}
Deleted: trunk/core/src/classpath/javax/javax/security/auth/login/LoginContext.java
===================================================================
--- trunk/core/src/classpath/javax/javax/security/auth/login/LoginContext.java 2007-06-25 12:29:57 UTC (rev 3316)
+++ trunk/core/src/classpath/javax/javax/security/auth/login/LoginContext.java 2007-06-25 12:34:41 UTC (rev 3317)
@@ -1,265 +0,0 @@
-/* LoginContext.java
- Copyright (C) 2004, 2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package javax.security.auth.login;
-
-import gnu.java.security.action.GetSecurityPropertyAction;
-
-import java.security.AccessController;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import javax.security.auth.Subject;
-import javax.security.auth.callback.CallbackHandler;
-import javax.security.auth.spi.LoginModule;
-
-public class LoginContext
-{
-
- private static final String OTHER = "other";
-
- private final String name;
- private final CallbackHandler cbHandler;
- private final Subject subject;
- private final AppConfigurationEntry[] entries;
- private final LoginModule[] modules;
- private final Map sharedState;
-
- public LoginContext (final String name) throws LoginException
- {
- this (name, new Subject(), defaultHandler());
- }
-
- public LoginContext (final String name, final CallbackHandler cbHandler)
- throws LoginException
- {
- this (name, new Subject(), cbHandler);
- }
-
- public LoginContext (final String name, final Subject subject)
- throws LoginException
- {
- this (name, subject, defaultHandler());
- }
-
- public LoginContext (final String name, final Subject subject,
- final CallbackHandler cbHandler)
- throws LoginException
- {
- this (name, subject, cbHandler, null);
- }
-
- /** @since 1.5 */
- public LoginContext (final String name, final Subject subject,
- final CallbackHandler cbHandler,
- Configuration config)
- throws LoginException
- {
- this.name = name;
- this.subject = subject;
- this.cbHandler = cbHandler;
- if (config == null)
- config = Configuration.getConfig();
- AppConfigurationEntry[] entries = config.getAppConfigurationEntry (name);
- if (entries == null)
- entries = config.getAppConfigurationEntry (OTHER);
- if (entries == null)
- throw new LoginException ("no configured modules for application "
- + name);
- this.entries = entries;
- modules = new LoginModule[entries.length];
- sharedState = new HashMap();
- for (int i = 0; i < entries.length; i++)
- modules[i] = lookupModule (entries[i], subject, sharedState);
- }
-
- /**
- * Returns the authenticated subject, or the parameter passed to one
- * of the constructors. <code>null</code> is returned if the previous
- * login attempt failed and there was no subject provided.
- *
- * @return The subject, or null.
- */
- public Subject getSubject()
- {
- return subject;
- }
-
- /**
- * Logs a subject in, using all login modules configured for this
- * application. This method will call the {@link LoginModule#login()}
- * method of each module configured for this application, stopping
- * if a REQUISITE module fails or if a SUFFICIENT module succeeds. If
- * the overall login attempt fails, a {@link LoginException} will be
- * thrown.
- *
- * @throws LoginException If logging in fails.
- */
- public void login() throws LoginException
- {
- boolean failure = false;
- for (int i = 0; i < modules.length; i++)
- {
- try
- {
- boolean result = modules[i].login();
- if (!result)
- {
- if (entries[i].getControlFlag() ==
- AppConfigurationEntry.LoginModuleControlFlag.REQUISITE)
- throw new LoginException ("REQUISITE module " + entries[i].getLoginModuleName()
- + " failed");
- else if (entries[i].getControlFlag() ==
- AppConfigurationEntry.LoginModuleControlFlag.REQUIRED)
- failure = true;
- }
- else
- {
- if (entries[i].getControlFlag() ==
- AppConfigurationEntry.LoginModuleControlFlag.SUFFICIENT)
- break;
- }
- }
- catch (LoginException le)
- {
- if (entries[i].getControlFlag() !=
- AppConfigurationEntry.LoginModuleControlFlag.REQUISITE)
- continue;
- for (int j = 0; j < modules.length; j++)
- modules[i].abort();
- throw le;
- }
- }
- if (failure)
- throw new LoginException ("not all REQUIRED modules succeeded");
-
- for (int i = 0; i < modules.length; i++)
- modules[i].commit();
- }
-
- /**
- * Logs a subject out, cleaning up any state that may be in memory.
- *
- * @throws LoginException If logging out fails.
- */
- public void logout() throws LoginException
- {
- for (int i = 0; i < modules.length; i++)
- modules[i].logout();
- }
-
- // Own methods.
-
- /**
- * Fetch the default callback handler, based on the
- * auth.login.defaultCallbackHandler property, or null if it is not
- * set.
- */
- private static CallbackHandler defaultHandler()
- {
- GetSecurityPropertyAction act =
- new GetSecurityPropertyAction ("auth.login.defaultCallbackHandler");
- String classname = (String) AccessController.doPrivileged (act);
- if (classname != null)
- {
- try
- {
- return (CallbackHandler) Class.forName (classname).newInstance();
- }
- catch (ClassNotFoundException cnfe)
- {
- return null;
- }
- catch (ClassCastException cce)
- {
- return null;
- }
- catch (IllegalAccessException iae)
- {
- return null;
- }
- catch (InstantiationException ie)
- {
- return null;
- }
- }
- return null;
- }
-
- private LoginModule lookupModule (AppConfigurationEntry entry,
- Subject subject, Map sharedState)
- throws LoginException
- {
- LoginModule module = null;
- Exception cause = null;
- try
- {
- ClassLoader cl = Thread.currentThread().getContextClassLoader();
- Class c = Class.forName(entry.getLoginModuleName(), true, cl);
- module = (LoginModule) c.newInstance();
- }
- catch (ClassNotFoundException cnfe)
- {
- cause = cnfe;
- }
- catch (ClassCastException cce)
- {
- cause = cce;
- }
- catch (IllegalAccessException iae)
- {
- cause = iae;
- }
- catch (InstantiationException ie)
- {
- cause = ie;
- }
-
- if (cause != null)
- {
- LoginException le = new LoginException ("could not load module "
- + entry.getLoginModuleName());
- le.initCause (cause);
- throw le;
- }
-
- module.initialize (subject, cbHandler, sharedState, entry.getOptions());
- return module;
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 12:30:00
|
Revision: 3316
http://jnode.svn.sourceforge.net/jnode/?rev=3316&view=rev
Author: lsantha
Date: 2007-06-25 05:29:57 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/java/java/security/KeyStore.java
trunk/core/src/classpath/java/java/security/KeyStoreSpi.java
trunk/core/src/classpath/java/java/security/UnrecoverableKeyException.java
Deleted: trunk/core/src/classpath/java/java/security/KeyStore.java
===================================================================
--- trunk/core/src/classpath/java/java/security/KeyStore.java 2007-06-25 12:03:22 UTC (rev 3315)
+++ trunk/core/src/classpath/java/java/security/KeyStore.java 2007-06-25 12:29:57 UTC (rev 3316)
@@ -1,507 +0,0 @@
-/* KeyStore.java --- Key Store Class
- Copyright (C) 1999, 2002, 2003, 2004 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.security;
-
-import gnu.java.security.Engine;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.security.cert.CertificateException;
-import java.util.Date;
-import java.util.Enumeration;
-
-/**
- * Keystore represents an in-memory collection of keys and
- * certificates. There are two types of entries:
- *
- * <dl>
- * <dt>Key Entry</dt>
- *
- * <dd><p>This type of keystore entry store sensitive crytographic key
- * information in a protected format.Typically this is a secret
- * key or a private key with a certificate chain.</p></dd>
- *
- * <dt>Trusted Ceritificate Entry</dt>
- *
- * <dd><p>This type of keystore entry contains a single public key
- * certificate belonging to annother entity. It is called trusted
- * because the keystore owner trusts that the certificates
- * belongs to the subject (owner) of the certificate.</p></dd>
- * </dl>
- *
- * <p>Entries in a key store are referred to by their "alias": a simple
- * unique string.
- *
- * <p>The structure and persistentence of the key store is not
- * specified. Any method could be used to protect sensitive
- * (private or secret) keys. Smart cards or integrated
- * cryptographic engines could be used or the keystore could
- * be simply stored in a file.</p>
- *
- * @see java.security.cert.Certificate
- * @see Key
- */
-public class KeyStore
-{
-
- // Constants and fields.
- // ------------------------------------------------------------------------
-
- /** Service name for key stores. */
- private static final String KEY_STORE = "KeyStore";
-
- private KeyStoreSpi keyStoreSpi;
- private Provider provider;
- private String type;
-
- // Constructors.
- // ------------------------------------------------------------------------
-
- /**
- Creates an instance of KeyStore
-
- @param keyStoreSpi A KeyStore engine to use
- @param provider A provider to use
- @param type The type of KeyStore
- */
- protected KeyStore(KeyStoreSpi keyStoreSpi, Provider provider, String type)
- {
- this.keyStoreSpi = keyStoreSpi;
- this.provider = provider;
- this.type = type;
- }
-
- // Class methods.
- // ------------------------------------------------------------------------
-
- /**
- * Gets an instance of the KeyStore class representing
- * the specified keystore. If the type is not
- * found then, it throws KeyStoreException.
- *
- * @param type the type of keystore to choose
- * @return a KeyStore repesenting the desired type
- * @throws KeyStoreException if the type of keystore is not implemented
- * by providers or the implementation cannot be instantiated.
- */
- public static KeyStore getInstance(String type) throws KeyStoreException
- {
- Provider[] p = Security.getProviders();
-
- for (int i = 0; i < p.length; i++)
- {
- try
- {
- return getInstance(type, p[i]);
- }
- catch (KeyStoreException e)
- {
- // Ignore.
- }
- }
-
- throw new KeyStoreException(type);
- }
-
- /**
- * Gets an instance of the KeyStore class representing
- * the specified key store from the specified provider.
- * If the type is not found then, it throws KeyStoreException.
- * If the provider is not found, then it throws
- * NoSuchProviderException.
- *
- * @param type the type of keystore to choose
- * @param provider the provider name
- * @return a KeyStore repesenting the desired type
- * @throws KeyStoreException if the type of keystore is not
- * implemented by the given provider
- * @throws NoSuchProviderException if the provider is not found
- * @throws IllegalArgumentException if the provider string is
- * null or empty
- */
- public static KeyStore getInstance(String type, String provider)
- throws KeyStoreException, NoSuchProviderException
- {
- if (provider == null || provider.length() == 0)
- throw new IllegalArgumentException("Illegal provider");
-
- Provider p = Security.getProvider(provider);
- if (p == null)
- throw new NoSuchProviderException(provider);
-
- return getInstance(type, p);
- }
-
- /**
- * Gets an instance of the KeyStore class representing
- * the specified key store from the specified provider.
- * If the type is not found then, it throws KeyStoreException.
- * If the provider is not found, then it throws
- * NoSuchProviderException.
- *
- * @param type the type of keystore to choose
- * @param provider the keystore provider
- * @return a KeyStore repesenting the desired type
- * @throws KeyStoreException if the type of keystore is not
- * implemented by the given provider
- * @throws IllegalArgumentException if the provider object is null
- * @since 1.4
- */
- public static KeyStore getInstance(String type, Provider provider)
- throws KeyStoreException
- {
- if (provider == null)
- throw new IllegalArgumentException("Illegal provider");
- try
- {
- return new KeyStore(
- (KeyStoreSpi) Engine.getInstance(KEY_STORE, type, provider),
- provider, type);
- }
- catch (NoSuchAlgorithmException nsae)
- {
- throw new KeyStoreException(type);
- }
- catch (java.lang.reflect.InvocationTargetException ite)
- {
- throw new KeyStoreException(type);
- }
- catch (ClassCastException cce)
- {
- throw new KeyStoreException(type);
- }
- }
-
- /**
- * Returns the default KeyStore type. This method looks up the
- * type in <JAVA_HOME>/lib/security/java.security with the
- * property "keystore.type" or if that fails then "gkr" .
- */
- public static final String getDefaultType()
- {
- // Security reads every property in java.security so it
- // will return this property if it exists.
- String tmp = Security.getProperty("keystore.type");
-
- if (tmp == null)
- tmp = "gkr";
-
- return tmp;
- }
-
- // Instance methods.
- // ------------------------------------------------------------------------
-
- /**
- Gets the provider that the class is from.
-
- @return the provider of this class
- */
- public final Provider getProvider()
- {
- return provider;
- }
-
- /**
- Returns the type of the KeyStore supported
-
- @return A string with the type of KeyStore
- */
- public final String getType()
- {
- return type;
- }
-
- /**
- Returns the key associated with given alias using the
- supplied password.
-
- @param alias an alias for the key to get
- @param password password to access key with
-
- @return the requested key, or null otherwise
-
- @throws NoSuchAlgorithmException if there is no algorithm
- for recovering the key
- @throws UnrecoverableKeyException key cannot be reocovered
- (wrong password).
- */
- public final Key getKey(String alias, char[]password)
- throws KeyStoreException, NoSuchAlgorithmException,
- UnrecoverableKeyException
- {
- return keyStoreSpi.engineGetKey(alias, password);
- }
-
- /**
- Gets a Certificate chain for the specified alias.
-
- @param alias the alias name
-
- @return a chain of Certificates ( ordered from the user's
- certificate to the Certificate Authority's ) or
- null if the alias does not exist or there is no
- certificate chain for the alias ( the alias refers
- to a trusted certificate entry or there is no entry).
- */
- public final java.security.cert.
- Certificate[] getCertificateChain(String alias) throws KeyStoreException
- {
- return keyStoreSpi.engineGetCertificateChain(alias);
- }
-
- /**
- Gets a Certificate for the specified alias.
-
- If there is a trusted certificate entry then that is returned.
- it there is a key entry with a certificate chain then the
- first certificate is return or else null.
-
- @param alias the alias name
-
- @return a Certificate or null if the alias does not exist
- or there is no certificate for the alias
- */
- public final java.security.cert.Certificate getCertificate(String alias)
- throws KeyStoreException
- {
- return keyStoreSpi.engineGetCertificate(alias);
- }
-
- /**
- Gets entry creation date for the specified alias.
-
- @param alias the alias name
-
- @returns the entry creation date or null
- */
- public final Date getCreationDate(String alias) throws KeyStoreException
- {
- return keyStoreSpi.engineGetCreationDate(alias);
- }
-
- /**
- Assign the key to the alias in the keystore, protecting it
- with the given password. It will overwrite an existing
- entry and if the key is a PrivateKey, also add the
- certificate chain representing the corresponding public key.
-
- @param alias the alias name
- @param key the key to add
- @password the password to protect with
- @param chain the certificate chain for the corresponding
- public key
-
- @throws KeyStoreException if it fails
- */
- public final void setKeyEntry(String alias, Key key, char[]password,
- java.security.cert.
- Certificate[]chain) throws KeyStoreException
- {
- keyStoreSpi.engineSetKeyEntry(alias, key, password, chain);
- }
-
- /**
- Assign the key to the alias in the keystore. It will overwrite
- an existing entry and if the key is a PrivateKey, also
- add the certificate chain representing the corresponding
- public key.
-
- @param alias the alias name
- @param key the key to add
- @param chain the certificate chain for the corresponding
- public key
-
- @throws KeyStoreException if it fails
- */
- public final void setKeyEntry(String alias, byte[]key,
- java.security.cert.
- Certificate[]chain) throws KeyStoreException
- {
- keyStoreSpi.engineSetKeyEntry(alias, key, chain);
- }
-
- /**
- Assign the certificate to the alias in the keystore. It
- will overwrite an existing entry.
-
- @param alias the alias name
- @param cert the certificate to add
-
- @throws KeyStoreException if it fails
- */
- public final void setCertificateEntry(String alias,
- java.security.cert.
- Certificate cert) throws
- KeyStoreException
- {
- keyStoreSpi.engineSetCertificateEntry(alias, cert);
- }
-
- /**
- Deletes the entry for the specified entry.
-
- @param alias the alias name
-
- @throws KeyStoreException if it fails
- */
- public final void deleteEntry(String alias) throws KeyStoreException
- {
- keyStoreSpi.engineDeleteEntry(alias);
- }
-
- /**
- Generates a list of all the aliases in the keystore.
-
- @return an Enumeration of the aliases
- */
- public final Enumeration aliases() throws KeyStoreException
- {
- return keyStoreSpi.engineAliases();
- }
-
- /**
- Determines if the keystore contains the specified alias.
-
- @param alias the alias name
-
- @return true if it contains the alias, false otherwise
- */
- public final boolean containsAlias(String alias) throws KeyStoreException
- {
- return keyStoreSpi.engineContainsAlias(alias);
- }
-
- /**
- Returns the number of entries in the keystore.
-
- @returns the number of keystore entries.
- */
- public final int size() throws KeyStoreException
- {
- return keyStoreSpi.engineSize();
- }
-
- /**
- Determines if the keystore contains a key entry for
- the specified alias.
-
- @param alias the alias name
-
- @return true if it is a key entry, false otherwise
- */
- public final boolean isKeyEntry(String alias) throws KeyStoreException
- {
- return keyStoreSpi.engineIsKeyEntry(alias);
- }
-
-
- /**
- Determines if the keystore contains a certificate entry for
- the specified alias.
-
- @param alias the alias name
-
- @return true if it is a certificate entry, false otherwise
- */
- public final boolean isCertificateEntry(String alias)
- throws KeyStoreException
- {
- return keyStoreSpi.engineIsCertificateEntry(alias);
- }
-
- /**
- Determines if the keystore contains the specified certificate
- entry and returns the alias.
-
- It checks every entry and for a key entry checks only the
- first certificate in the chain.
-
- @param cert Certificate to look for
-
- @return alias of first matching certificate, null if it
- does not exist.
- */
- public final String getCertificateAlias(java.security.cert.Certificate cert)
- throws KeyStoreException
- {
- return keyStoreSpi.engineGetCertificateAlias(cert);
- }
-
- /**
- Stores the keystore in the specified output stream and it
- uses the specified key it keep it secure.
-
- @param stream the output stream to save the keystore to
- @param password the password to protect the keystore integrity with
-
- @throws IOException if an I/O error occurs.
- @throws NoSuchAlgorithmException the data integrity algorithm
- used cannot be found.
- @throws CertificateException if any certificates could not be
- stored in the output stream.
- */
- public final void store(OutputStream stream, char[]password)
- throws KeyStoreException, IOException, NoSuchAlgorithmException,
- CertificateException
- {
- keyStoreSpi.engineStore(stream, password);
- }
-
- /**
- Loads the keystore from the specified input stream and it
- uses the specified password to check for integrity if supplied.
-
- @param stream the input stream to load the keystore from
- @param password the password to check the keystore integrity with
-
- @throws IOException if an I/O error occurs.
- @throws NoSuchAlgorithmException the data integrity algorithm
- used cannot be found.
- @throws CertificateException if any certificates could not be
- stored in the output stream.
- */
- public final void load(InputStream stream, char[]password)
- throws IOException, NoSuchAlgorithmException, CertificateException
- {
- keyStoreSpi.engineLoad(stream, password);
- }
-
-}
Deleted: trunk/core/src/classpath/java/java/security/KeyStoreSpi.java
===================================================================
--- trunk/core/src/classpath/java/java/security/KeyStoreSpi.java 2007-06-25 12:03:22 UTC (rev 3315)
+++ trunk/core/src/classpath/java/java/security/KeyStoreSpi.java 2007-06-25 12:29:57 UTC (rev 3316)
@@ -1,275 +0,0 @@
-/* KeyStoreSpi.java --- Key Store Service Provider Interface
- Copyright (C) 1999, 2004 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-
-package java.security;
-
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.security.cert.CertificateException;
-import java.util.Date;
-import java.util.Enumeration;
-
-/**
- * KeyStoreSpi is the Service Provider Interface (SPI) for the
- * KeyStore class. This is the interface for providers to
- * supply to implement a keystore for a particular keystore
- * type.
- *
- * @since 1.2
- * @author Mark Benvenuto
- */
-public abstract class KeyStoreSpi
-{
- /**
- * Constructs a new KeyStoreSpi
- */
- public KeyStoreSpi()
- {
- }
-
- /**
- * Returns the key associated with given alias using the
- * supplied password.
- *
- * @param alias an alias for the key to get
- * @param password password to access key with
- *
- * @return the requested key, or null otherwise
- *
- * @throws NoSuchAlgorithmException if there is no algorithm
- * for recovering the key
- * @throws UnrecoverableKeyException key cannot be reocovered
- * (wrong password).
- */
- public abstract Key engineGetKey(String alias, char[]password)
- throws NoSuchAlgorithmException, UnrecoverableKeyException;
-
- /**
- * Gets a Certificate chain for the specified alias.
- *
- * @param alias the alias name
- *
- * @return a chain of Certificates ( ordered from the user's
- * certificate to the Certificate Authority's ) or
- * null if the alias does not exist or there is no
- * certificate chain for the alias ( the alias refers
- * to a trusted certificate entry or there is no entry).
- */
- public abstract java.security.cert.
- Certificate[] engineGetCertificateChain(String alias);
-
-
- /**
- * Gets a Certificate for the specified alias.
- *
- * If there is a trusted certificate entry then that is returned.
- * it there is a key entry with a certificate chain then the
- * first certificate is return or else null.
- *
- * @param alias the alias name
- *
- * @return a Certificate or null if the alias does not exist
- * or there is no certificate for the alias
- */
- public abstract java.security.cert.
- Certificate engineGetCertificate(String alias);
-
- /**
- * Gets entry creation date for the specified alias.
- *
- * @param alias the alias name
- *
- * @returns the entry creation date or null
- */
- public abstract Date engineGetCreationDate(String alias);
-
- /**
- * Assign the key to the alias in the keystore, protecting it
- * with the given password. It will overwrite an existing
- * entry and if the key is a PrivateKey, also add the
- * certificate chain representing the corresponding public key.
- *
- * @param alias the alias name
- * @param key the key to add
- * @password the password to protect with
- * @param chain the certificate chain for the corresponding
- * public key
- *
- * @throws KeyStoreException if it fails
- */
- public abstract void engineSetKeyEntry(String alias, Key key,
- char[]password,
- java.security.cert.
- Certificate[]chain) throws
- KeyStoreException;
-
- /**
- * Assign the key to the alias in the keystore. It will overwrite
- * an existing entry and if the key is a PrivateKey, also
- * add the certificate chain representing the corresponding
- * public key.
- *
- * @param alias the alias name
- * @param key the key to add
- * @param chain the certificate chain for the corresponding
- * public key
- *
- * @throws KeyStoreException if it fails
- */
- public abstract void engineSetKeyEntry(String alias, byte[]key,
- java.security.cert.
- Certificate[]chain) throws
- KeyStoreException;
-
-
- /**
- * Assign the certificate to the alias in the keystore. It
- * will overwrite an existing entry.
- *
- * @param alias the alias name
- * @param cert the certificate to add
- *
- * @throws KeyStoreException if it fails
- */
- public abstract void engineSetCertificateEntry(String alias,
- java.security.cert.
- Certificate cert) throws
- KeyStoreException;
-
- /**
- * Deletes the entry for the specified entry.
- *
- * @param alias the alias name
- *
- * @throws KeyStoreException if it fails
- */
- public abstract void engineDeleteEntry(String alias)
- throws KeyStoreException;
-
- /**
- * Generates a list of all the aliases in the keystore.
- *
- * @return an Enumeration of the aliases
- */
- public abstract Enumeration<String> engineAliases();
-
- /**
- * Determines if the keystore contains the specified alias.
- *
- * @param alias the alias name
- *
- * @return true if it contains the alias, false otherwise
- */
- public abstract boolean engineContainsAlias(String alias);
-
- /**
- * Returns the number of entries in the keystore.
- *
- * @returns the number of keystore entries.
- */
- public abstract int engineSize();
-
- /**
- * Determines if the keystore contains a key entry for
- * the specified alias.
- *
- * @param alias the alias name
- *
- * @return true if it is a key entry, false otherwise
- */
- public abstract boolean engineIsKeyEntry(String alias);
-
- /**
- * Determines if the keystore contains a certificate entry for
- * the specified alias.
- *
- * @param alias the alias name
- *
- * @return true if it is a certificate entry, false otherwise
- */
- public abstract boolean engineIsCertificateEntry(String alias);
-
- /**
- * Determines if the keystore contains the specified certificate
- * entry and returns the alias.
- *
- * It checks every entry and for a key entry checks only the
- * first certificate in the chain.
- *
- * @param cert Certificate to look for
- *
- * @return alias of first matching certificate, null if it
- * does not exist.
- */
- public abstract String engineGetCertificateAlias(java.security.cert.
- Certificate cert);
-
- /**
- * Stores the keystore in the specified output stream and it
- * uses the specified key it keep it secure.
- *
- * @param stream the output stream to save the keystore to
- * @param password the password to protect the keystore integrity with
- *
- * @throws IOException if an I/O error occurs.
- * @throws NoSuchAlgorithmException the data integrity algorithm
- * used cannot be found.
- * @throws CertificateException if any certificates could not be
- * stored in the output stream.
- */
- public abstract void engineStore(OutputStream stream, char[]password)
- throws IOException, NoSuchAlgorithmException, CertificateException;
-
-
- /**
- * Loads the keystore from the specified input stream and it
- * uses the specified password to check for integrity if supplied.
- *
- * @param stream the input stream to load the keystore from
- * @param password the password to check the keystore integrity with
- *
- * @throws IOException if an I/O error occurs.
- * @throws NoSuchAlgorithmException the data integrity algorithm
- * used cannot be found.
- * @throws CertificateException if any certificates could not be
- * stored in the output stream.
- */
- public abstract void engineLoad(InputStream stream, char[]password)
- throws IOException, NoSuchAlgorithmException, CertificateException;
-}
Deleted: trunk/core/src/classpath/java/java/security/UnrecoverableKeyException.java
===================================================================
--- trunk/core/src/classpath/java/java/security/UnrecoverableKeyException.java 2007-06-25 12:03:22 UTC (rev 3315)
+++ trunk/core/src/classpath/java/java/security/UnrecoverableKeyException.java 2007-06-25 12:29:57 UTC (rev 3316)
@@ -1,71 +0,0 @@
-/* UnrecoverableKeyException.java -- Cannot recover a key from the key store
- Copyright (C) 1998, 2002, 2005 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package java.security;
-
-/**
- * This exception is thrown when a key cannot be recovered from the key
- * store.
- *
- * @author Aaron M. Renn (ar...@ur...)
- * @since 1.2
- * @status updated to 1.4
- */
-public class UnrecoverableKeyException extends GeneralSecurityException
-{
- /**
- * Compatible with JDK 1.2+.
- */
- private static final long serialVersionUID = 7275063078190151277L;
-
- /**
- * Create an instance with no descriptive error message.
- */
- public UnrecoverableKeyException()
- {
- }
-
- /**
- * Create an instance with a descriptive error message.
- *
- * @param msg the descriptive error message
- */
- public UnrecoverableKeyException(String msg)
- {
- super(msg);
- }
-}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 12:03:23
|
Revision: 3315
http://jnode.svn.sourceforge.net/jnode/?rev=3315&view=rev
Author: lsantha
Date: 2007-06-25 05:03:22 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/javax/javax/xml/stream/EventFilter.java
trunk/core/src/classpath/javax/javax/xml/stream/FactoryConfigurationError.java
trunk/core/src/classpath/javax/javax/xml/stream/Location.java
trunk/core/src/classpath/javax/javax/xml/stream/StreamFilter.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLEventFactory.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLEventReader.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLEventWriter.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLInputFactory.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLReporter.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLResolver.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLStreamConstants.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLStreamException.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLStreamReader.java
trunk/core/src/classpath/javax/javax/xml/stream/XMLStreamWriter.java
trunk/core/src/classpath/javax/javax/xml/stream/events/
trunk/core/src/classpath/javax/javax/xml/stream/util/EventReaderDelegate.java
trunk/core/src/classpath/javax/javax/xml/stream/util/XMLEventAllocator.java
trunk/core/src/classpath/javax/javax/xml/stream/util/XMLEventConsumer.java
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/EventFilter.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/EventFilter.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/EventFilter.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,54 +0,0 @@
-/* EventFilter.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-import javax.xml.stream.events.XMLEvent;
-
-/**
- * Simple filter interface for XML events.
- */
-public interface EventFilter
-{
-
- /**
- * Indicates whether this filter can accept the specified event.
- */
- boolean accept(XMLEvent event);
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/FactoryConfigurationError.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/FactoryConfigurationError.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/FactoryConfigurationError.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,86 +0,0 @@
-/* FactoryConfigurationError.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-/**
- * Error indicating that a factory could not be configured.
- */
-public class FactoryConfigurationError
- extends Error
-{
-
- private final Exception exception;
-
- public FactoryConfigurationError()
- {
- this((String) null, (Exception) null);
- }
-
- public FactoryConfigurationError(Exception e)
- {
- this(e, null);
- }
-
- public FactoryConfigurationError(Exception e, String msg)
- {
- super(msg);
- exception = e;
- }
-
- public FactoryConfigurationError(String msg, Exception e)
- {
- this(e, msg);
- }
-
- public FactoryConfigurationError(String msg)
- {
- this(null, msg);
- }
-
- public Exception getException()
- {
- return exception;
- }
-
- public String getMessage()
- {
- return super.getMessage();
- }
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/Location.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/Location.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/Location.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,76 +0,0 @@
-/* Location.java --
- Copyright (C) 2005 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-/**
- * Information about the location of an XML event within the underlying
- * stream.
- */
-public interface Location
-{
-
- /**
- * Returns the line number at which the current event ends,
- * or -1 if this is not available.
- */
- int getLineNumber();
-
- /**
- * Returns the column number at which the current event ends,
- * or -1 if this is not available.
- */
- int getColumnNumber();
-
- /**
- * Returns the offset from the start of the source, in bytes or characters
- * depending on the nature of the source, or -1 if this is not available.
- */
- int getCharacterOffset();
-
- /**
- * Returns the public identifier for this location, if any.
- */
- String getPublicId();
-
- /**
- * Returns the system identifier for the underlying source.
- */
- String getSystemId();
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/StreamFilter.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/StreamFilter.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/StreamFilter.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,53 +0,0 @@
-/* StreamFilter.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-/**
- * Simple filter interface for XMLStreamReaders.
- */
-public interface StreamFilter
-{
-
- /**
- * Indicates whether the current state of the specified reader in part of
- * this stream.
- */
- boolean accept(XMLStreamReader reader);
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLEventFactory.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLEventFactory.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLEventFactory.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,343 +0,0 @@
-/* XMLEventFactory.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.IOException;
-import java.io.Reader;
-import java.util.Iterator;
-import java.util.Properties;
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.namespace.QName;
-import javax.xml.stream.events.Attribute;
-import javax.xml.stream.events.Characters;
-import javax.xml.stream.events.Comment;
-import javax.xml.stream.events.DTD;
-import javax.xml.stream.events.EndDocument;
-import javax.xml.stream.events.EndElement;
-import javax.xml.stream.events.EntityDeclaration;
-import javax.xml.stream.events.EntityReference;
-import javax.xml.stream.events.Namespace;
-import javax.xml.stream.events.ProcessingInstruction;
-import javax.xml.stream.events.StartDocument;
-import javax.xml.stream.events.StartElement;
-
-/**
- * Factory for XML events.
- */
-public abstract class XMLEventFactory
-{
-
- protected XMLEventFactory()
- {
- }
-
- /**
- * Create a new factory instance.
- * @see #newInstance(String,ClassLoader)
- */
- public static XMLEventFactory newInstance()
- throws FactoryConfigurationError
- {
- return newInstance(null, null);
- }
-
- /**
- * Create a new factory instance.
- * The implementation class to load is the first found in the following
- * locations:
- * <ol>
- * <li>the <code>javax.xml.stream.XMLEventFactory</code> system
- * property</li>
- * <li>the above named property value in the
- * <code><i>$JAVA_HOME</i>/lib/stax.properties</code> file</li>
- * <li>the class name specified in the
- * <code>META-INF/services/javax.xml.stream.XMLEventFactory</code>
- * system resource</li>
- * <li>the default factory class</li>
- * </ol>
- */
- static XMLEventFactory newInstance(String factoryId, ClassLoader classLoader)
- throws FactoryConfigurationError
- {
- ClassLoader loader = classLoader;
- if (loader == null)
- {
- loader = Thread.currentThread().getContextClassLoader();
- }
- if (loader == null)
- {
- loader = XMLEventFactory.class.getClassLoader();
- }
- String className = null;
- int count = 0;
- do
- {
- className = getFactoryClassName(loader, count++);
- if (className != null)
- {
- try
- {
- Class t = (loader != null) ? loader.loadClass(className) :
- Class.forName(className);
- return (XMLEventFactory) t.newInstance();
- }
- catch (ClassNotFoundException e)
- {
- className = null;
- }
- catch (Exception e)
- {
- throw new FactoryConfigurationError(e,
- "error instantiating class " + className);
- }
- }
- }
- while (className == null && count < 3);
- return new gnu.xml.stream.XMLEventFactoryImpl();
- }
-
- private static String getFactoryClassName(ClassLoader loader, int attempt)
- {
- final String propertyName = "javax.xml.stream.XMLEventFactory";
- switch (attempt)
- {
- case 0:
- return System.getProperty(propertyName);
- case 1:
- try
- {
- File file = new File(System.getProperty("java.home"));
- file = new File(file, "lib");
- file = new File(file, "stax.properties");
- InputStream in = new FileInputStream(file);
- Properties props = new Properties();
- props.load(in);
- in.close();
- return props.getProperty(propertyName);
- }
- catch (IOException e)
- {
- return null;
- }
- case 2:
- try
- {
- String serviceKey = "/META-INF/services/" + propertyName;
- InputStream in = (loader != null) ?
- loader.getResourceAsStream(serviceKey) :
- XMLEventFactory.class.getResourceAsStream(serviceKey);
- if (in != null)
- {
- BufferedReader r =
- new BufferedReader(new InputStreamReader(in));
- String ret = r.readLine();
- r.close();
- return ret;
- }
- }
- catch (IOException e)
- {
- }
- return null;
- default:
- return null;
- }
- }
-
- /**
- * Sets the location for each event created by this factory.
- */
- public abstract void setLocation(Location location);
-
- /**
- * Create an attribute event.
- */
- public abstract Attribute createAttribute(String prefix, String namespaceURI,
- String localName, String value);
-
- /**
- * Create an attribute event.
- */
- public abstract Attribute createAttribute(String localName, String value);
-
- /**
- * Create an attribute event.
- */
- public abstract Attribute createAttribute(QName name, String value);
-
- /**
- * Create a namespace declaration event.
- */
- public abstract Namespace createNamespace(String namespaceURI);
-
- /**
- * Create a namespace declaration event.
- */
- public abstract Namespace createNamespace(String prefix, String namespaceUri);
-
- /**
- * Create a start-element event.
- */
- public abstract StartElement createStartElement(QName name,
- Iterator attributes,
- Iterator namespaces);
-
- /**
- * Create a start-element event.
- */
- public abstract StartElement createStartElement(String prefix,
- String namespaceUri,
- String localName);
-
- /**
- * Create a start-element event.
- */
- public abstract StartElement createStartElement(String prefix,
- String namespaceUri,
- String localName,
- Iterator attributes,
- Iterator namespaces);
-
- /**
- * Create a start-element event.
- */
- public abstract StartElement createStartElement(String prefix,
- String namespaceUri,
- String localName,
- Iterator attributes,
- Iterator namespaces,
- NamespaceContext context);
-
- /**
- * Create an end-element event.
- */
- public abstract EndElement createEndElement(QName name,
- Iterator namespaces);
-
- /**
- * Create an end-element event.
- */
- public abstract EndElement createEndElement(String prefix,
- String namespaceUri,
- String localName);
-
- /**
- * Create an end-element event.
- */
- public abstract EndElement createEndElement(String prefix,
- String namespaceUri,
- String localName,
- Iterator namespaces);
-
- /**
- * Create a text event.
- */
- public abstract Characters createCharacters(String content);
-
- /**
- * Create a text event of type CDATA section.
- */
- public abstract Characters createCData(String content);
-
- /**
- * Create a text event of type whitespace.
- */
- public abstract Characters createSpace(String content);
-
- /**
- * Create a text event of type ignorable whitespace.
- */
- public abstract Characters createIgnorableSpace(String content);
-
- /**
- * Create a start-document event.
- */
- public abstract StartDocument createStartDocument();
-
- /**
- * Create a start-document event.
- */
- public abstract StartDocument createStartDocument(String encoding,
- String version,
- boolean standalone);
-
- /**
- * Create a start-document event.
- */
- public abstract StartDocument createStartDocument(String encoding,
- String version);
-
- /**
- * Create a start-document event.
- */
- public abstract StartDocument createStartDocument(String encoding);
-
- /**
- * Create an end-document event.
- */
- public abstract EndDocument createEndDocument();
-
- /**
- * Create an entity reference event.
- */
- public abstract EntityReference createEntityReference(String name,
- EntityDeclaration declaration);
-
- /**
- * Create a comment event.
- */
- public abstract Comment createComment(String text);
-
- /**
- * Create a processing instruction event.
- */
- public abstract ProcessingInstruction createProcessingInstruction(String target,
- String data);
-
- /**
- * Create a DOCTYPE declaration event.
- */
- public abstract DTD createDTD(String dtd);
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLEventReader.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLEventReader.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLEventReader.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,102 +0,0 @@
-/* XMLEventReader.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-import java.util.Iterator;
-import javax.xml.stream.events.XMLEvent;
-
-/**
- * An XML parser.
- */
-public interface XMLEventReader
- extends Iterator
-{
-
- /**
- * Returns the next XML event.
- */
- XMLEvent nextEvent()
- throws XMLStreamException;
-
- /**
- * Indicates whether there are more XML events to be read.
- */
- boolean hasNext();
-
- /**
- * Looks at the next XML event without advancing the cursor in the stream.
- * Returns <code>null</code> if there are no more events to read.
- */
- XMLEvent peek()
- throws XMLStreamException;
-
- /**
- * Reads the text context of an element.
- * When invoked, the current event must be START_ELEMENT.
- * On completion, the current event will be END_ELEMENT.
- */
- String getElementText()
- throws XMLStreamException;
-
- /**
- * Returns the next element event.
- * This method skips insignificant space until a START_ELEMENT or
- * END_ELEMENT event is found.
- * @exception XMLStreamException if an event that was not an insignificant
- * space event was encountered
- */
- XMLEvent nextTag()
- throws XMLStreamException;
-
- /**
- * Returns the implementation-specific feature or property of the given
- * name.
- * @exception IllegalArgumentException if the property is not supported
- */
- Object getProperty(String name)
- throws IllegalArgumentException;
-
- /**
- * Free any resources associated with this parser.
- * This method will not close the underlying input source.
- */
- void close()
- throws XMLStreamException;
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLEventWriter.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLEventWriter.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLEventWriter.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,109 +0,0 @@
-/* XMLEventWriter.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-import javax.xml.namespace.NamespaceContext;
-import javax.xml.stream.events.XMLEvent;
-import javax.xml.stream.util.XMLEventConsumer;
-
-/**
- * Interface for writing XML documents from a series of events.
- */
-public interface XMLEventWriter
- extends XMLEventConsumer
-{
-
- /**
- * Ensures that any cached events are written to the underlying output
- * sink.
- */
- void flush()
- throws XMLStreamException;
-
- /**
- * Frees any resources used by this writer.
- */
- void close()
- throws XMLStreamException;
-
- /**
- * Adds the specified event to this writer.
- */
- void add(XMLEvent event)
- throws XMLStreamException;
-
- /**
- * Adds the specified XML stream to this writer.
- * The implementation will call <code>next</code> on the given argument
- * while <code>hasNext</code> returns true.
- */
- void add(XMLEventReader reader)
- throws XMLStreamException;
-
- /**
- * Returns the namespace prefix the specified URI is currently associated
- * with.
- */
- String getPrefix(String uri)
- throws XMLStreamException;
-
- /**
- * Associates the given namespace prefix and URI.
- */
- void setPrefix(String prefix, String uri)
- throws XMLStreamException;
-
- /**
- * Sets the current default namespace URI.
- */
- void setDefaultNamespace(String uri)
- throws XMLStreamException;
-
- /**
- * Sets the namespace context for managing namespace prefixes and URIs.
- */
- void setNamespaceContext(NamespaceContext context)
- throws XMLStreamException;
-
- /**
- * Returns the namespace context.
- */
- NamespaceContext getNamespaceContext();
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLInputFactory.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLInputFactory.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLInputFactory.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,448 +0,0 @@
-/* XMLInputFactory.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.IOException;
-import java.io.Reader;
-import java.io.Writer;
-import java.util.Properties;
-import javax.xml.stream.util.XMLEventAllocator;
-import javax.xml.transform.Source;
-
-/**
- * Factory for creating stream and event readers from various kinds of input
- * source.
- * <h3>Parameters</h3>
- * <table>
- * <tr>
- * <th>Name</th>
- * <th>Description</th>
- * <th>Type</th>
- * <th>Default</th>
- * <th>Required</th>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.isValidating</td>
- * <td>Controls DTD validation</td>
- * <td>Boolean</td>
- * <td>Boolean.FALSE</td>
- * <td>no</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.isNamespaceAware</td>
- * <td>Controls namespace processing for XML 1.0</td>
- * <td>Boolean</td>
- * <td>Boolean.TRUE</td>
- * <td>true is required, false is optional</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.isCoalescing</td>
- * <td>Controls coalescing (normalization of adjacent character data)</td>
- * <td>Boolean</td>
- * <td>Boolean.FALSE</td>
- * <td>yes</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.isReplacingEntityReferences</td>
- * <td>Controls replacement of entity references with their replacement
- * text</td>
- * <td>Boolean</td>
- * <td>Boolean.TRUE</td>
- * <td>yes</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.isSupportingExternalEntities</td>
- * <td>Controls whether to resolve external entities</td>
- * <td>Boolean</td>
- * <td>not specified</td>
- * <td>yes</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.supportDTD</td>
- * <td>Controls whether to support DTDs</td>
- * <td>Boolean</td>
- * <td>Boolean.TRUE</td>
- * <td>yes</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.reporter</td>
- * <td></td>
- * <td>javax.xml.stream.XMLReporter</td>
- * <td></td>
- * <td>yes</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.resolver</td>
- * <td></td>
- * <td>javax.xml.stream.XMLResolver</td>
- * <td></td>
- * <td>yes</td>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.allocator</td>
- * <td></td>
- * <td>javax.xml.stream.util.XMLEventAllocator</td>
- * <td></td>
- * <td>yes</td>
- * </tr>
- * </table>
- */
-public abstract class XMLInputFactory
-{
-
- /**
- * Property used to control namespace support.
- */
- public static final String IS_NAMESPACE_AWARE =
- "javax.xml.stream.isNamespaceAware";
-
- /**
- * Property used to control DTD validation.
- */
- public static final String IS_VALIDATING = "javax.xml.stream.isValidating";
-
- /**
- * Property used to control whether to coalesce adjacent text events.
- */
- public static final String IS_COALESCING = "javax.xml.stream.isCoalescing";
-
- /**
- * Property used to control whether to replace entity references with
- * their replacement text.
- */
- public static final String IS_REPLACING_ENTITY_REFERENCES =
- "javax.xml.stream.isReplacingEntityReferences";
-
- /**
- * Property used to control whether to resolve external entities.
- */
- public static final String IS_SUPPORTING_EXTERNAL_ENTITIES =
- "javax.xml.stream.isSupportingExternalEntities";
-
- /**
- * Property used to indicate whether to support DTDs.
- */
- public static final String SUPPORT_DTD = "javax.xml.stream.supportDTD";
-
- /**
- * Property used to control the error reporter implementation.
- */
- public static final String REPORTER = "javax.xml.stream.reporter";
-
- /**
- * Property used to control the entity resolver implementation.
- */
- public static final String RESOLVER = "javax.xml.stream.resolver";
-
- /**
- * Property used to control the event allocator implementation.
- */
- public static final String ALLOCATOR = "javax.xml.stream.allocator";
-
- protected XMLInputFactory()
- {
- }
-
- /**
- * Creates a new factory instance.
- * @see #newInstance(String,ClassLoader)
- */
- public static XMLInputFactory newInstance()
- throws FactoryConfigurationError
- {
- return newInstance(null, null);
- }
-
- /**
- * Creates a new factory instance.
- * The implementation class to load is the first found in the following
- * locations:
- * <ol>
- * <li>the <code>javax.xml.stream.XMLInputFactory</code> system
- * property</li>
- * <li>the above named property value in the
- * <code><i>$JAVA_HOME</i>/lib/stax.properties</code> file</li>
- * <li>the class name specified in the
- * <code>META-INF/services/javax.xml.stream.XMLInputFactory</code>
- * system resource</li>
- * <li>the default factory class</li>
- * </ol>
- */
- public static XMLInputFactory newInstance(String factoryId,
- ClassLoader classLoader)
- throws FactoryConfigurationError
- {
- ClassLoader loader = classLoader;
- if (loader == null)
- {
- loader = Thread.currentThread().getContextClassLoader();
- }
- if (loader == null)
- {
- loader = XMLInputFactory.class.getClassLoader();
- }
- String className = null;
- int count = 0;
- do
- {
- className = getFactoryClassName(loader, count++);
- if (className != null)
- {
- try
- {
- Class t = (loader != null) ? loader.loadClass(className) :
- Class.forName(className);
- return (XMLInputFactory) t.newInstance();
- }
- catch (ClassNotFoundException e)
- {
- className = null;
- }
- catch (Exception e)
- {
- throw new FactoryConfigurationError(e,
- "error instantiating class " + className);
- }
- }
- }
- while (className == null && count < 3);
- return new gnu.xml.stream.XMLInputFactoryImpl();
- }
-
- private static String getFactoryClassName(ClassLoader loader, int attempt)
- {
- final String propertyName = "javax.xml.stream.XMLInputFactory";
- switch (attempt)
- {
- case 0:
- return System.getProperty(propertyName);
- case 1:
- try
- {
- File file = new File(System.getProperty("java.home"));
- file = new File(file, "lib");
- file = new File(file, "stax.properties");
- InputStream in = new FileInputStream(file);
- Properties props = new Properties();
- props.load(in);
- in.close();
- return props.getProperty(propertyName);
- }
- catch (IOException e)
- {
- return null;
- }
- case 2:
- try
- {
- String serviceKey = "/META-INF/services/" + propertyName;
- InputStream in = (loader != null) ?
- loader.getResourceAsStream(serviceKey) :
- XMLInputFactory.class.getResourceAsStream(serviceKey);
- if (in != null)
- {
- BufferedReader r =
- new BufferedReader(new InputStreamReader(in));
- String ret = r.readLine();
- r.close();
- return ret;
- }
- }
- catch (IOException e)
- {
- }
- return null;
- default:
- return null;
- }
- }
-
- /**
- * Creates a new stream reader.
- */
- public abstract XMLStreamReader createXMLStreamReader(Reader reader)
- throws XMLStreamException;
-
- /**
- * Creates a new stream reader.
- */
- public abstract XMLStreamReader createXMLStreamReader(Source source)
- throws XMLStreamException;
-
- /**
- * Creates a new stream reader.
- */
- public abstract XMLStreamReader createXMLStreamReader(InputStream stream)
- throws XMLStreamException;
-
- /**
- * Creates a new stream reader.
- */
- public abstract XMLStreamReader createXMLStreamReader(InputStream stream,
- String encoding)
- throws XMLStreamException;
-
- /**
- * Creates a new stream reader.
- */
- public abstract XMLStreamReader createXMLStreamReader(String systemId,
- InputStream stream)
- throws XMLStreamException;
-
- /**
- * Creates a new stream reader.
- */
- public abstract XMLStreamReader createXMLStreamReader(String systemId,
- Reader reader)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(Reader reader)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(String systemId,
- Reader reader)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(XMLStreamReader reader)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(Source source)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(InputStream stream)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(InputStream stream,
- String encoding)
- throws XMLStreamException;
-
- /**
- * Creates a new event reader.
- */
- public abstract XMLEventReader createXMLEventReader(String systemId,
- InputStream stream)
- throws XMLStreamException;
-
- /**
- * Create a new filtered reader.
- */
- public abstract XMLStreamReader createFilteredReader(XMLStreamReader reader,
- StreamFilter filter)
- throws XMLStreamException;
-
- /**
- * Create a new filtered reader.
- */
- public abstract XMLEventReader createFilteredReader(XMLEventReader reader,
- EventFilter filter)
- throws XMLStreamException;
-
- /**
- * Returns the entity resolver.
- */
- public abstract XMLResolver getXMLResolver();
-
- /**
- * Sets the entity resolver.
- */
- public abstract void setXMLResolver(XMLResolver resolver);
-
- /**
- * Returns the error reporter.
- */
- public abstract XMLReporter getXMLReporter();
-
- /**
- * Sets the error reporter.
- */
- public abstract void setXMLReporter(XMLReporter reporter);
-
- /**
- * Sets the implementation-specific property of the given name.
- * @exception IllegalArgumentException if the property is not supported
- */
- public abstract void setProperty(String name, Object value)
- throws IllegalArgumentException;
-
- /**
- * Returns the implementation-specific property of the given name.
- * @exception IllegalArgumentException if the property is not supported
- */
- public abstract Object getProperty(String name)
- throws IllegalArgumentException;
-
- /**
- * Indicates whether the specified property is supported.
- */
- public abstract boolean isPropertySupported(String name);
-
- /**
- * Sets the event allocator.
- */
- public abstract void setEventAllocator(XMLEventAllocator allocator);
-
- /**
- * Returns the event allocator.
- */
- public abstract XMLEventAllocator getEventAllocator();
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLOutputFactory.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,272 +0,0 @@
-/* XMLOutputFactory.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-import java.io.BufferedReader;
-import java.io.File;
-import java.io.FileInputStream;
-import java.io.InputStream;
-import java.io.InputStreamReader;
-import java.io.IOException;
-import java.io.OutputStream;
-import java.io.Writer;
-import java.util.Properties;
-import javax.xml.transform.Result;
-
-/**
- * Factory for obtaining XML stream and event writers for various kinds of
- * output sink.
- * <h3>Configuration</h3>
- * <table>
- * <tr>
- * <th>Name</th>
- * <th>Description</th>
- * <th>Type</th>
- * <th>Default</th>
- * <th>Required</th>
- * </tr>
- * <tr>
- * <td>javax.xml.stream.isRepairingNamespaces</td>
- * <td>default namespace prefixes</td>
- * <td>Boolean</td>
- * <td>Boolean.FALSE</td>
- * <td>yes</td>
- * </tr>
- * </table>
- */
-public abstract class XMLOutputFactory
-{
-
- /**
- * Property used to control whether to default namespace prefixes.
- * If true, the writer will create a namespace declaration for any
- * attribute that doesn't have a namespace declaration in scope.
- */
- public static final java.lang.String IS_REPAIRING_NAMESPACES =
- "javax.xml.stream.isRepairingNamespaces";
-
- protected XMLOutputFactory()
- {
- }
-
- /**
- * Creates a new <b>output</b> factory.
- * The implementation class to load is the first found in the following
- * locations:
- * <ol>
- * <li>the <code>javax.xml.stream.XMLOutputFactory</code> system
- * property</li>
- * <li>the above named property value in the
- * <code><i>$JAVA_HOME</i>/lib/stax.properties</code> file</li>
- * <li>the class name specified in the
- * <code>META-INF/services/javax.xml.stream.XMLOutputFactory</code>
- * system resource</li>
- * <li>the default factory class</li>
- * </ol>
- */
- public static XMLOutputFactory newInstance()
- throws FactoryConfigurationError
- {
- ClassLoader loader = Thread.currentThread().getContextClassLoader();
- if (loader == null)
- {
- loader = XMLOutputFactory.class.getClassLoader();
- }
- String className = null;
- int count = 0;
- do
- {
- className = getFactoryClassName(loader, count++);
- if (className != null)
- {
- try
- {
- Class t = (loader != null) ? loader.loadClass(className) :
- Class.forName(className);
- return (XMLOutputFactory) t.newInstance();
- }
- catch (ClassNotFoundException e)
- {
- className = null;
- }
- catch (Exception e)
- {
- throw new FactoryConfigurationError(e,
- "error instantiating class " + className);
- }
- }
- }
- while (className == null && count < 3);
- return new gnu.xml.stream.XMLOutputFactoryImpl();
- }
-
- private static String getFactoryClassName(ClassLoader loader, int attempt)
- {
- final String propertyName = "javax.xml.stream.XMLOutputFactory";
- switch (attempt)
- {
- case 0:
- return System.getProperty(propertyName);
- case 1:
- try
- {
- File file = new File(System.getProperty("java.home"));
- file = new File(file, "lib");
- file = new File(file, "stax.properties");
- InputStream in = new FileInputStream(file);
- Properties props = new Properties();
- props.load(in);
- in.close();
- return props.getProperty(propertyName);
- }
- catch (IOException e)
- {
- return null;
- }
- case 2:
- try
- {
- String serviceKey = "/META-INF/services/" + propertyName;
- InputStream in = (loader != null) ?
- loader.getResourceAsStream(serviceKey) :
- XMLOutputFactory.class.getResourceAsStream(serviceKey);
- if (in != null)
- {
- BufferedReader r =
- new BufferedReader(new InputStreamReader(in));
- String ret = r.readLine();
- r.close();
- return ret;
- }
- }
- catch (IOException e)
- {
- }
- return null;
- default:
- return null;
- }
- }
-
- /**
- * Creates a new <b>input</b> factory.
- * This appears to be an API design bug.
- * @see javax.xml.stream.XMLInputFactory.newInstance(String,ClassLoader)
- */
- public static XMLInputFactory newInstance(String factoryId,
- ClassLoader classLoader)
- throws FactoryConfigurationError
- {
- return XMLInputFactory.newInstance(factoryId, classLoader);
- }
-
- /**
- * Creates a new stream writer.
- */
- public abstract XMLStreamWriter createXMLStreamWriter(Writer stream)
- throws XMLStreamException;
-
- /**
- * Creates a new stream writer.
- */
- public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream)
- throws XMLStreamException;
-
- /**
- * Creates a new stream writer.
- */
- public abstract XMLStreamWriter createXMLStreamWriter(OutputStream stream,
- String encoding)
- throws XMLStreamException;
-
- /**
- * Creates a new stream writer.
- * @exception UnsupportedOperationException if this method is not
- * supported
- */
- public abstract XMLStreamWriter createXMLStreamWriter(Result result)
- throws XMLStreamException;
-
- /**
- * Creates a new event writer.
- * @exception UnsupportedOperationException if this method is not
- * supported
- */
- public abstract XMLEventWriter createXMLEventWriter(Result result)
- throws XMLStreamException;
-
- /**
- * Creates a new event writer.
- */
- public abstract XMLEventWriter createXMLEventWriter(OutputStream stream)
- throws XMLStreamException;
-
- /**
- * Creates a new event writer.
- */
- public abstract XMLEventWriter createXMLEventWriter(OutputStream stream,
- String encoding)
- throws XMLStreamException;
-
- /**
- * Creates a new event writer.
- */
- public abstract XMLEventWriter createXMLEventWriter(Writer stream)
- throws XMLStreamException;
-
- /**
- * Sets the implementation-specific property of the given name.
- * @exception IllegalArgumentException if the property is not supported
- */
- public abstract void setProperty(String name, Object value)
- throws IllegalArgumentException;
-
- /**
- * Returns the implementation-specific property of the given name.
- * @exception IllegalArgumentException if the property is not supported
- */
- public abstract Object getProperty(String name)
- throws IllegalArgumentException;
-
- /**
- * Indicates whether the specified property is supported.
- */
- public abstract boolean isPropertySupported(String name);
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLReporter.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLReporter.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLReporter.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,58 +0,0 @@
-/* XMLReporter.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-/**
- * Interface used to report non-fatal errors during parsing.
- */
-public interface XMLReporter
-{
-
- /**
- * Reports an error.
- * @param message the error message
- * @param errorType an implementation-specific error type
- * @param relatedInformation additional information, if any
- * @param location the error location, if available
- */
- void report(String message, String errorType,
- Object relatedInformation, Location location)
- throws XMLStreamException;
-
-}
-
Deleted: trunk/core/src/classpath/javax/javax/xml/stream/XMLResolver.java
===================================================================
--- trunk/core/src/classpath/javax/javax/xml/stream/XMLResolver.java 2007-06-25 11:45:11 UTC (rev 3314)
+++ trunk/core/src/classpath/javax/javax/xml/stream/XMLResolver.java 2007-06-25 12:03:22 UTC (rev 3315)
@@ -1,66 +0,0 @@
-/* XMLResolver.java --
- Copyright (C) 2005,2006 Free Software Foundation, Inc.
-
-This file is part of GNU Classpath.
-
-GNU Classpath is free software; you can redistribute it and/or modify
-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
-General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with GNU Classpath; see the file COPYING. If not, write to the
-Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
-02110-1301 USA.
-
-Linking this library statically or dynamically with other modules is
-making a combined work based on this library. Thus, the terms and
-conditions of the GNU General Public License cover the whole
-combination.
-
-As a special exception, the copyright holders of this library give you
-permission to link this library with independent modules to produce an
-executable, regardless of the license terms of these independent
-modules, and to copy and distribute the resulting executable under
-terms of your choice, provided that you also meet, for each linked
-independent module, the terms and conditions of the license of that
-module. An independent module is a module which is not derived from
-or based on this library. If you modify this library, you may extend
-this exception to your version of the library, but you are not
-obligated to do so. If you do not wish to do so, delete this
-exception statement from your version. */
-
-package javax.xml.stream;
-
-/**
- * Interface used to resolve XML external entities during parsing.
- */
-public interface XMLResolver
-{
-
- /**
- * Returns an input source from which the specified external entity can be
- * read. The following return types are possible:
- * <ol>
- * <li><code>java.io.InputStream</code></li>
- * <li><code>javax.xml.stream.XMLStreamReader</code></li>
- * <li><code>java.xml.stream.XMLEventReader</code></li>
- * </ol>
- * If <code>null</code> is returned, the processor will attempt to resolve
- * the entity itself.
- * @param publicID the public ID of the external entity
- * @param systemID the system ID of the external entity
- * @param baseURI the absolute base URI of the referring entity
- * @param namespace the namespace of the external entity
- */
- Object resolveEntity(String publicID, String systemID,
- String baseURI, String namespace)
- throws XMLStreamException;
-
-}
-
Deleted: trunk/core...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 11:45:13
|
Revision: 3314
http://jnode.svn.sourceforge.net/jnode/?rev=3314&view=rev
Author: lsantha
Date: 2007-06-25 04:45:11 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/org/org/ietf/
trunk/core/src/classpath/org/org/omg/
trunk/core/src/classpath/org/org/relaxng/
trunk/core/src/classpath/org/org/w3c/dom/Attr.java
trunk/core/src/classpath/org/org/w3c/dom/CDATASection.java
trunk/core/src/classpath/org/org/w3c/dom/CharacterData.java
trunk/core/src/classpath/org/org/w3c/dom/Comment.java
trunk/core/src/classpath/org/org/w3c/dom/DOMConfiguration.java
trunk/core/src/classpath/org/org/w3c/dom/DOMError.java
trunk/core/src/classpath/org/org/w3c/dom/DOMErrorHandler.java
trunk/core/src/classpath/org/org/w3c/dom/DOMException.java
trunk/core/src/classpath/org/org/w3c/dom/DOMImplementation.java
trunk/core/src/classpath/org/org/w3c/dom/DOMImplementationList.java
trunk/core/src/classpath/org/org/w3c/dom/DOMImplementationSource.java
trunk/core/src/classpath/org/org/w3c/dom/DOMLocator.java
trunk/core/src/classpath/org/org/w3c/dom/DOMStringList.java
trunk/core/src/classpath/org/org/w3c/dom/Document.java
trunk/core/src/classpath/org/org/w3c/dom/DocumentFragment.java
trunk/core/src/classpath/org/org/w3c/dom/DocumentType.java
trunk/core/src/classpath/org/org/w3c/dom/Element.java
trunk/core/src/classpath/org/org/w3c/dom/Entity.java
trunk/core/src/classpath/org/org/w3c/dom/EntityReference.java
trunk/core/src/classpath/org/org/w3c/dom/NameList.java
trunk/core/src/classpath/org/org/w3c/dom/NamedNodeMap.java
trunk/core/src/classpath/org/org/w3c/dom/Node.java
trunk/core/src/classpath/org/org/w3c/dom/NodeList.java
trunk/core/src/classpath/org/org/w3c/dom/Notation.java
trunk/core/src/classpath/org/org/w3c/dom/ProcessingInstruction.java
trunk/core/src/classpath/org/org/w3c/dom/Text.java
trunk/core/src/classpath/org/org/w3c/dom/TypeInfo.java
trunk/core/src/classpath/org/org/w3c/dom/UserDataHandler.java
trunk/core/src/classpath/org/org/w3c/dom/bootstrap/
trunk/core/src/classpath/org/org/w3c/dom/css/
trunk/core/src/classpath/org/org/w3c/dom/events/
trunk/core/src/classpath/org/org/w3c/dom/ls/
trunk/core/src/classpath/org/org/w3c/dom/ranges/
trunk/core/src/classpath/org/org/w3c/dom/stylesheets/
trunk/core/src/classpath/org/org/w3c/dom/traversal/
trunk/core/src/classpath/org/org/w3c/dom/views/
trunk/core/src/classpath/org/org/w3c/dom/xpath/
trunk/core/src/classpath/org/org/xml/
Deleted: trunk/core/src/classpath/org/org/w3c/dom/Attr.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/Attr.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/Attr.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,275 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * The <code>Attr</code> interface represents an attribute in an
- * <code>Element</code> object. Typically the allowable values for the
- * attribute are defined in a schema associated with the document.
- * <p><code>Attr</code> objects inherit the <code>Node</code> interface, but
- * since they are not actually child nodes of the element they describe, the
- * DOM does not consider them part of the document tree. Thus, the
- * <code>Node</code> attributes <code>parentNode</code>,
- * <code>previousSibling</code>, and <code>nextSibling</code> have a
- * <code>null</code> value for <code>Attr</code> objects. The DOM takes the
- * view that attributes are properties of elements rather than having a
- * separate identity from the elements they are associated with; this should
- * make it more efficient to implement such features as default attributes
- * associated with all elements of a given type. Furthermore,
- * <code>Attr</code> nodes may not be immediate children of a
- * <code>DocumentFragment</code>. However, they can be associated with
- * <code>Element</code> nodes contained within a
- * <code>DocumentFragment</code>. In short, users and implementors of the
- * DOM need to be aware that <code>Attr</code> nodes have some things in
- * common with other objects inheriting the <code>Node</code> interface, but
- * they also are quite distinct.
- * <p>The attribute's effective value is determined as follows: if this
- * attribute has been explicitly assigned any value, that value is the
- * attribute's effective value; otherwise, if there is a declaration for
- * this attribute, and that declaration includes a default value, then that
- * default value is the attribute's effective value; otherwise, the
- * attribute does not exist on this element in the structure model until it
- * has been explicitly added. Note that the <code>Node.nodeValue</code>
- * attribute on the <code>Attr</code> instance can also be used to retrieve
- * the string version of the attribute's value(s).
- * <p> If the attribute was not explicitly given a value in the instance
- * document but has a default value provided by the schema associated with
- * the document, an attribute node will be created with
- * <code>specified</code> set to <code>false</code>. Removing attribute
- * nodes for which a default value is defined in the schema generates a new
- * attribute node with the default value and <code>specified</code> set to
- * <code>false</code>. If validation occurred while invoking
- * <code>Document.normalizeDocument()</code>, attribute nodes with
- * <code>specified</code> equals to <code>false</code> are recomputed
- * according to the default attribute values provided by the schema. If no
- * default value is associate with this attribute in the schema, the
- * attribute node is discarded.
- * <p>In XML, where the value of an attribute can contain entity references,
- * the child nodes of the <code>Attr</code> node may be either
- * <code>Text</code> or <code>EntityReference</code> nodes (when these are
- * in use; see the description of <code>EntityReference</code> for
- * discussion).
- * <p>The DOM Core represents all attribute values as simple strings, even if
- * the DTD or schema associated with the document declares them of some
- * specific type such as tokenized.
- * <p>The way attribute value normalization is performed by the DOM
- * implementation depends on how much the implementation knows about the
- * schema in use. Typically, the <code>value</code> and
- * <code>nodeValue</code> attributes of an <code>Attr</code> node initially
- * returns the normalized value given by the parser. It is also the case
- * after <code>Document.normalizeDocument()</code> is called (assuming the
- * right options have been set). But this may not be the case after
- * mutation, independently of whether the mutation is performed by setting
- * the string value directly or by changing the <code>Attr</code> child
- * nodes. In particular, this is true when <a href='http://www.w3.org/TR/2004/REC-xml-20040204#dt-charref'>character
- * references</a> are involved, given that they are not represented in the DOM and they
- * impact attribute value normalization. On the other hand, if the
- * implementation knows about the schema in use when the attribute value is
- * changed, and it is of a different type than CDATA, it may normalize it
- * again at that time. This is especially true of specialized DOM
- * implementations, such as SVG DOM implementations, which store attribute
- * values in an internal form different from a string.
- * <p>The following table gives some examples of the relations between the
- * attribute value in the original document (parsed attribute), the value as
- * exposed in the DOM, and the serialization of the value:
- * <table border='1' cellpadding='3'>
- * <tr>
- * <th>Examples</th>
- * <th>Parsed
- * attribute value</th>
- * <th>Initial <code>Attr.value</code></th>
- * <th>Serialized attribute value</th>
- * </tr>
- * <tr>
- * <td valign='top' rowspan='1' colspan='1'>
- * Character reference</td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x&#178;=5"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x\u00b2=5"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x&#178;=5"</pre>
- * </td>
- * </tr>
- * <tr>
- * <td valign='top' rowspan='1' colspan='1'>Built-in
- * character entity</td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"y&lt;6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"y<6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"y&lt;6"</pre>
- * </td>
- * </tr>
- * <tr>
- * <td valign='top' rowspan='1' colspan='1'>Literal newline between</td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>
- * "x=5&#10;y=6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x=5 y=6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x=5&#10;y=6"</pre>
- * </td>
- * </tr>
- * <tr>
- * <td valign='top' rowspan='1' colspan='1'>Normalized newline between</td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x=5
- * y=6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x=5 y=6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>"x=5 y=6"</pre>
- * </td>
- * </tr>
- * <tr>
- * <td valign='top' rowspan='1' colspan='1'>Entity <code>e</code> with literal newline</td>
- * <td valign='top' rowspan='1' colspan='1'>
- * <pre>
- * <!ENTITY e '...&#10;...'> [...]> "x=5&e;y=6"</pre>
- * </td>
- * <td valign='top' rowspan='1' colspan='1'><em>Dependent on Implementation and Load Options</em></td>
- * <td valign='top' rowspan='1' colspan='1'><em>Dependent on Implementation and Load/Save Options</em></td>
- * </tr>
- * </table>
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- */
-public interface Attr extends Node {
- /**
- * Returns the name of this attribute. If <code>Node.localName</code> is
- * different from <code>null</code>, this attribute is a qualified name.
- */
- public String getName();
-
- /**
- * <code>True</code> if this attribute was explicitly given a value in
- * the instance document, <code>false</code> otherwise. If the
- * application changed the value of this attribute node (even if it ends
- * up having the same value as the default value) then it is set to
- * <code>true</code>. The implementation may handle attributes with
- * default values from other schemas similarly but applications should
- * use <code>Document.normalizeDocument()</code> to guarantee this
- * information is up-to-date.
- */
- public boolean getSpecified();
-
- /**
- * On retrieval, the value of the attribute is returned as a string.
- * Character and general entity references are replaced with their
- * values. See also the method <code>getAttribute</code> on the
- * <code>Element</code> interface.
- * <br>On setting, this creates a <code>Text</code> node with the unparsed
- * contents of the string, i.e. any characters that an XML processor
- * would recognize as markup are instead treated as literal text. See
- * also the method <code>Element.setAttribute()</code>.
- * <br> Some specialized implementations, such as some [<a href='http://www.w3.org/TR/2003/REC-SVG11-20030114/'>SVG 1.1</a>]
- * implementations, may do normalization automatically, even after
- * mutation; in such case, the value on retrieval may differ from the
- * value on setting.
- */
- public String getValue();
- /**
- * On retrieval, the value of the attribute is returned as a string.
- * Character and general entity references are replaced with their
- * values. See also the method <code>getAttribute</code> on the
- * <code>Element</code> interface.
- * <br>On setting, this creates a <code>Text</code> node with the unparsed
- * contents of the string, i.e. any characters that an XML processor
- * would recognize as markup are instead treated as literal text. See
- * also the method <code>Element.setAttribute()</code>.
- * <br> Some specialized implementations, such as some [<a href='http://www.w3.org/TR/2003/REC-SVG11-20030114/'>SVG 1.1</a>]
- * implementations, may do normalization automatically, even after
- * mutation; in such case, the value on retrieval may differ from the
- * value on setting.
- * @exception DOMException
- * NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
- */
- public void setValue(String value)
- throws DOMException;
-
- /**
- * The <code>Element</code> node this attribute is attached to or
- * <code>null</code> if this attribute is not in use.
- * @since DOM Level 2
- */
- public Element getOwnerElement();
-
- /**
- * The type information associated with this attribute. While the type
- * information contained in this attribute is guarantee to be correct
- * after loading the document or invoking
- * <code>Document.normalizeDocument()</code>, <code>schemaTypeInfo</code>
- * may not be reliable if the node was moved.
- * @since DOM Level 3
- */
- public TypeInfo getSchemaTypeInfo();
-
- /**
- * Returns whether this attribute is known to be of type ID (i.e. to
- * contain an identifier for its owner element) or not. When it is and
- * its value is unique, the <code>ownerElement</code> of this attribute
- * can be retrieved using the method <code>Document.getElementById</code>
- * . The implementation could use several ways to determine if an
- * attribute node is known to contain an identifier:
- * <ul>
- * <li> If validation
- * occurred using an XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>]
- * while loading the document or while invoking
- * <code>Document.normalizeDocument()</code>, the post-schema-validation
- * infoset contributions (PSVI contributions) values are used to
- * determine if this attribute is a schema-determined ID attribute using
- * the <a href='http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#term-sdi'>
- * schema-determined ID</a> definition in [<a href='http://www.w3.org/TR/2003/REC-xptr-framework-20030325/'>XPointer</a>]
- * .
- * </li>
- * <li> If validation occurred using a DTD while loading the document or
- * while invoking <code>Document.normalizeDocument()</code>, the infoset <b>[type definition]</b> value is used to determine if this attribute is a DTD-determined ID
- * attribute using the <a href='http://www.w3.org/TR/2003/REC-xptr-framework-20030325/#term-ddi'>
- * DTD-determined ID</a> definition in [<a href='http://www.w3.org/TR/2003/REC-xptr-framework-20030325/'>XPointer</a>]
- * .
- * </li>
- * <li> from the use of the methods <code>Element.setIdAttribute()</code>,
- * <code>Element.setIdAttributeNS()</code>, or
- * <code>Element.setIdAttributeNode()</code>, i.e. it is an
- * user-determined ID attribute;
- * <p ><b>Note:</b> XPointer framework (see section 3.2 in [<a href='http://www.w3.org/TR/2003/REC-xptr-framework-20030325/'>XPointer</a>]
- * ) consider the DOM user-determined ID attribute as being part of the
- * XPointer externally-determined ID definition.
- * </li>
- * <li> using mechanisms that
- * are outside the scope of this specification, it is then an
- * externally-determined ID attribute. This includes using schema
- * languages different from XML schema and DTD.
- * </li>
- * </ul>
- * <br> If validation occurred while invoking
- * <code>Document.normalizeDocument()</code>, all user-determined ID
- * attributes are reset and all attribute nodes ID information are then
- * reevaluated in accordance to the schema used. As a consequence, if
- * the <code>Attr.schemaTypeInfo</code> attribute contains an ID type,
- * <code>isId</code> will always return true.
- * @since DOM Level 3
- */
- public boolean isId();
-
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/CDATASection.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/CDATASection.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/CDATASection.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * CDATA sections are used to escape blocks of text containing characters that
- * would otherwise be regarded as markup. The only delimiter that is
- * recognized in a CDATA section is the "]]>" string that ends the CDATA
- * section. CDATA sections cannot be nested. Their primary purpose is for
- * including material such as XML fragments, without needing to escape all
- * the delimiters.
- * <p>The <code>CharacterData.data</code> attribute holds the text that is
- * contained by the CDATA section. Note that this <em>may</em> contain characters that need to be escaped outside of CDATA sections and
- * that, depending on the character encoding ("charset") chosen for
- * serialization, it may be impossible to write out some characters as part
- * of a CDATA section.
- * <p>The <code>CDATASection</code> interface inherits from the
- * <code>CharacterData</code> interface through the <code>Text</code>
- * interface. Adjacent <code>CDATASection</code> nodes are not merged by use
- * of the <code>normalize</code> method of the <code>Node</code> interface.
- * <p> No lexical check is done on the content of a CDATA section and it is
- * therefore possible to have the character sequence <code>"]]>"</code>
- * in the content, which is illegal in a CDATA section per section 2.7 of [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]. The
- * presence of this character sequence must generate a fatal error during
- * serialization or the cdata section must be splitted before the
- * serialization (see also the parameter <code>"split-cdata-sections"</code>
- * in the <code>DOMConfiguration</code> interface).
- * <p ><b>Note:</b> Because no markup is recognized within a
- * <code>CDATASection</code>, character numeric references cannot be used as
- * an escape mechanism when serializing. Therefore, action needs to be taken
- * when serializing a <code>CDATASection</code> with a character encoding
- * where some of the contained characters cannot be represented. Failure to
- * do so would not produce well-formed XML.
- * <p ><b>Note:</b> One potential solution in the serialization process is to
- * end the CDATA section before the character, output the character using a
- * character reference or entity reference, and open a new CDATA section for
- * any further characters in the text node. Note, however, that some code
- * conversion libraries at the time of writing do not return an error or
- * exception when a character is missing from the encoding, making the task
- * of ensuring that data is not corrupted on serialization more difficult.
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- */
-public interface CDATASection extends Text {
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/CharacterData.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/CharacterData.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/CharacterData.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,153 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * The <code>CharacterData</code> interface extends Node with a set of
- * attributes and methods for accessing character data in the DOM. For
- * clarity this set is defined here rather than on each object that uses
- * these attributes and methods. No DOM objects correspond directly to
- * <code>CharacterData</code>, though <code>Text</code> and others do
- * inherit the interface from it. All <code>offsets</code> in this interface
- * start from <code>0</code>.
- * <p>As explained in the <code>DOMString</code> interface, text strings in
- * the DOM are represented in UTF-16, i.e. as a sequence of 16-bit units. In
- * the following, the term 16-bit units is used whenever necessary to
- * indicate that indexing on CharacterData is done in 16-bit units.
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- */
-public interface CharacterData extends Node {
- /**
- * The character data of the node that implements this interface. The DOM
- * implementation may not put arbitrary limits on the amount of data
- * that may be stored in a <code>CharacterData</code> node. However,
- * implementation limits may mean that the entirety of a node's data may
- * not fit into a single <code>DOMString</code>. In such cases, the user
- * may call <code>substringData</code> to retrieve the data in
- * appropriately sized pieces.
- * @exception DOMException
- * DOMSTRING_SIZE_ERR: Raised when it would return more characters than
- * fit in a <code>DOMString</code> variable on the implementation
- * platform.
- */
- public String getData()
- throws DOMException;
- /**
- * The character data of the node that implements this interface. The DOM
- * implementation may not put arbitrary limits on the amount of data
- * that may be stored in a <code>CharacterData</code> node. However,
- * implementation limits may mean that the entirety of a node's data may
- * not fit into a single <code>DOMString</code>. In such cases, the user
- * may call <code>substringData</code> to retrieve the data in
- * appropriately sized pieces.
- * @exception DOMException
- * NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
- */
- public void setData(String data)
- throws DOMException;
-
- /**
- * The number of 16-bit units that are available through <code>data</code>
- * and the <code>substringData</code> method below. This may have the
- * value zero, i.e., <code>CharacterData</code> nodes may be empty.
- */
- public int getLength();
-
- /**
- * Extracts a range of data from the node.
- * @param offset Start offset of substring to extract.
- * @param count The number of 16-bit units to extract.
- * @return The specified substring. If the sum of <code>offset</code> and
- * <code>count</code> exceeds the <code>length</code>, then all 16-bit
- * units to the end of the data are returned.
- * @exception DOMException
- * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is
- * negative or greater than the number of 16-bit units in
- * <code>data</code>, or if the specified <code>count</code> is
- * negative.
- * <br>DOMSTRING_SIZE_ERR: Raised if the specified range of text does
- * not fit into a <code>DOMString</code>.
- */
- public String substringData(int offset,
- int count)
- throws DOMException;
-
- /**
- * Append the string to the end of the character data of the node. Upon
- * success, <code>data</code> provides access to the concatenation of
- * <code>data</code> and the <code>DOMString</code> specified.
- * @param arg The <code>DOMString</code> to append.
- * @exception DOMException
- * NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
- */
- public void appendData(String arg)
- throws DOMException;
-
- /**
- * Insert a string at the specified 16-bit unit offset.
- * @param offset The character offset at which to insert.
- * @param arg The <code>DOMString</code> to insert.
- * @exception DOMException
- * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is
- * negative or greater than the number of 16-bit units in
- * <code>data</code>.
- * <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
- */
- public void insertData(int offset,
- String arg)
- throws DOMException;
-
- /**
- * Remove a range of 16-bit units from the node. Upon success,
- * <code>data</code> and <code>length</code> reflect the change.
- * @param offset The offset from which to start removing.
- * @param count The number of 16-bit units to delete. If the sum of
- * <code>offset</code> and <code>count</code> exceeds
- * <code>length</code> then all 16-bit units from <code>offset</code>
- * to the end of the data are deleted.
- * @exception DOMException
- * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is
- * negative or greater than the number of 16-bit units in
- * <code>data</code>, or if the specified <code>count</code> is
- * negative.
- * <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
- */
- public void deleteData(int offset,
- int count)
- throws DOMException;
-
- /**
- * Replace the characters starting at the specified 16-bit unit offset
- * with the specified string.
- * @param offset The offset from which to start replacing.
- * @param count The number of 16-bit units to replace. If the sum of
- * <code>offset</code> and <code>count</code> exceeds
- * <code>length</code>, then all 16-bit units to the end of the data
- * are replaced; (i.e., the effect is the same as a <code>remove</code>
- * method call with the same range, followed by an <code>append</code>
- * method invocation).
- * @param arg The <code>DOMString</code> with which the range must be
- * replaced.
- * @exception DOMException
- * INDEX_SIZE_ERR: Raised if the specified <code>offset</code> is
- * negative or greater than the number of 16-bit units in
- * <code>data</code>, or if the specified <code>count</code> is
- * negative.
- * <br>NO_MODIFICATION_ALLOWED_ERR: Raised if this node is readonly.
- */
- public void replaceData(int offset,
- int count,
- String arg)
- throws DOMException;
-
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/Comment.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/Comment.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/Comment.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * This interface inherits from <code>CharacterData</code> and represents the
- * content of a comment, i.e., all the characters between the starting '
- * <code><!--</code>' and ending '<code>--></code>'. Note that this is
- * the definition of a comment in XML, and, in practice, HTML, although some
- * HTML tools may implement the full SGML comment structure.
- * <p> No lexical check is done on the content of a comment and it is
- * therefore possible to have the character sequence <code>"--"</code>
- * (double-hyphen) in the content, which is illegal in a comment per section
- * 2.5 of [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]. The
- * presence of this character sequence must generate a fatal error during
- * serialization.
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- */
-public interface Comment extends CharacterData {
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/DOMConfiguration.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/DOMConfiguration.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/DOMConfiguration.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,413 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * The <code>DOMConfiguration</code> interface represents the configuration
- * of a document and maintains a table of recognized parameters. Using the
- * configuration, it is possible to change
- * <code>Document.normalizeDocument()</code> behavior, such as replacing the
- * <code>CDATASection</code> nodes with <code>Text</code> nodes or
- * specifying the type of the schema that must be used when the validation
- * of the <code>Document</code> is requested. <code>DOMConfiguration</code>
- * objects are also used in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>DOM Level 3 Load and Save</a>]
- * in the <code>DOMParser</code> and <code>DOMSerializer</code> interfaces.
- * <p> The parameter names used by the <code>DOMConfiguration</code> object
- * are defined throughout the DOM Level 3 specifications. Names are
- * case-insensitive. To avoid possible conflicts, as a convention, names
- * referring to parameters defined outside the DOM specification should be
- * made unique. Because parameters are exposed as properties in the , names
- * are recommended to follow the section 5.16 Identifiers of [Unicode] with the addition of the character '-' (HYPHEN-MINUS) but it is not
- * enforced by the DOM implementation. DOM Level 3 Core Implementations are
- * required to recognize all parameters defined in this specification. Some
- * parameter values may also be required to be supported by the
- * implementation. Refer to the definition of the parameter to know if a
- * value must be supported or not.
- * <p ><b>Note:</b> Parameters are similar to features and properties used in
- * SAX2 [<a href='http://www.saxproject.org/'>SAX</a>].
- * <p> The following list of parameters defined in the DOM:
- * <dl>
- * <dt>
- * <code>"canonical-form"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>optional</em>] Canonicalize the document according to the rules specified in [<a href='http://www.w3.org/TR/2001/REC-xml-c14n-20010315'>Canonical XML</a>],
- * such as removing the <code>DocumentType</code> node (if any) from the
- * tree, or removing superfluous namespace declarations from each element.
- * Note that this is limited to what can be represented in the DOM; in
- * particular, there is no way to specify the order of the attributes in the
- * DOM. In addition, Setting this parameter to <code>true</code> will also
- * set the state of the parameters listed below. Later changes to the state
- * of one of those parameters will revert "canonical-form" back to
- * <code>false</code>. Parameters set to <code>false</code>: "entities", "
- * normalize-characters", "cdata-sections". Parameters set to
- * <code>true</code>: "namespaces", "namespace-declarations", "well-formed",
- * "element-content-whitespace". Other parameters are not changed unless
- * explicitly specified in the description of the parameters.</dd>
- * <dt>
- * <code>false</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Do not canonicalize the document.</dd>
- * </dl></dd>
- * <dt><code>"cdata-sections"</code></dt>
- * <dd>
- * <dl>
- * <dt>
- * <code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Keep <code>CDATASection</code> nodes in the document.</dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>required</em>]Transform <code>CDATASection</code> nodes in the document into
- * <code>Text</code> nodes. The new <code>Text</code> node is then combined
- * with any adjacent <code>Text</code> node.</dd>
- * </dl></dd>
- * <dt>
- * <code>"check-character-normalization"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>optional</em>] Check if the characters in the document are <a href='http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-fullnorm'>fully
- * normalized</a>, as defined in appendix B of [<a href='http://www.w3.org/TR/2004/REC-xml11-20040204/'>XML 1.1</a>]. When a
- * sequence of characters is encountered that fails normalization checking,
- * an error with the <code>DOMError.type</code> equals to
- * "check-character-normalization-failure" is issued. </dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Do not check if characters are normalized.</dd>
- * </dl></dd>
- * <dt><code>"comments"</code></dt>
- * <dd>
- * <dl>
- * <dt>
- * <code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Keep <code>Comment</code> nodes in the document.</dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>required</em>]Discard <code>Comment</code> nodes in the document.</dd>
- * </dl></dd>
- * <dt>
- * <code>"datatype-normalization"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>optional</em>] Expose schema normalized values in the tree, such as <a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/#key-nv'>XML
- * Schema normalized values</a> in the case of XML Schema. Since this parameter requires to have schema
- * information, the "validate" parameter will also be set to
- * <code>true</code>. Having this parameter activated when "validate" is
- * <code>false</code> has no effect and no schema-normalization will happen.
- * <p ><b>Note:</b> Since the document contains the result of the XML 1.0
- * processing, this parameter does not apply to attribute value
- * normalization as defined in section 3.3.3 of [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] and is only
- * meant for schema languages other than Document Type Definition (DTD). </dd>
- * <dt>
- * <code>false</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>) Do not perform schema normalization on the tree. </dd>
- * </dl></dd>
- * <dt>
- * <code>"element-content-whitespace"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Keep all whitespaces in the document.</dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>optional</em>] Discard all <code>Text</code> nodes that contain whitespaces in element
- * content, as described in <a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204#infoitem.character'>
- * [element content whitespace]</a>. The implementation is expected to use the attribute
- * <code>Text.isElementContentWhitespace</code> to determine if a
- * <code>Text</code> node should be discarded or not.</dd>
- * </dl></dd>
- * <dt><code>"entities"</code></dt>
- * <dd>
- * <dl>
- * <dt>
- * <code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Keep <code>EntityReference</code> nodes in the document.</dd>
- * <dt>
- * <code>false</code></dt>
- * <dd>[<em>required</em>] Remove all <code>EntityReference</code> nodes from the document,
- * putting the entity expansions directly in their place. <code>Text</code>
- * nodes are normalized, as defined in <code>Node.normalize</code>. Only <a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204/#infoitem.rse'>
- * unexpanded entity references</a> are kept in the document. </dd>
- * </dl>
- * <p ><b>Note:</b> This parameter does not affect <code>Entity</code> nodes. </dd>
- * <dt>
- * <code>"error-handler"</code></dt>
- * <dd>[<em>required</em>] Contains a <code>DOMErrorHandler</code> object. If an error is
- * encountered in the document, the implementation will call back the
- * <code>DOMErrorHandler</code> registered using this parameter. The
- * implementation may provide a default <code>DOMErrorHandler</code> object.
- * When called, <code>DOMError.relatedData</code> will contain the closest
- * node to where the error occurred. If the implementation is unable to
- * determine the node where the error occurs,
- * <code>DOMError.relatedData</code> will contain the <code>Document</code>
- * node. Mutations to the document from within an error handler will result
- * in implementation dependent behavior. </dd>
- * <dt><code>"infoset"</code></dt>
- * <dd>
- * <dl>
- * <dt>
- * <code>true</code></dt>
- * <dd>[<em>required</em>]Keep in the document the information defined in the XML Information Set [<a href='http://www.w3.org/TR/2004/REC-xml-infoset-20040204/'>XML Information Set</a>]
- * .This forces the following parameters to <code>false</code>: "
- * validate-if-schema", "entities", "datatype-normalization", "cdata-sections
- * ".This forces the following parameters to <code>true</code>: "
- * namespace-declarations", "well-formed", "element-content-whitespace", "
- * comments", "namespaces".Other parameters are not changed unless
- * explicitly specified in the description of the parameters. Note that
- * querying this parameter with <code>getParameter</code> returns
- * <code>true</code> only if the individual parameters specified above are
- * appropriately set.</dd>
- * <dt><code>false</code></dt>
- * <dd>Setting <code>infoset</code> to
- * <code>false</code> has no effect.</dd>
- * </dl></dd>
- * <dt><code>"namespaces"</code></dt>
- * <dd>
- * <dl>
- * <dt>
- * <code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>) Perform the namespace processing as defined in . </dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>optional</em>] Do not perform the namespace processing. </dd>
- * </dl></dd>
- * <dt>
- * <code>"namespace-declarations"</code></dt>
- * <dd> This parameter has no effect if the
- * parameter "namespaces" is set to <code>false</code>.
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>) Include namespace declaration attributes, specified or defaulted from
- * the schema, in the document. See also the sections "Declaring Namespaces"
- * in [<a href='http://www.w3.org/TR/1999/REC-xml-names-19990114/'>XML Namespaces</a>]
- * and [<a href='http://www.w3.org/TR/2004/REC-xml-names11-20040204/'>XML Namespaces 1.1</a>]
- * .</dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>required</em>]Discard all namespace declaration attributes. The namespace prefixes (
- * <code>Node.prefix</code>) are retained even if this parameter is set to
- * <code>false</code>.</dd>
- * </dl></dd>
- * <dt><code>"normalize-characters"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>optional</em>] <a href='http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-fullnorm'>Fully
- * normalized</a> the characters in the document as defined in appendix B of [<a href='http://www.w3.org/TR/2004/REC-xml11-20040204/'>XML 1.1</a>]. </dd>
- * <dt>
- * <code>false</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Do not perform character normalization.</dd>
- * </dl></dd>
- * <dt><code>"schema-location"</code></dt>
- * <dd>[<em>optional</em>] Represent a <code>DOMString</code> object containing a list of URIs,
- * separated by whitespaces (characters matching the <a href='http://www.w3.org/TR/2004/REC-xml-20040204#NT-S'>nonterminal
- * production S</a> defined in section 2.3 [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]), that
- * represents the schemas against which validation should occur, i.e. the
- * current schema. The types of schemas referenced in this list must match
- * the type specified with <code>schema-type</code>, otherwise the behavior
- * of an implementation is undefined. The schemas specified using this
- * property take precedence to the schema information specified in the
- * document itself. For namespace aware schema, if a schema specified using
- * this property and a schema specified in the document instance (i.e. using
- * the <code>schemaLocation</code> attribute) in a schema document (i.e.
- * using schema <code>import</code> mechanisms) share the same
- * <code>targetNamespace</code>, the schema specified by the user using this
- * property will be used. If two schemas specified using this property share
- * the same <code>targetNamespace</code> or have no namespace, the behavior
- * is implementation dependent. If no location has been provided, this
- * parameter is <code>null</code>.
- * <p ><b>Note:</b> The <code>"schema-location"</code> parameter is ignored
- * unless the "schema-type" parameter value is set. It is strongly
- * recommended that <code>Document.documentURI</code> will be set so that an
- * implementation can successfully resolve any external entities referenced. </dd>
- * <dt>
- * <code>"schema-type"</code></dt>
- * <dd>[<em>optional</em>] Represent a <code>DOMString</code> object containing an absolute URI
- * and representing the type of the schema language used to validate a
- * document against. Note that no lexical checking is done on the absolute
- * URI. If this parameter is not set, a default value may be provided by
- * the implementation, based on the schema languages supported and on the
- * schema language used at load time. If no value is provided, this
- * parameter is <code>null</code>.
- * <p ><b>Note:</b> For XML Schema [<a href='http://www.w3.org/TR/2001/REC-xmlschema-1-20010502/'>XML Schema Part 1</a>]
- * , applications must use the value
- * <code>"http://www.w3.org/2001/XMLSchema"</code>. For XML DTD [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>],
- * applications must use the value
- * <code>"http://www.w3.org/TR/REC-xml"</code>. Other schema languages are
- * outside the scope of the W3C and therefore should recommend an absolute
- * URI in order to use this method. </dd>
- * <dt><code>"split-cdata-sections"</code></dt>
- * <dd>
- * <dl>
- * <dt>
- * <code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>)Split CDATA sections containing the CDATA section termination marker
- * ']]>'. When a CDATA section is split a warning is issued with a
- * <code>DOMError.type</code> equals to
- * <code>"cdata-sections-splitted"</code> and
- * <code>DOMError.relatedData</code> equals to the first
- * <code>CDATASection</code> node in document order resulting from the split.</dd>
- * <dt>
- * <code>false</code></dt>
- * <dd>[<em>required</em>]Signal an error if a <code>CDATASection</code> contains an
- * unrepresentable character.</dd>
- * </dl></dd>
- * <dt><code>"validate"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>optional</em>] Require the validation against a schema (i.e. XML schema, DTD, any
- * other type or representation of schema) of the document as it is being
- * normalized as defined by [<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>]. If
- * validation errors are found, or no schema was found, the error handler is
- * notified. Schema-normalized values will not be exposed according to the
- * schema in used unless the parameter "datatype-normalization" is
- * <code>true</code>. This parameter will reevaluate:
- * <ul>
- * <li> Attribute nodes with
- * <code>Attr.specified</code> equals to <code>false</code>, as specified in
- * the description of the <code>Attr</code> interface;
- * </li>
- * <li> The value of the
- * attribute <code>Text.isElementContentWhitespace</code> for all
- * <code>Text</code> nodes;
- * </li>
- * <li> The value of the attribute
- * <code>Attr.isId</code> for all <code>Attr</code> nodes;
- * </li>
- * <li> The attributes
- * <code>Element.schemaTypeInfo</code> and <code>Attr.schemaTypeInfo</code>.
- * </li>
- * </ul>
- * <p ><b>Note:</b> "validate-if-schema" and "validate" are mutually
- * exclusive, setting one of them to <code>true</code> will set the other
- * one to <code>false</code>. Applications should also consider setting the
- * parameter "well-formed" to <code>true</code>, which is the default for
- * that option, when validating the document. </dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>) Do not accomplish schema processing, including the internal subset
- * processing. Default attribute values information are kept. Note that
- * validation might still happen if "validate-if-schema" is <code>true</code>
- * . </dd>
- * </dl></dd>
- * <dt><code>"validate-if-schema"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>optional</em>]Enable validation only if a declaration for the document element can be
- * found in a schema (independently of where it is found, i.e. XML schema,
- * DTD, or any other type or representation of schema). If validation is
- * enabled, this parameter has the same behavior as the parameter "validate"
- * set to <code>true</code>.
- * <p ><b>Note:</b> "validate-if-schema" and "validate" are mutually
- * exclusive, setting one of them to <code>true</code> will set the other
- * one to <code>false</code>. </dd>
- * <dt><code>false</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>) No schema processing should be performed if the document has a schema,
- * including internal subset processing. Default attribute values
- * information are kept. Note that validation must still happen if "validate
- * " is <code>true</code>. </dd>
- * </dl></dd>
- * <dt><code>"well-formed"</code></dt>
- * <dd>
- * <dl>
- * <dt><code>true</code></dt>
- * <dd>[<em>required</em>] (<em>default</em>) Check if all nodes are XML well formed according to the XML version in
- * use in <code>Document.xmlVersion</code>:
- * <ul>
- * <li> check if the attribute
- * <code>Node.nodeName</code> contains invalid characters according to its
- * node type and generate a <code>DOMError</code> of type
- * <code>"wf-invalid-character-in-node-name"</code>, with a
- * <code>DOMError.SEVERITY_ERROR</code> severity, if necessary;
- * </li>
- * <li> check if
- * the text content inside <code>Attr</code>, <code>Element</code>,
- * <code>Comment</code>, <code>Text</code>, <code>CDATASection</code> nodes
- * for invalid characters and generate a <code>DOMError</code> of type
- * <code>"wf-invalid-character"</code>, with a
- * <code>DOMError.SEVERITY_ERROR</code> severity, if necessary;
- * </li>
- * <li> check if
- * the data inside <code>ProcessingInstruction</code> nodes for invalid
- * characters and generate a <code>DOMError</code> of type
- * <code>"wf-invalid-character"</code>, with a
- * <code>DOMError.SEVERITY_ERROR</code> severity, if necessary;
- * </li>
- * </ul></dd>
- * <dt>
- * <code>false</code></dt>
- * <dd>[<em>optional</em>] Do not check for XML well-formedness. </dd>
- * </dl></dd>
- * </dl>
- * <p> The resolution of the system identifiers associated with entities is
- * done using <code>Document.documentURI</code>. However, when the feature
- * "LS" defined in [<a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407'>DOM Level 3 Load and Save</a>]
- * is supported by the DOM implementation, the parameter
- * "resource-resolver" can also be used on <code>DOMConfiguration</code>
- * objects attached to <code>Document</code> nodes. If this parameter is
- * set, <code>Document.normalizeDocument()</code> will invoke the resource
- * resolver instead of using <code>Document.documentURI</code>.
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- * @since DOM Level 3
- */
-public interface DOMConfiguration {
- /**
- * Set the value of a parameter.
- * @param name The name of the parameter to set.
- * @param value The new value or <code>null</code> if the user wishes to
- * unset the parameter. While the type of the value parameter is
- * defined as <code>DOMUserData</code>, the object type must match the
- * type defined by the definition of the parameter. For example, if
- * the parameter is "error-handler", the value must be of type
- * <code>DOMErrorHandler</code>.
- * @exception DOMException
- * NOT_FOUND_ERR: Raised when the parameter name is not recognized.
- * <br> NOT_SUPPORTED_ERR: Raised when the parameter name is recognized
- * but the requested value cannot be set.
- * <br> TYPE_MISMATCH_ERR: Raised if the value type for this parameter
- * name is incompatible with the expected value type.
- */
- public void setParameter(String name,
- Object value)
- throws DOMException;
-
- /**
- * Return the value of a parameter if known.
- * @param name The name of the parameter.
- * @return The current object associated with the specified parameter or
- * <code>null</code> if no object has been associated or if the
- * parameter is not supported.
- * @exception DOMException
- * NOT_FOUND_ERR: Raised when the parameter name is not recognized.
- */
- public Object getParameter(String name)
- throws DOMException;
-
- /**
- * Check if setting a parameter to a specific value is supported.
- * @param name The name of the parameter to check.
- * @param value An object. if <code>null</code>, the returned value is
- * <code>true</code>.
- * @return <code>true</code> if the parameter could be successfully set
- * to the specified value, or <code>false</code> if the parameter is
- * not recognized or the requested value is not supported. This does
- * not change the current value of the parameter itself.
- */
- public boolean canSetParameter(String name,
- Object value);
-
- /**
- * The list of the parameters supported by this
- * <code>DOMConfiguration</code> object and for which at least one value
- * can be set by the application. Note that this list can also contain
- * parameter names defined outside this specification.
- */
- public DOMStringList getParameterNames();
-
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/DOMError.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/DOMError.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/DOMError.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,87 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * <code>DOMError</code> is an interface that describes an error.
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- * @since DOM Level 3
- */
-public interface DOMError {
- // ErrorSeverity
- /**
- * The severity of the error described by the <code>DOMError</code> is
- * warning. A <code>SEVERITY_WARNING</code> will not cause the
- * processing to stop, unless <code>DOMErrorHandler.handleError()</code>
- * returns <code>false</code>.
- */
- public static final short SEVERITY_WARNING = 1;
- /**
- * The severity of the error described by the <code>DOMError</code> is
- * error. A <code>SEVERITY_ERROR</code> may not cause the processing to
- * stop if the error can be recovered, unless
- * <code>DOMErrorHandler.handleError()</code> returns <code>false</code>.
- */
- public static final short SEVERITY_ERROR = 2;
- /**
- * The severity of the error described by the <code>DOMError</code> is
- * fatal error. A <code>SEVERITY_FATAL_ERROR</code> will cause the
- * normal processing to stop. The return value of
- * <code>DOMErrorHandler.handleError()</code> is ignored unless the
- * implementation chooses to continue, in which case the behavior
- * becomes undefined.
- */
- public static final short SEVERITY_FATAL_ERROR = 3;
-
- /**
- * The severity of the error, either <code>SEVERITY_WARNING</code>,
- * <code>SEVERITY_ERROR</code>, or <code>SEVERITY_FATAL_ERROR</code>.
- */
- public short getSeverity();
-
- /**
- * An implementation specific string describing the error that occurred.
- */
- public String getMessage();
-
- /**
- * A <code>DOMString</code> indicating which related data is expected in
- * <code>relatedData</code>. Users should refer to the specification of
- * the error in order to find its <code>DOMString</code> type and
- * <code>relatedData</code> definitions if any.
- * <p ><b>Note:</b> As an example,
- * <code>Document.normalizeDocument()</code> does generate warnings when
- * the "split-cdata-sections" parameter is in use. Therefore, the method
- * generates a <code>SEVERITY_WARNING</code> with <code>type</code>
- * <code>"cdata-sections-splitted"</code> and the first
- * <code>CDATASection</code> node in document order resulting from the
- * split is returned by the <code>relatedData</code> attribute.
- */
- public String getType();
-
- /**
- * The related platform dependent exception if any.
- */
- public Object getRelatedException();
-
- /**
- * The related <code>DOMError.type</code> dependent data if any.
- */
- public Object getRelatedData();
-
- /**
- * The location of the error.
- */
- public DOMLocator getLocation();
-
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/DOMErrorHandler.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/DOMErrorHandler.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/DOMErrorHandler.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,45 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * <code>DOMErrorHandler</code> is a callback interface that the DOM
- * implementation can call when reporting errors that happens while
- * processing XML data, or when doing some other processing (e.g. validating
- * a document). A <code>DOMErrorHandler</code> object can be attached to a
- * <code>Document</code> using the "error-handler" on the
- * <code>DOMConfiguration</code> interface. If more than one error needs to
- * be reported during an operation, the sequence and numbers of the errors
- * passed to the error handler are implementation dependent.
- * <p> The application that is using the DOM implementation is expected to
- * implement this interface.
- * <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
- * @since DOM Level 3
- */
-public interface DOMErrorHandler {
- /**
- * This method is called on the error handler when an error occurs.
- * <br> If an exception is thrown from this method, it is considered to be
- * equivalent of returning <code>true</code>.
- * @param error The error object that describes the error. This object
- * may be reused by the DOM implementation across multiple calls to
- * the <code>handleError</code> method.
- * @return If the <code>handleError</code> method returns
- * <code>false</code>, the DOM implementation should stop the current
- * processing when possible. If the method returns <code>true</code>,
- * the processing may continue depending on
- * <code>DOMError.severity</code>.
- */
- public boolean handleError(DOMError error);
-
-}
Deleted: trunk/core/src/classpath/org/org/w3c/dom/DOMException.java
===================================================================
--- trunk/core/src/classpath/org/org/w3c/dom/DOMException.java 2007-06-25 11:24:41 UTC (rev 3313)
+++ trunk/core/src/classpath/org/org/w3c/dom/DOMException.java 2007-06-25 11:45:11 UTC (rev 3314)
@@ -1,131 +0,0 @@
-/*
- * Copyright (c) 2004 World Wide Web Consortium,
- *
- * (Massachusetts Institute of Technology, European Research Consortium for
- * Informatics and Mathematics, Keio University). All Rights Reserved. This
- * work is distributed under the W3C(r) Software License [1] 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.
- *
- * [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
- */
-
-package org.w3c.dom;
-
-/**
- * DOM operations only raise exceptions in "exceptional" circumstances, i.e.,
- * when an operation is impossible to perform (either for logical reasons,
- * because data is lost, or because the implementation has become unstable).
- * In general, DOM methods return specific error values in ordinary
- * processing situations, such as out-of-bound errors when using
-...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 11:24:42
|
Revision: 3313
http://jnode.svn.sourceforge.net/jnode/?rev=3313&view=rev
Author: lsantha
Date: 2007-06-25 04:24:41 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/tools/gnu/classpath/tools/orbd/
trunk/core/src/classpath/tools/gnu/classpath/tools/tnameserv/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 11:23:15
|
Revision: 3312
http://jnode.svn.sourceforge.net/jnode/?rev=3312&view=rev
Author: lsantha
Date: 2007-06-25 04:23:11 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Removed Paths:
-------------
trunk/core/src/classpath/sun/sun/reflect/annotation/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 11:20:38
|
Revision: 3311
http://jnode.svn.sourceforge.net/jnode/?rev=3311&view=rev
Author: lsantha
Date: 2007-06-25 04:20:36 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/gnu/gnu/xml/stream/AttributeImpl.java
trunk/core/src/classpath/gnu/gnu/xml/stream/NamespaceImpl.java
Removed Paths:
-------------
trunk/core/src/classpath/gnu/gnu/CORBA/
trunk/core/src/classpath/gnu/gnu/javax/naming/
trunk/core/src/classpath/gnu/gnu/javax/rmi/
Modified: trunk/core/src/classpath/gnu/gnu/xml/stream/AttributeImpl.java
===================================================================
--- trunk/core/src/classpath/gnu/gnu/xml/stream/AttributeImpl.java 2007-06-25 10:56:45 UTC (rev 3310)
+++ trunk/core/src/classpath/gnu/gnu/xml/stream/AttributeImpl.java 2007-06-25 11:20:36 UTC (rev 3311)
@@ -85,9 +85,10 @@
return value;
}
- public QName getDTDType()
+ //jnode openjdk
+ public String getDTDType()
{
- return type;
+ return type.toString();
}
public boolean isSpecified()
Modified: trunk/core/src/classpath/gnu/gnu/xml/stream/NamespaceImpl.java
===================================================================
--- trunk/core/src/classpath/gnu/gnu/xml/stream/NamespaceImpl.java 2007-06-25 10:56:45 UTC (rev 3310)
+++ trunk/core/src/classpath/gnu/gnu/xml/stream/NamespaceImpl.java 2007-06-25 11:20:36 UTC (rev 3311)
@@ -42,6 +42,7 @@
import javax.xml.stream.Location;
import javax.xml.stream.XMLStreamException;
import javax.xml.stream.events.Namespace;
+import javax.xml.namespace.QName;
/**
* A namespace declaration event.
@@ -106,6 +107,22 @@
throw e2;
}
}
-
+
+ //jnode openjdk
+ public QName getName() {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public String getValue() {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public String getDTDType() {
+ return null; //To change body of implemented methods use File | Settings | File Templates.
+ }
+
+ public boolean isSpecified() {
+ return false; //To change body of implemented methods use File | Settings | File Templates.
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 10:56:50
|
Revision: 3310
http://jnode.svn.sourceforge.net/jnode/?rev=3310&view=rev
Author: lsantha
Date: 2007-06-25 03:56:45 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/org/
trunk/core/src/openjdk/org/org/
trunk/core/src/openjdk/org/org/ietf/
trunk/core/src/openjdk/org/org/ietf/jgss/
trunk/core/src/openjdk/org/org/ietf/jgss/ChannelBinding.java
trunk/core/src/openjdk/org/org/ietf/jgss/GSSContext.java
trunk/core/src/openjdk/org/org/ietf/jgss/GSSCredential.java
trunk/core/src/openjdk/org/org/ietf/jgss/GSSException.java
trunk/core/src/openjdk/org/org/ietf/jgss/GSSManager.java
trunk/core/src/openjdk/org/org/ietf/jgss/GSSName.java
trunk/core/src/openjdk/org/org/ietf/jgss/MessageProp.java
trunk/core/src/openjdk/org/org/ietf/jgss/Oid.java
trunk/core/src/openjdk/org/org/ietf/jgss/package.html
trunk/core/src/openjdk/org/org/jcp/
trunk/core/src/openjdk/org/org/jcp/xml/
trunk/core/src/openjdk/org/org/jcp/xml/dsig/
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/DigesterOutputStream.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/MacOutputStream.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/SignerOutputStream.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/ApacheCanonicalizer.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/ApacheData.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/ApacheNodeSetData.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/ApacheOctetStreamData.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/ApacheTransform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMBase64Transform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMCanonicalXMLC14NMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMCanonicalizationMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMCryptoBinary.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMDigestMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMEnvelopedTransform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMExcC14NMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMHMACSignatureMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMKeyInfo.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMKeyInfoFactory.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMKeyName.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMKeyValue.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMManifest.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMPGPData.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMReference.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMRetrievalMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMSignatureMethod.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMSignatureProperties.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMSignatureProperty.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMSignedInfo.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMStructure.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMSubTreeData.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMTransform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMURIDereferencer.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMUtils.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMX509Data.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMX509IssuerSerial.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMXMLObject.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMXMLSignature.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMXMLSignatureFactory.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMXPathFilter2Transform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMXPathTransform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/DOMXSLTTransform.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/Utils.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/dom/XMLDSigRI.java
trunk/core/src/openjdk/org/org/jcp/xml/dsig/internal/package.html
trunk/core/src/openjdk/org/org/omg/
trunk/core/src/openjdk/org/org/omg/CORBA/
trunk/core/src/openjdk/org/org/omg/CORBA/ACTIVITY_COMPLETED.java
trunk/core/src/openjdk/org/org/omg/CORBA/ACTIVITY_REQUIRED.java
trunk/core/src/openjdk/org/org/omg/CORBA/ARG_IN.java
trunk/core/src/openjdk/org/org/omg/CORBA/ARG_INOUT.java
trunk/core/src/openjdk/org/org/omg/CORBA/ARG_OUT.java
trunk/core/src/openjdk/org/org/omg/CORBA/Any.java
trunk/core/src/openjdk/org/org/omg/CORBA/AnyHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/AnySeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/AnySeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_CONTEXT.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_INV_ORDER.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_OPERATION.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_PARAM.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_POLICY.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_POLICY_TYPE.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_POLICY_VALUE.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_QOS.java
trunk/core/src/openjdk/org/org/omg/CORBA/BAD_TYPECODE.java
trunk/core/src/openjdk/org/org/omg/CORBA/BooleanHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/BooleanSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/BooleanSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/Bounds.java
trunk/core/src/openjdk/org/org/omg/CORBA/ByteHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/CODESET_INCOMPATIBLE.java
trunk/core/src/openjdk/org/org/omg/CORBA/COMM_FAILURE.java
trunk/core/src/openjdk/org/org/omg/CORBA/CTX_RESTRICT_SCOPE.java
trunk/core/src/openjdk/org/org/omg/CORBA/CharHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/CharSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/CharSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/CompletionStatus.java
trunk/core/src/openjdk/org/org/omg/CORBA/CompletionStatusHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/Context.java
trunk/core/src/openjdk/org/org/omg/CORBA/ContextList.java
trunk/core/src/openjdk/org/org/omg/CORBA/Current.java
trunk/core/src/openjdk/org/org/omg/CORBA/CurrentHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/CurrentHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/CurrentOperations.java
trunk/core/src/openjdk/org/org/omg/CORBA/CustomMarshal.java
trunk/core/src/openjdk/org/org/omg/CORBA/DATA_CONVERSION.java
trunk/core/src/openjdk/org/org/omg/CORBA/DataInputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA/DataOutputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA/DefinitionKind.java
trunk/core/src/openjdk/org/org/omg/CORBA/DefinitionKindHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/DomainManager.java
trunk/core/src/openjdk/org/org/omg/CORBA/DomainManagerOperations.java
trunk/core/src/openjdk/org/org/omg/CORBA/DoubleHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/DoubleSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/DoubleSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynAny.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynAnyPackage/
trunk/core/src/openjdk/org/org/omg/CORBA/DynAnyPackage/Invalid.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynAnyPackage/InvalidSeq.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynAnyPackage/InvalidValue.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynAnyPackage/TypeMismatch.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynAnyPackage/package.html
trunk/core/src/openjdk/org/org/omg/CORBA/DynArray.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynEnum.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynFixed.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynSequence.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynStruct.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynUnion.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynValue.java
trunk/core/src/openjdk/org/org/omg/CORBA/DynamicImplementation.java
trunk/core/src/openjdk/org/org/omg/CORBA/Environment.java
trunk/core/src/openjdk/org/org/omg/CORBA/ExceptionList.java
trunk/core/src/openjdk/org/org/omg/CORBA/FREE_MEM.java
trunk/core/src/openjdk/org/org/omg/CORBA/FieldNameHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/FixedHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/FloatHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/FloatSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/FloatSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/IDLType.java
trunk/core/src/openjdk/org/org/omg/CORBA/IDLTypeHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/IDLTypeOperations.java
trunk/core/src/openjdk/org/org/omg/CORBA/IMP_LIMIT.java
trunk/core/src/openjdk/org/org/omg/CORBA/INITIALIZE.java
trunk/core/src/openjdk/org/org/omg/CORBA/INTERNAL.java
trunk/core/src/openjdk/org/org/omg/CORBA/INTF_REPOS.java
trunk/core/src/openjdk/org/org/omg/CORBA/INVALID_ACTIVITY.java
trunk/core/src/openjdk/org/org/omg/CORBA/INVALID_TRANSACTION.java
trunk/core/src/openjdk/org/org/omg/CORBA/INV_FLAG.java
trunk/core/src/openjdk/org/org/omg/CORBA/INV_IDENT.java
trunk/core/src/openjdk/org/org/omg/CORBA/INV_OBJREF.java
trunk/core/src/openjdk/org/org/omg/CORBA/INV_POLICY.java
trunk/core/src/openjdk/org/org/omg/CORBA/IRObject.java
trunk/core/src/openjdk/org/org/omg/CORBA/IRObjectOperations.java
trunk/core/src/openjdk/org/org/omg/CORBA/IdentifierHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/IntHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/LocalObject.java
trunk/core/src/openjdk/org/org/omg/CORBA/LongHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/LongLongSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/LongLongSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/LongSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/LongSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/MARSHAL.java
trunk/core/src/openjdk/org/org/omg/CORBA/NO_IMPLEMENT.java
trunk/core/src/openjdk/org/org/omg/CORBA/NO_MEMORY.java
trunk/core/src/openjdk/org/org/omg/CORBA/NO_PERMISSION.java
trunk/core/src/openjdk/org/org/omg/CORBA/NO_RESOURCES.java
trunk/core/src/openjdk/org/org/omg/CORBA/NO_RESPONSE.java
trunk/core/src/openjdk/org/org/omg/CORBA/NVList.java
trunk/core/src/openjdk/org/org/omg/CORBA/NameValuePair.java
trunk/core/src/openjdk/org/org/omg/CORBA/NameValuePairHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/NamedValue.java
trunk/core/src/openjdk/org/org/omg/CORBA/OBJECT_NOT_EXIST.java
trunk/core/src/openjdk/org/org/omg/CORBA/OBJ_ADAPTER.java
trunk/core/src/openjdk/org/org/omg/CORBA/OMGVMCID.java
trunk/core/src/openjdk/org/org/omg/CORBA/ORB.java
trunk/core/src/openjdk/org/org/omg/CORBA/ORBPackage/
trunk/core/src/openjdk/org/org/omg/CORBA/ORBPackage/InconsistentTypeCode.java
trunk/core/src/openjdk/org/org/omg/CORBA/ORBPackage/InvalidName.java
trunk/core/src/openjdk/org/org/omg/CORBA/ORBPackage/package.html
trunk/core/src/openjdk/org/org/omg/CORBA/Object.java
trunk/core/src/openjdk/org/org/omg/CORBA/ObjectHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ObjectHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/OctetSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/OctetSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/PERSIST_STORE.java
trunk/core/src/openjdk/org/org/omg/CORBA/PRIVATE_MEMBER.java
trunk/core/src/openjdk/org/org/omg/CORBA/PUBLIC_MEMBER.java
trunk/core/src/openjdk/org/org/omg/CORBA/Policy.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyError.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyListHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyListHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyOperations.java
trunk/core/src/openjdk/org/org/omg/CORBA/PolicyTypeHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/Principal.java
trunk/core/src/openjdk/org/org/omg/CORBA/PrincipalHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/REBIND.java
trunk/core/src/openjdk/org/org/omg/CORBA/RepositoryIdHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/Request.java
trunk/core/src/openjdk/org/org/omg/CORBA/ServerRequest.java
trunk/core/src/openjdk/org/org/omg/CORBA/ServiceDetail.java
trunk/core/src/openjdk/org/org/omg/CORBA/ServiceDetailHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ServiceInformation.java
trunk/core/src/openjdk/org/org/omg/CORBA/ServiceInformationHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ServiceInformationHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/SetOverrideType.java
trunk/core/src/openjdk/org/org/omg/CORBA/SetOverrideTypeHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ShortHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/ShortSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ShortSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/StringHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/StringValueHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/StructMember.java
trunk/core/src/openjdk/org/org/omg/CORBA/StructMemberHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/SystemException.java
trunk/core/src/openjdk/org/org/omg/CORBA/TCKind.java
trunk/core/src/openjdk/org/org/omg/CORBA/TIMEOUT.java
trunk/core/src/openjdk/org/org/omg/CORBA/TRANSACTION_MODE.java
trunk/core/src/openjdk/org/org/omg/CORBA/TRANSACTION_REQUIRED.java
trunk/core/src/openjdk/org/org/omg/CORBA/TRANSACTION_ROLLEDBACK.java
trunk/core/src/openjdk/org/org/omg/CORBA/TRANSACTION_UNAVAILABLE.java
trunk/core/src/openjdk/org/org/omg/CORBA/TRANSIENT.java
trunk/core/src/openjdk/org/org/omg/CORBA/TypeCode.java
trunk/core/src/openjdk/org/org/omg/CORBA/TypeCodeHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/TypeCodePackage/
trunk/core/src/openjdk/org/org/omg/CORBA/TypeCodePackage/BadKind.java
trunk/core/src/openjdk/org/org/omg/CORBA/TypeCodePackage/Bounds.java
trunk/core/src/openjdk/org/org/omg/CORBA/TypeCodePackage/package.html
trunk/core/src/openjdk/org/org/omg/CORBA/ULongLongSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ULongLongSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/ULongSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ULongSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/UNKNOWN.java
trunk/core/src/openjdk/org/org/omg/CORBA/UNSUPPORTED_POLICY.java
trunk/core/src/openjdk/org/org/omg/CORBA/UNSUPPORTED_POLICY_VALUE.java
trunk/core/src/openjdk/org/org/omg/CORBA/UShortSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/UShortSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/UnionMember.java
trunk/core/src/openjdk/org/org/omg/CORBA/UnionMemberHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/UnknownUserException.java
trunk/core/src/openjdk/org/org/omg/CORBA/UnknownUserExceptionHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/UnknownUserExceptionHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/UserException.java
trunk/core/src/openjdk/org/org/omg/CORBA/VM_ABSTRACT.java
trunk/core/src/openjdk/org/org/omg/CORBA/VM_CUSTOM.java
trunk/core/src/openjdk/org/org/omg/CORBA/VM_NONE.java
trunk/core/src/openjdk/org/org/omg/CORBA/VM_TRUNCATABLE.java
trunk/core/src/openjdk/org/org/omg/CORBA/ValueBaseHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/ValueBaseHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/ValueMember.java
trunk/core/src/openjdk/org/org/omg/CORBA/ValueMemberHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/VersionSpecHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/VisibilityHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/WCharSeqHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/WCharSeqHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/WStringValueHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/WrongTransaction.java
trunk/core/src/openjdk/org/org/omg/CORBA/WrongTransactionHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/WrongTransactionHolder.java
trunk/core/src/openjdk/org/org/omg/CORBA/_IDLTypeStub.java
trunk/core/src/openjdk/org/org/omg/CORBA/_PolicyStub.java
trunk/core/src/openjdk/org/org/omg/CORBA/doc-files/
trunk/core/src/openjdk/org/org/omg/CORBA/doc-files/compliance.html
trunk/core/src/openjdk/org/org/omg/CORBA/doc-files/generatedfiles.html
trunk/core/src/openjdk/org/org/omg/CORBA/ir.idl
trunk/core/src/openjdk/org/org/omg/CORBA/orb.idl
trunk/core/src/openjdk/org/org/omg/CORBA/package.html
trunk/core/src/openjdk/org/org/omg/CORBA/portable/
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ApplicationException.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/BoxedValueHelper.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/CustomValue.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/Delegate.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/IDLEntity.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/IndirectionException.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/InputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/InvokeHandler.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ObjectImpl.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/OutputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/RemarshalException.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ResponseHandler.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ServantObject.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/Streamable.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/StreamableValue.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/UnknownException.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ValueBase.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ValueFactory.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ValueInputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/ValueOutputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA/portable/package.html
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/ORB.java
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/package.html
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/portable/
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/portable/Delegate.java
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/portable/InputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/portable/ObjectImpl.java
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/portable/OutputStream.java
trunk/core/src/openjdk/org/org/omg/CORBA_2_3/portable/package.html
trunk/core/src/openjdk/org/org/omg/CosNaming/
trunk/core/src/openjdk/org/org/omg/CosNaming/NamingContextExtPackage/
trunk/core/src/openjdk/org/org/omg/CosNaming/NamingContextExtPackage/package.html
trunk/core/src/openjdk/org/org/omg/CosNaming/NamingContextPackage/
trunk/core/src/openjdk/org/org/omg/CosNaming/NamingContextPackage/package.html
trunk/core/src/openjdk/org/org/omg/CosNaming/_BindingIteratorImplBase.java
trunk/core/src/openjdk/org/org/omg/CosNaming/_NamingContextImplBase.java
trunk/core/src/openjdk/org/org/omg/CosNaming/nameservice.idl
trunk/core/src/openjdk/org/org/omg/CosNaming/package.html
trunk/core/src/openjdk/org/org/omg/Dynamic/
trunk/core/src/openjdk/org/org/omg/Dynamic/package.html
trunk/core/src/openjdk/org/org/omg/DynamicAny/
trunk/core/src/openjdk/org/org/omg/DynamicAny/DynAnyFactoryPackage/
trunk/core/src/openjdk/org/org/omg/DynamicAny/DynAnyFactoryPackage/package.html
trunk/core/src/openjdk/org/org/omg/DynamicAny/DynAnyPackage/
trunk/core/src/openjdk/org/org/omg/DynamicAny/DynAnyPackage/package.html
trunk/core/src/openjdk/org/org/omg/DynamicAny/DynamicAny.idl
trunk/core/src/openjdk/org/org/omg/DynamicAny/package.html
trunk/core/src/openjdk/org/org/omg/IOP/
trunk/core/src/openjdk/org/org/omg/IOP/CodecFactoryPackage/
trunk/core/src/openjdk/org/org/omg/IOP/CodecFactoryPackage/package.html
trunk/core/src/openjdk/org/org/omg/IOP/CodecPackage/
trunk/core/src/openjdk/org/org/omg/IOP/CodecPackage/package.html
trunk/core/src/openjdk/org/org/omg/IOP/package.html
trunk/core/src/openjdk/org/org/omg/Messaging/
trunk/core/src/openjdk/org/org/omg/Messaging/package.html
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/CORBAX.idl
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/IOP.idl
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/Interceptors.idl
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/Messaging.idl
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/ORBInitInfoPackage/
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/ORBInitInfoPackage/package.html
trunk/core/src/openjdk/org/org/omg/PortableInterceptor/package.html
trunk/core/src/openjdk/org/org/omg/PortableServer/
trunk/core/src/openjdk/org/org/omg/PortableServer/CurrentHelper.java
trunk/core/src/openjdk/org/org/omg/PortableServer/CurrentPackage/
trunk/core/src/openjdk/org/org/omg/PortableServer/CurrentPackage/package.html
trunk/core/src/openjdk/org/org/omg/PortableServer/DynamicImplementation.java
trunk/core/src/openjdk/org/org/omg/PortableServer/POAHelper.java
trunk/core/src/openjdk/org/org/omg/PortableServer/POAManagerPackage/
trunk/core/src/openjdk/org/org/omg/PortableServer/POAManagerPackage/package.html
trunk/core/src/openjdk/org/org/omg/PortableServer/POAPackage/
trunk/core/src/openjdk/org/org/omg/PortableServer/POAPackage/package.html
trunk/core/src/openjdk/org/org/omg/PortableServer/Servant.java
trunk/core/src/openjdk/org/org/omg/PortableServer/ServantLocatorPackage/
trunk/core/src/openjdk/org/org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java
trunk/core/src/openjdk/org/org/omg/PortableServer/ServantLocatorPackage/package.html
trunk/core/src/openjdk/org/org/omg/PortableServer/corba.idl
trunk/core/src/openjdk/org/org/omg/PortableServer/package.html
trunk/core/src/openjdk/org/org/omg/PortableServer/poa.idl
trunk/core/src/openjdk/org/org/omg/PortableServer/portable/
trunk/core/src/openjdk/org/org/omg/PortableServer/portable/Delegate.java
trunk/core/src/openjdk/org/org/omg/PortableServer/portable/package.html
trunk/core/src/openjdk/org/org/omg/SendingContext/
trunk/core/src/openjdk/org/org/omg/SendingContext/RunTime.java
trunk/core/src/openjdk/org/org/omg/SendingContext/RunTimeOperations.java
trunk/core/src/openjdk/org/org/omg/SendingContext/package.html
trunk/core/src/openjdk/org/org/omg/stub/
trunk/core/src/openjdk/org/org/omg/stub/java/
trunk/core/src/openjdk/org/org/omg/stub/java/rmi/
trunk/core/src/openjdk/org/org/omg/stub/java/rmi/_Remote_Stub.java
trunk/core/src/openjdk/org/org/omg/stub/java/rmi/package.html
trunk/core/src/openjdk/org/org/relaxng/
trunk/core/src/openjdk/org/org/relaxng/datatype/
trunk/core/src/openjdk/org/org/relaxng/datatype/Datatype.java
trunk/core/src/openjdk/org/org/relaxng/datatype/DatatypeBuilder.java
trunk/core/src/openjdk/org/org/relaxng/datatype/DatatypeException.java
trunk/core/src/openjdk/org/org/relaxng/datatype/DatatypeLibrary.java
trunk/core/src/openjdk/org/org/relaxng/datatype/DatatypeLibraryFactory.java
trunk/core/src/openjdk/org/org/relaxng/datatype/DatatypeStreamingValidator.java
trunk/core/src/openjdk/org/org/relaxng/datatype/ValidationContext.java
trunk/core/src/openjdk/org/org/relaxng/datatype/helpers/
trunk/core/src/openjdk/org/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java
trunk/core/src/openjdk/org/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java
trunk/core/src/openjdk/org/org/relaxng/datatype/helpers/StreamingValidatorImpl.java
trunk/core/src/openjdk/org/org/w3c/
trunk/core/src/openjdk/org/org/w3c/dom/
trunk/core/src/openjdk/org/org/w3c/dom/Attr.java
trunk/core/src/openjdk/org/org/w3c/dom/CDATASection.java
trunk/core/src/openjdk/org/org/w3c/dom/CharacterData.java
trunk/core/src/openjdk/org/org/w3c/dom/Comment.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMConfiguration.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMError.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMErrorHandler.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMException.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMImplementation.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMImplementationList.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMImplementationSource.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMLocator.java
trunk/core/src/openjdk/org/org/w3c/dom/DOMStringList.java
trunk/core/src/openjdk/org/org/w3c/dom/Document.java
trunk/core/src/openjdk/org/org/w3c/dom/DocumentFragment.java
trunk/core/src/openjdk/org/org/w3c/dom/DocumentType.java
trunk/core/src/openjdk/org/org/w3c/dom/Element.java
trunk/core/src/openjdk/org/org/w3c/dom/Entity.java
trunk/core/src/openjdk/org/org/w3c/dom/EntityReference.java
trunk/core/src/openjdk/org/org/w3c/dom/NameList.java
trunk/core/src/openjdk/org/org/w3c/dom/NamedNodeMap.java
trunk/core/src/openjdk/org/org/w3c/dom/Node.java
trunk/core/src/openjdk/org/org/w3c/dom/NodeList.java
trunk/core/src/openjdk/org/org/w3c/dom/Notation.java
trunk/core/src/openjdk/org/org/w3c/dom/ProcessingInstruction.java
trunk/core/src/openjdk/org/org/w3c/dom/Text.java
trunk/core/src/openjdk/org/org/w3c/dom/TypeInfo.java
trunk/core/src/openjdk/org/org/w3c/dom/UserDataHandler.java
trunk/core/src/openjdk/org/org/w3c/dom/bootstrap/
trunk/core/src/openjdk/org/org/w3c/dom/bootstrap/DOMImplementationRegistry.java
trunk/core/src/openjdk/org/org/w3c/dom/css/
trunk/core/src/openjdk/org/org/w3c/dom/css/CSS2Properties.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSCharsetRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSFontFaceRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSImportRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSMediaRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSPageRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSPrimitiveValue.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSRuleList.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSStyleDeclaration.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSStyleRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSStyleSheet.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSUnknownRule.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSValue.java
trunk/core/src/openjdk/org/org/w3c/dom/css/CSSValueList.java
trunk/core/src/openjdk/org/org/w3c/dom/css/Counter.java
trunk/core/src/openjdk/org/org/w3c/dom/css/DOMImplementationCSS.java
trunk/core/src/openjdk/org/org/w3c/dom/css/DocumentCSS.java
trunk/core/src/openjdk/org/org/w3c/dom/css/ElementCSSInlineStyle.java
trunk/core/src/openjdk/org/org/w3c/dom/css/RGBColor.java
trunk/core/src/openjdk/org/org/w3c/dom/css/Rect.java
trunk/core/src/openjdk/org/org/w3c/dom/css/ViewCSS.java
trunk/core/src/openjdk/org/org/w3c/dom/events/
trunk/core/src/openjdk/org/org/w3c/dom/events/DocumentEvent.java
trunk/core/src/openjdk/org/org/w3c/dom/events/Event.java
trunk/core/src/openjdk/org/org/w3c/dom/events/EventException.java
trunk/core/src/openjdk/org/org/w3c/dom/events/EventListener.java
trunk/core/src/openjdk/org/org/w3c/dom/events/EventTarget.java
trunk/core/src/openjdk/org/org/w3c/dom/events/MouseEvent.java
trunk/core/src/openjdk/org/org/w3c/dom/events/MutationEvent.java
trunk/core/src/openjdk/org/org/w3c/dom/events/UIEvent.java
trunk/core/src/openjdk/org/org/w3c/dom/html/
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLAnchorElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLAppletElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLAreaElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLBRElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLBaseElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLBaseFontElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLBodyElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLButtonElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLCollection.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLDListElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLDOMImplementation.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLDirectoryElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLDivElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLDocument.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLFieldSetElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLFontElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLFormElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLFrameElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLFrameSetElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLHRElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLHeadElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLHeadingElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLHtmlElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLIFrameElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLImageElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLInputElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLIsIndexElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLLIElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLLabelElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLLegendElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLLinkElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLMapElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLMenuElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLMetaElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLModElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLOListElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLObjectElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLOptGroupElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLOptionElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLParagraphElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLParamElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLPreElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLQuoteElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLScriptElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLSelectElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLStyleElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTableCaptionElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTableCellElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTableColElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTableElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTableRowElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTableSectionElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTextAreaElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLTitleElement.java
trunk/core/src/openjdk/org/org/w3c/dom/html/HTMLUListElement.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/
trunk/core/src/openjdk/org/org/w3c/dom/ls/DOMImplementationLS.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSException.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSInput.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSLoadEvent.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSOutput.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSParser.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSParserFilter.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSProgressEvent.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSResourceResolver.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSSerializer.java
trunk/core/src/openjdk/org/org/w3c/dom/ls/LSSerializerFilter.java
trunk/core/src/openjdk/org/org/w3c/dom/package.html
trunk/core/src/openjdk/org/org/w3c/dom/ranges/
trunk/core/src/openjdk/org/org/w3c/dom/ranges/DocumentRange.java
trunk/core/src/openjdk/org/org/w3c/dom/ranges/Range.java
trunk/core/src/openjdk/org/org/w3c/dom/ranges/RangeException.java
trunk/core/src/openjdk/org/org/w3c/dom/ranges/package.html
trunk/core/src/openjdk/org/org/w3c/dom/stylesheets/
trunk/core/src/openjdk/org/org/w3c/dom/stylesheets/DocumentStyle.java
trunk/core/src/openjdk/org/org/w3c/dom/stylesheets/LinkStyle.java
trunk/core/src/openjdk/org/org/w3c/dom/stylesheets/MediaList.java
trunk/core/src/openjdk/org/org/w3c/dom/stylesheets/StyleSheet.java
trunk/core/src/openjdk/org/org/w3c/dom/stylesheets/StyleSheetList.java
trunk/core/src/openjdk/org/org/w3c/dom/traversal/
trunk/core/src/openjdk/org/org/w3c/dom/traversal/DocumentTraversal.java
trunk/core/src/openjdk/org/org/w3c/dom/traversal/NodeFilter.java
trunk/core/src/openjdk/org/org/w3c/dom/traversal/NodeIterator.java
trunk/core/src/openjdk/org/org/w3c/dom/traversal/TreeWalker.java
trunk/core/src/openjdk/org/org/w3c/dom/views/
trunk/core/src/openjdk/org/org/w3c/dom/views/AbstractView.java
trunk/core/src/openjdk/org/org/w3c/dom/views/DocumentView.java
trunk/core/src/openjdk/org/org/w3c/dom/xpath/
trunk/core/src/openjdk/org/org/w3c/dom/xpath/COPYRIGHT.html
trunk/core/src/openjdk/org/org/w3c/dom/xpath/XPathEvaluator.java
trunk/core/src/openjdk/org/org/w3c/dom/xpath/XPathException.java
trunk/core/src/openjdk/org/org/w3c/dom/xpath/XPathExpression.java
trunk/core/src/openjdk/org/org/w3c/dom/xpath/XPathNSResolver.java
trunk/core/src/openjdk/org/org/w3c/dom/xpath/XPathNamespace.java
trunk/core/src/openjdk/org/org/w3c/dom/xpath/XPathResult.java
trunk/core/src/openjdk/org/org/xml/
trunk/core/src/openjdk/org/org/xml/sax/
trunk/core/src/openjdk/org/org/xml/sax/AttributeList.java
trunk/core/src/openjdk/org/org/xml/sax/Attributes.java
trunk/core/src/openjdk/org/org/xml/sax/COPYING
trunk/core/src/openjdk/org/org/xml/sax/COPYING.txt
trunk/core/src/openjdk/org/org/xml/sax/ContentHandler.java
trunk/core/src/openjdk/org/org/xml/sax/DTDHandler.java
trunk/core/src/openjdk/org/org/xml/sax/DocumentHandler.java
trunk/core/src/openjdk/org/org/xml/sax/EntityResolver.java
trunk/core/src/openjdk/org/org/xml/sax/ErrorHandler.java
trunk/core/src/openjdk/org/org/xml/sax/HandlerBase.java
trunk/core/src/openjdk/org/org/xml/sax/InputSource.java
trunk/core/src/openjdk/org/org/xml/sax/Locator.java
trunk/core/src/openjdk/org/org/xml/sax/Parser.java
trunk/core/src/openjdk/org/org/xml/sax/SAXException.java
trunk/core/src/openjdk/org/org/xml/sax/SAXNotRecognizedException.java
trunk/core/src/openjdk/org/org/xml/sax/SAXNotSupportedException.java
trunk/core/src/openjdk/org/org/xml/sax/SAXParseException.java
trunk/core/src/openjdk/org/org/xml/sax/XMLFilter.java
trunk/core/src/openjdk/org/org/xml/sax/XMLReader.java
trunk/core/src/openjdk/org/org/xml/sax/ext/
trunk/core/src/openjdk/org/org/xml/sax/ext/Attributes2.java
trunk/core/src/openjdk/org/org/xml/sax/ext/Attributes2Impl.java
trunk/core/src/openjdk/org/org/xml/sax/ext/DeclHandler.java
trunk/core/src/openjdk/org/org/xml/sax/ext/DefaultHandler2.java
trunk/core/src/openjdk/org/org/xml/sax/ext/EntityResolver2.java
trunk/core/src/openjdk/org/org/xml/sax/ext/LexicalHandler.java
trunk/core/src/openjdk/org/org/xml/sax/ext/Locator2.java
trunk/core/src/openjdk/org/org/xml/sax/ext/Locator2Impl.java
trunk/core/src/openjdk/org/org/xml/sax/ext/package.html
trunk/core/src/openjdk/org/org/xml/sax/helpers/
trunk/core/src/openjdk/org/org/xml/sax/helpers/AttributeListImpl.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/AttributesImpl.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/DefaultHandler.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/LocatorImpl.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/NamespaceSupport.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/NewInstance.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/ParserAdapter.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/ParserFactory.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/XMLFilterImpl.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/XMLReaderAdapter.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/XMLReaderFactory.java
trunk/core/src/openjdk/org/org/xml/sax/helpers/package.html
trunk/core/src/openjdk/org/org/xml/sax/package.html
Added: trunk/core/src/openjdk/org/org/ietf/jgss/ChannelBinding.java
===================================================================
--- trunk/core/src/openjdk/org/org/ietf/jgss/ChannelBinding.java (rev 0)
+++ trunk/core/src/openjdk/org/org/ietf/jgss/ChannelBinding.java 2007-06-25 10:56:45 UTC (rev 3310)
@@ -0,0 +1,213 @@
+/*
+ * Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package org.ietf.jgss;
+
+import java.net.InetAddress;
+import java.util.Arrays;
+
+/**
+ * This class encapsulates the concept of caller-provided channel
+ * binding information. Channel bindings are used to strengthen the
+ * quality with which peer entity authentication is provided during
+ * context establishment. They enable the GSS-API callers to bind the
+ * establishment of the security context to relevant characteristics
+ * like addresses or to application specific data.<p>
+ *
+ * The caller initiating the security context must determine the
+ * appropriate channel binding values to set in the GSSContext object.
+ * The acceptor must provide an identical binding in order to validate
+ * that received tokens possess correct channel-related characteristics.<p>
+ *
+ * Use of channel bindings is optional in GSS-API. ChannelBinding can be
+ * set for the {@link GSSContext GSSContext} using the {@link
+ * GSSContext#setChannelBinding(ChannelBinding) setChannelBinding} method
+ * before the first call to {@link GSSContext#initSecContext(byte[], int, int)
+ * initSecContext} or {@link GSSContext#acceptSecContext(byte[], int, int)
+ * acceptSecContext} has been performed. Unless the <code>setChannelBinding</code>
+ * method has been used to set the ChannelBinding for a GSSContext object,
+ * <code>null</code> ChannelBinding will be assumed. <p>
+ *
+ * Conceptually, the GSS-API concatenates the initiator and acceptor
+ * address information, and the application supplied byte array to form an
+ * octet string. The mechanism calculates a MIC over this octet string and
+ * binds the MIC to the context establishment token emitted by
+ * <code>initSecContext</code> method of the <code>GSSContext</code>
+ * interface. The same bindings are set by the context acceptor for its
+ * <code>GSSContext</code> object and during processing of the
+ * <code>acceptSecContext</code> method a MIC is calculated in the same
+ * way. The calculated MIC is compared with that found in the token, and if
+ * the MICs differ, accept will throw a <code>GSSException</code> with the
+ * major code set to {@link GSSException#BAD_BINDINGS BAD_BINDINGS}, and
+ * the context will not be established. Some mechanisms may include the
+ * actual channel binding data in the token (rather than just a MIC);
+ * applications should therefore not use confidential data as
+ * channel-binding components.<p>
+ *
+ * Individual mechanisms may impose additional constraints on addresses
+ * that may appear in channel bindings. For example, a mechanism may
+ * verify that the initiator address field of the channel binding
+ * contains the correct network address of the host system. Portable
+ * applications should therefore ensure that they either provide correct
+ * information for the address fields, or omit setting of the addressing
+ * information.
+ *
+ * @author Mayank Upadhyay
+ * @version 1.16, 05/05/07
+ * @since 1.4
+ */
+public class ChannelBinding {
+
+ private InetAddress initiator;
+ private InetAddress acceptor;
+ private byte[] appData;
+
+ /**
+ * Create a ChannelBinding object with user supplied address information
+ * and data. <code>null</code> values can be used for any fields which the
+ * application does not want to specify.
+ *
+ * @param initAddr the address of the context initiator.
+ * <code>null</code> value can be supplied to indicate that the
+ * application does not want to set this value.
+ * @param acceptAddr the address of the context
+ * acceptor. <code>null</code> value can be supplied to indicate that
+ * the application does not want to set this value.
+ * @param appData application supplied data to be used as part of the
+ * channel bindings. <code>null</code> value can be supplied to
+ * indicate that the application does not want to set this value.
+ */
+ public ChannelBinding(InetAddress initAddr, InetAddress acceptAddr,
+ byte[] appData) {
+
+ initiator = initAddr;
+ acceptor = acceptAddr;
+
+ if (appData != null) {
+ this.appData = new byte[appData.length];
+ java.lang.System.arraycopy(appData, 0, this.appData, 0,
+ appData.length);
+ }
+ }
+
+ /**
+ * Creates a ChannelBinding object without any addressing information.
+ *
+ * @param appData application supplied data to be used as part of the
+ * channel bindings.
+ */
+ public ChannelBinding(byte[] appData) {
+ this(null, null, appData);
+ }
+
+ /**
+ * Get the initiator's address for this channel binding.
+ *
+ * @return the initiator's address. <code>null</code> is returned if
+ * the address has not been set.
+ */
+ public InetAddress getInitiatorAddress() {
+ return initiator;
+ }
+
+ /**
+ * Get the acceptor's address for this channel binding.
+ *
+ * @return the acceptor's address. null is returned if the address has
+ * not been set.
+ */
+ public InetAddress getAcceptorAddress() {
+ return acceptor;
+ }
+
+ /**
+ * Get the application specified data for this channel binding.
+ *
+ * @return the application data being used as part of the
+ * ChannelBinding. <code>null</code> is returned if no application data
+ * has been specified for the channel binding.
+ */
+ public byte[] getApplicationData() {
+
+ if (appData == null) {
+ return null;
+ }
+
+ byte[] retVal = new byte[appData.length];
+ System.arraycopy(appData, 0, retVal, 0, appData.length);
+ return retVal;
+ }
+
+ /**
+ * Compares two instances of ChannelBinding.
+ *
+ * @param obj another ChannelBinding to compare this one with
+ * @return true if the two ChannelBinding's contain
+ * the same values for the initiator and acceptor addresses and the
+ * application data.
+ */
+ public boolean equals(Object obj) {
+
+ if (this == obj)
+ return true;
+
+ if (! (obj instanceof ChannelBinding))
+ return false;
+
+ ChannelBinding cb = (ChannelBinding) obj;
+
+ if ((initiator != null && cb.initiator == null) ||
+ (initiator == null && cb.initiator != null))
+ return false;
+
+ if (initiator != null && !initiator.equals(cb.initiator))
+ return false;
+
+ if ((acceptor != null && cb.acceptor == null) ||
+ (acceptor == null && cb.acceptor != null))
+ return false;
+
+ if (acceptor != null && !acceptor.equals(cb.acceptor))
+ return false;
+
+ return Arrays.equals(appData, cb.appData);
+ }
+
+ /**
+ * Returns a hashcode value for this ChannelBinding object.
+ *
+ * @return a hashCode value
+ */
+ public int hashCode() {
+ if (initiator != null)
+ return initiator.hashCode();
+ else if (acceptor != null)
+ return acceptor.hashCode();
+ else if (appData != null)
+ return new String(appData).hashCode();
+ else
+ return 1;
+ }
+}
Added: trunk/core/src/openjdk/org/org/ietf/jgss/GSSContext.java
===================================================================
--- trunk/core/src/openjdk/org/org/ietf/jgss/GSSContext.java (rev 0)
+++ trunk/core/src/openjdk/org/org/ietf/jgss/GSSContext.java 2007-06-25 10:56:45 UTC (rev 3310)
@@ -0,0 +1,1348 @@
+/*
+ * Copyright 2000-2001 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package org.ietf.jgss;
+
+import sun.security.jgss.spi.*;
+import java.io.InputStream;
+import java.io.OutputStream;
+
+/**
+ * This interface encapsulates the GSS-API security context and provides
+ * the security services that are available over the context. Security
+ * contexts are established between peers using locally acquired
+ * credentials. Multiple contexts may exist simultaneously between a pair
+ * of peers, using the same or different set of credentials. GSS-API
+ * functions in a manner independent of the underlying transport protocol
+ * and depends on its calling application to transport the tokens that are
+ * generated by the security context between the peers.<p>
+ *
+ * If the caller instantiates the context using the default
+ * <code>GSSManager</code> instance, then the Kerberos v5 GSS-API mechanism
+ * is guaranteed to be available for context establishment. This mechanism
+ * is identified by the Oid "1.2.840.113554.1.2.2" and is defined in RFC
+ * 1964.<p>
+ *
+ * Before the context establishment phase is initiated, the context
+ * initiator may request specific characteristics desired of the
+ * established context. Not all underlying mechanisms support all
+ * characteristics that a caller might desire. After the context is
+ * established, the caller can check the actual characteristics and services
+ * offered by that context by means of various query methods. When using
+ * the Kerberos v5 GSS-API mechanism offered by the default
+ * <code>GSSManager</code> instance, all optional services will be
+ * available locally. They are mutual authentication, credential
+ * delegation, confidentiality and integrity protection, and per-message
+ * replay detection and sequencing. Note that in the GSS-API, message integrity
+ * is a prerequisite for message confidentiality.<p>
+ *
+ * The context establishment occurs in a loop where the
+ * initiator calls {@link #initSecContext(byte[], int, int) initSecContext}
+ * and the acceptor calls {@link #acceptSecContext(byte[], int, int)
+ * acceptSecContext} until the context is established. While in this loop
+ * the <code>initSecContext</code> and <code>acceptSecContext</code>
+ * methods produce tokens that the application sends over to the peer. The
+ * peer passes any such token as input to its <code>acceptSecContext</code>
+ * or <code>initSecContext</code> as the case may be.<p>
+ *
+ * During the context establishment phase, the {@link
+ * #isProtReady() isProtReady} method may be called to determine if the
+ * context can be used for the per-message operations of {@link
+ * #wrap(byte[], int, int, MessageProp) wrap} and {@link #getMIC(byte[],
+ * int, int, MessageProp) getMIC}. This allows applications to use
+ * per-message operations on contexts which aren't yet fully
+ * established.<p>
+ *
+ * After the context has been established or the <code>isProtReady</code>
+ * method returns <code>true</code>, the query routines can be invoked to
+ * determine the actual characteristics and services of the established
+ * context. The application can also start using the per-message methods
+ * of {@link #wrap(byte[], int, int, MessageProp) wrap} and
+ * {@link #getMIC(byte[], int, int, MessageProp) getMIC} to obtain
+ * cryptographic operations on application supplied data.<p>
+ *
+ * When the context is no longer needed, the application should call
+ * {@link #dispose() dispose} to release any system resources the context
+ * may be using.<p>
+ *
+ * A security context typically maintains sequencing and replay detection
+ * information about the tokens it processes. Therefore, the sequence in
+ * which any tokens are presented to this context for processing can be
+ * important. Also note that none of the methods in this interface are
+ * synchronized. Therefore, it is not advisable to share a
+ * <code>GSSContext</code> among several threads unless some application
+ * level synchronization is in place.<p>
+ *
+ * Finally, different mechanism providers might place different security
+ * restrictions on using GSS-API contexts. These will be documented by the
+ * mechanism provider. The application will need to ensure that it has the
+ * appropriate permissions if such checks are made in the mechanism layer.<p>
+ *
+ * The example code presented below demonstrates the usage of the
+ * <code>GSSContext</code> interface for the initiating peer. Different
+ * operations on the <code>GSSContext</code> object are presented,
+ * including: object instantiation, setting of desired flags, context
+ * establishment, query of actual context flags, per-message operations on
+ * application data, and finally context deletion.<p>
+ *
+ * <pre>
+ * // Create a context using default credentials
+ * // and the implementation specific default mechanism
+ * GSSManager manager ...
+ * GSSName targetName ...
+ * GSSContext context = manager.createContext(targetName, null, null,
+ * GSSContext.INDEFINITE_LIFETIME);
+ *
+ * // set desired context options prior to context establishment
+ * context.requestConf(true);
+ * context.requestMutualAuth(true);
+ * context.requestReplayDet(true);
+ * context.requestSequenceDet(true);
+ *
+ * // establish a context between peers
+ *
+ * byte []inToken = new byte[0];
+ *
+ * // Loop while there still is a token to be processed
+ *
+ * while (!context.isEstablished()) {
+ *
+ * byte[] outToken
+ * = context.initSecContext(inToken, 0, inToken.length);
+ *
+ * // send the output token if generated
+ * if (outToken != null)
+ * sendToken(outToken);
+ *
+ * if (!context.isEstablished()) {
+ * inToken = readToken();
+ * }
+ *
+ * // display context information
+ * System.out.println("Remaining lifetime in seconds = "
+ * + context.getLifetime());
+ * System.out.println("Context mechanism = " + context.getMech());
+ * System.out.println("Initiator = " + context.getSrcName());
+ * System.out.println("Acceptor = " + context.getTargName());
+ *
+ * if (context.getConfState())
+ * System.out.println("Confidentiality (i.e., privacy) is available");
+ *
+ * if (context.getIntegState())
+ * System.out.println("Integrity is available");
+ *
+ * // perform wrap on an application supplied message, appMsg,
+ * // using QOP = 0, and requesting privacy service
+ * byte [] appMsg ...
+ *
+ * MessageProp mProp = new MessageProp(0, true);
+ *
+ * byte []tok = context.wrap(appMsg, 0, appMsg.length, mProp);
+ *
+ * sendToken(tok);
+ *
+ * // release the local-end of the context
+ * context.dispose();
+ *
+ * </pre>
+ *
+ * @author Mayank Upadhyay
+ * @version 1.17, 05/05/07
+ * @since 1.4
+ */
+public interface GSSContext {
+
+ /**
+ * A lifetime constant representing the default context lifetime. This
+ * value is set to 0.
+ */
+ public static final int DEFAULT_LIFETIME = 0;
+
+ /**
+ * A lifetime constant representing indefinite context lifetime.
+ * This value must is set to the maximum integer value in Java -
+ * {@link java.lang.Integer#MAX_VALUE Integer.MAX_VALUE}.
+ */
+ public static final int INDEFINITE_LIFETIME = Integer.MAX_VALUE;
+
+ /**
+ * Called by the context initiator to start the context creation
+ * phase and process any tokens generated
+ * by the peer's <code>acceptSecContext</code> method.
+ * This method may return an output token which the application will need
+ * to send to the peer for processing by its <code>acceptSecContext</code>
+ * method. The application can call {@link #isEstablished()
+ * isEstablished} to determine if the context establishment phase is
+ * complete on this side of the context. A return value of
+ * <code>false</code> from <code>isEstablished</code> indicates that
+ * more tokens are expected to be supplied to
+ * <code>initSecContext</code>. Upon completion of the context
+ * establishment, the available context options may be queried through
+ * the get methods.<p>
+ *
+ * Note that it is possible that the <code>initSecContext</code> method
+ * return a token for the peer, and <code>isEstablished</code> return
+ * <code>true</code> also. This indicates that the token needs to be sent
+ * to the peer, but the local end of the context is now fully
+ * established.<p>
+ *
+ * Some mechanism providers might require that the caller be granted
+ * permission to initiate a security context. A failed permission check
+ * might cause a {@link java.lang.SecurityException SecurityException}
+ * to be thrown from this method.<p>
+ *
+ * @return a byte[] containing the token to be sent to the
+ * peer. <code>null</code> indicates that no token is generated.
+ * @param inputBuf token generated by the peer. This parameter is ignored
+ * on the first call since no token has been received from the peer.
+ * @param offset the offset within the inputBuf where the token begins.
+ * @param len the length of the token.
+ *
+ * @throws GSSException containing the following
+ * major error codes:
+ * {@link GSSException#DEFECTIVE_TOKEN GSSException.DEFECTIVE_TOKEN},
+ * {@link GSSException#BAD_MIC GSSException.BAD_MIC},
+ * {@link GSSException#NO_CRED GSSException.NO_CRED},
+ * {@link GSSException#CREDENTIALS_EXPIRED
+ * GSSException.CREDENTIALS_EXPIRED},
+ * {@link GSSException#BAD_BINDINGS GSSException.BAD_BINDINGS},
+ * {@link GSSException#OLD_TOKEN GSSException.OLD_TOKEN},
+ * {@link GSSException#DUPLICATE_TOKEN GSSException.DUPLICATE_TOKEN},
+ * {@link GSSException#BAD_NAMETYPE GSSException.BAD_NAMETYPE},
+ * {@link GSSException#BAD_MECH GSSException.BAD_MECH},
+ * {@link GSSException#FAILURE GSSException.FAILURE}
+ */
+ public byte[] initSecContext(byte inputBuf[], int offset, int len)
+ throws GSSException;
+
+ /**
+ * Called by the context initiator to start the context creation
+ * phase and process any tokens generated
+ * by the peer's <code>acceptSecContext</code> method using
+ * streams. This method may write an output token to the
+ * <code>OutpuStream</code>, which the application will
+ * need to send to the peer for processing by its
+ * <code>acceptSecContext</code> call. Typically, the application would
+ * ensure this by calling the {@link java.io.OutputStream#flush() flush}
+ * method on an <code>OutputStream</code> that encapsulates the
+ * connection between the two peers. The application can
+ * determine if a token is written to the OutputStream from the return
+ * value of this method. A return value of <code>0</code> indicates that
+ * no token was written. The application can call
+ * {@link #isEstablished() isEstablished} to determine if the context
+ * establishment phase is complete on this side of the context. A
+ * return value of <code>false</code> from <code>isEstablished</code>
+ * indicates that more tokens are expected to be supplied to
+ * <code>initSecContext</code>.
+ * Upon completion of the context establishment, the available context
+ * options may be queried through the get methods.<p>
+ *
+ * Note that it is possible that the <code>initSecContext</code> method
+ * return a token for the peer, and <code>isEstablished</code> return
+ * <code>true</code> also. This indicates that the token needs to be sent
+ * to the peer, but the local end of the context is n...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 10:03:00
|
Revision: 3309
http://jnode.svn.sourceforge.net/jnode/?rev=3309&view=rev
Author: lsantha
Date: 2007-06-25 03:02:57 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/sun/sun/corba/
trunk/core/src/openjdk/sun/sun/corba/Bridge.java
trunk/core/src/openjdk/sun/sun/corba/BridgePermission.java
trunk/core/src/openjdk/sun/sun/corba/package.html
trunk/core/src/openjdk/sun/sun/io/
trunk/core/src/openjdk/sun/sun/io/ByteToCharASCII.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharBig5.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharBig5_HKSCS.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharBig5_Solaris.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharConverter.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp037.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1006.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1025.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1026.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1046.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1047.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1097.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1098.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1112.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1122.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1123.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1124.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1140.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1141.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1142.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1143.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1144.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1145.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1146.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1147.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1148.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1149.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1250.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1251.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1252.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1253.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1254.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1255.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1256.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1257.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1258.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1381.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp1383.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp273.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp277.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp278.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp280.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp284.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp285.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp297.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp33722.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp420.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp424.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp437.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp500.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp737.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp775.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp834.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp838.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp850.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp852.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp855.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp856.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp857.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp858.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp860.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp861.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp862.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp863.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp864.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp865.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp866.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp868.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp869.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp870.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp871.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp874.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp875.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp918.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp921.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp922.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp930.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp933.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp935.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp937.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp939.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp942.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp942C.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp943.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp943C.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp948.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp949.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp949C.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp950.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp964.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharCp970.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharDBCS_ASCII.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharDBCS_EBCDIC.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharDoubleByte.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC_CN.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC_JP.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC_JP_LINUX.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC_JP_Solaris.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC_KR.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharEUC_TW.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharGB18030.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharGB18030DB.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharGBK.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharHKSCS.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharHKSCS_2001.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISCII91.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO2022.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO2022CN.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO2022JP.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO2022KR.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_1.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_13.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_15.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_2.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_3.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_4.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_5.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_6.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_7.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_8.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharISO8859_9.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJIS0201.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJIS0208.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJIS0208_Solaris.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJIS0212.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJIS0212_Solaris.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJISAutoDetect.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharJohab.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharKOI8_R.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS874.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS932.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS932DB.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS936.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS949.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS950.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMS950_HKSCS.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacArabic.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacCentralEurope.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacCroatian.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacCyrillic.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacDingbat.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacGreek.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacHebrew.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacIceland.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacRoman.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacRomania.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacSymbol.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacThai.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacTurkish.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharMacUkraine.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharPCK.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharSJIS.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharSingleByte.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharTIS620.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUTF16.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUTF8.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUnicode.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUnicodeBig.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUnicodeBigUnmarked.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUnicodeLittle.java
trunk/core/src/openjdk/sun/sun/io/ByteToCharUnicodeLittleUnmarked.java
trunk/core/src/openjdk/sun/sun/io/CharToByteASCII.java
trunk/core/src/openjdk/sun/sun/io/CharToByteBig5.java
trunk/core/src/openjdk/sun/sun/io/CharToByteBig5_HKSCS.java
trunk/core/src/openjdk/sun/sun/io/CharToByteBig5_Solaris.java
trunk/core/src/openjdk/sun/sun/io/CharToByteConverter.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp037.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1006.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1025.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1026.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1046.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1047.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1097.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1098.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1112.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1122.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1123.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1124.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1140.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1141.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1142.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1143.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1144.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1145.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1146.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1147.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1148.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1149.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1250.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1251.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1252.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1253.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1254.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1255.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1256.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1257.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1258.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1381.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp1383.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp273.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp277.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp278.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp280.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp284.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp285.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp297.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp33722.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp420.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp424.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp437.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp500.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp737.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp775.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp834.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp838.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp850.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp852.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp855.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp856.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp857.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp858.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp860.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp861.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp862.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp863.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp864.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp865.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp866.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp868.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp869.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp870.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp871.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp874.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp875.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp918.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp921.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp922.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp930.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp933.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp935.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp937.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp939.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp942.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp942C.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp943.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp943C.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp948.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp949.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp949C.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp950.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp964.java
trunk/core/src/openjdk/sun/sun/io/CharToByteCp970.java
trunk/core/src/openjdk/sun/sun/io/CharToByteDBCS_ASCII.java
trunk/core/src/openjdk/sun/sun/io/CharToByteDBCS_EBCDIC.java
trunk/core/src/openjdk/sun/sun/io/CharToByteDoubleByte.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC_CN.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC_JP.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC_JP_LINUX.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC_JP_Solaris.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC_KR.java
trunk/core/src/openjdk/sun/sun/io/CharToByteEUC_TW.java
trunk/core/src/openjdk/sun/sun/io/CharToByteGB18030.java
trunk/core/src/openjdk/sun/sun/io/CharToByteGBK.java
trunk/core/src/openjdk/sun/sun/io/CharToByteHKSCS.java
trunk/core/src/openjdk/sun/sun/io/CharToByteHKSCS_2001.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISCII91.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO2022.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO2022CN_CNS.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO2022CN_GB.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO2022JP.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO2022KR.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_1.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_13.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_15.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_2.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_3.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_4.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_5.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_6.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_7.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_8.java
trunk/core/src/openjdk/sun/sun/io/CharToByteISO8859_9.java
trunk/core/src/openjdk/sun/sun/io/CharToByteJIS0201.java
trunk/core/src/openjdk/sun/sun/io/CharToByteJIS0208.java
trunk/core/src/openjdk/sun/sun/io/CharToByteJIS0208_Solaris.java
trunk/core/src/openjdk/sun/sun/io/CharToByteJIS0212.java
trunk/core/src/openjdk/sun/sun/io/CharToByteJIS0212_Solaris.java
trunk/core/src/openjdk/sun/sun/io/CharToByteJohab.java
trunk/core/src/openjdk/sun/sun/io/CharToByteKOI8_R.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS874.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS932.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS932DB.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS936.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS949.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS950.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMS950_HKSCS.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacArabic.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacCentralEurope.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacCroatian.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacCyrillic.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacDingbat.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacGreek.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacHebrew.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacIceland.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacRoman.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacRomania.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacSymbol.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacThai.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacTurkish.java
trunk/core/src/openjdk/sun/sun/io/CharToByteMacUkraine.java
trunk/core/src/openjdk/sun/sun/io/CharToBytePCK.java
trunk/core/src/openjdk/sun/sun/io/CharToByteSJIS.java
trunk/core/src/openjdk/sun/sun/io/CharToByteSingleByte.java
trunk/core/src/openjdk/sun/sun/io/CharToByteTIS620.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUTF16.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUTF8.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUnicode.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUnicodeBig.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUnicodeBigUnmarked.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUnicodeLittle.java
trunk/core/src/openjdk/sun/sun/io/CharToByteUnicodeLittleUnmarked.java
trunk/core/src/openjdk/sun/sun/io/CharacterEncoding.java
trunk/core/src/openjdk/sun/sun/io/ConversionBufferFullException.java
trunk/core/src/openjdk/sun/sun/io/Converters.java
trunk/core/src/openjdk/sun/sun/io/MalformedInputException.java
trunk/core/src/openjdk/sun/sun/io/UnknownCharacterException.java
trunk/core/src/openjdk/sun/sun/net/www/MessageHeader.java
trunk/core/src/openjdk/sun/sun/net/www/protocol/
trunk/core/src/openjdk/sun/sun/net/www/protocol/http/
trunk/core/src/openjdk/sun/sun/net/www/protocol/http/InMemoryCookieStore.java
trunk/core/src/openjdk/sun/sun/net/www/protocol/http/NegotiateCallbackHandler.java
trunk/core/src/openjdk/sun/sun/reflect/AccessorGenerator.java
trunk/core/src/openjdk/sun/sun/reflect/BootstrapConstructorAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/ByteVector.java
trunk/core/src/openjdk/sun/sun/reflect/ByteVectorFactory.java
trunk/core/src/openjdk/sun/sun/reflect/ByteVectorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/ClassDefiner.java
trunk/core/src/openjdk/sun/sun/reflect/ClassFileAssembler.java
trunk/core/src/openjdk/sun/sun/reflect/ClassFileConstants.java
trunk/core/src/openjdk/sun/sun/reflect/ConstructorAccessor.java
trunk/core/src/openjdk/sun/sun/reflect/ConstructorAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/DelegatingConstructorAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/DelegatingMethodAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/FieldAccessor.java
trunk/core/src/openjdk/sun/sun/reflect/FieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/FieldInfo.java
trunk/core/src/openjdk/sun/sun/reflect/InstantiationExceptionConstructorAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/Label.java
trunk/core/src/openjdk/sun/sun/reflect/LangReflectAccess.java
trunk/core/src/openjdk/sun/sun/reflect/MagicAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/MethodAccessor.java
trunk/core/src/openjdk/sun/sun/reflect/MethodAccessorGenerator.java
trunk/core/src/openjdk/sun/sun/reflect/MethodAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/NativeConstructorAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/NativeMethodAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/ReflectionFactory.java
trunk/core/src/openjdk/sun/sun/reflect/SerializationConstructorAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/SignatureIterator.java
trunk/core/src/openjdk/sun/sun/reflect/UTF8.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeBooleanFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeByteFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeCharacterFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeDoubleFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeFieldAccessorFactory.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeFloatFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeIntegerFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeLongFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeObjectFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedBooleanFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedByteFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedCharacterFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedDoubleFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedFloatFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedIntegerFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedLongFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedObjectFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedShortFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticBooleanFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticByteFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticCharacterFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticDoubleFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticFloatFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticIntegerFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticLongFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticObjectFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeQualifiedStaticShortFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeShortFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticBooleanFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticByteFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticCharacterFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticDoubleFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticFloatFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticIntegerFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticLongFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticObjectFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/UnsafeStaticShortFieldAccessorImpl.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/
trunk/core/src/openjdk/sun/sun/reflect/annotation/AnnotationInvocationHandler.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/AnnotationParser.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/AnnotationType.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/AnnotationTypeMismatchExceptionProxy.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/ExceptionProxy.java
trunk/core/src/openjdk/sun/sun/reflect/annotation/TypeNotPresentExceptionProxy.java
trunk/core/src/openjdk/sun/sun/reflect/generics/
trunk/core/src/openjdk/sun/sun/reflect/generics/factory/
trunk/core/src/openjdk/sun/sun/reflect/generics/factory/CoreReflectionFactory.java
trunk/core/src/openjdk/sun/sun/reflect/generics/factory/GenericsFactory.java
trunk/core/src/openjdk/sun/sun/reflect/generics/parser/
trunk/core/src/openjdk/sun/sun/reflect/generics/parser/SignatureParser.java
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/GenericArrayTypeImpl.java
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/LazyReflectiveObjectGenerator.java
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/NotImplementedException.java
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/ParameterizedTypeImpl.java
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/TypeVariableImpl.java
trunk/core/src/openjdk/sun/sun/reflect/generics/reflectiveObjects/WildcardTypeImpl.java
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/AbstractRepository.java
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/ClassRepository.java
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/ConstructorRepository.java
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/FieldRepository.java
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/GenericDeclRepository.java
trunk/core/src/openjdk/sun/sun/reflect/generics/repository/MethodRepository.java
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/AbstractScope.java
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/ClassScope.java
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/ConstructorScope.java
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/DummyScope.java
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/MethodScope.java
trunk/core/src/openjdk/sun/sun/reflect/generics/scope/Scope.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/ArrayTypeSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/BaseType.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/BooleanSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/BottomSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/ByteSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/CharSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/ClassSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/ClassTypeSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/DoubleSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/FieldTypeSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/FloatSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/FormalTypeParameter.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/IntSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/LongSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/MethodTypeSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/ReturnType.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/ShortSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/Signature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/SimpleClassTypeSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/Tree.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/TypeArgument.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/TypeSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/TypeTree.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/TypeVariableSignature.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/VoidDescriptor.java
trunk/core/src/openjdk/sun/sun/reflect/generics/tree/Wildcard.java
trunk/core/src/openjdk/sun/sun/reflect/generics/visitor/
trunk/core/src/openjdk/sun/sun/reflect/generics/visitor/Reifier.java
trunk/core/src/openjdk/sun/sun/reflect/generics/visitor/TypeTreeVisitor.java
trunk/core/src/openjdk/sun/sun/reflect/generics/visitor/Visitor.java
trunk/core/src/openjdk/sun/sun/reflect/package.html
trunk/core/src/openjdk/sun/sun/rmi/rmic/
trunk/core/src/openjdk/sun/sun/rmi/rmic/BatchEnvironment.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/Constants.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/Generator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/IndentingWriter.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/Main.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/Names.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/RMIConstants.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/RMIGenerator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/RemoteClass.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/Util.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/AbstractType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ArrayType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/BatchEnvironment.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ClassPathLoader.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ClassType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/CompoundType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/Constants.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ContextElement.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ContextStack.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/DirectoryLoader.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/Generator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/IDLGenerator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/IDLNames.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ImplementationType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/InterfaceType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/NCClassType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/NCInterfaceType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/NameContext.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/PrimitiveType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/PrintGenerator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/RemoteType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/SpecialClassType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/SpecialInterfaceType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/StaticStringsHash.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/StubGenerator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/Type.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/Util.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/iiop/ValueType.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/BatchEnvironment.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/Constants.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/Generator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/IndentingWriter.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/Main.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/Resources.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/jrmp/
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/jrmp/Constants.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/jrmp/JrmpGenerator.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/jrmp/RemoteClass.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/jrmp/StubSkeletonWriter.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/newrmic/jrmp/Util.java
trunk/core/src/openjdk/sun/sun/rmi/rmic/resources/
trunk/core/src/openjdk/sun/sun/rmi/rmic/resources/rmic.properties
trunk/core/src/openjdk/sun/sun/rmi/rmic/resources/rmic_ja.properties
trunk/core/src/openjdk/sun/sun/rmi/rmic/resources/rmic_zh_CN.properties
trunk/core/src/openjdk/sun/sun/security/acl/
trunk/core/src/openjdk/sun/sun/security/acl/AclEntryImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/AclImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/AllPermissionsImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/GroupImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/OwnerImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/PermissionImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/PrincipalImpl.java
trunk/core/src/openjdk/sun/sun/security/acl/WorldGroupImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/
trunk/core/src/openjdk/sun/sun/security/jgss/GSSContextImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSCredentialImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSExceptionImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSHeader.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSManagerImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSNameImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/GSSUtil.java
trunk/core/src/openjdk/sun/sun/security/jgss/LoginConfigImpl.java
trunk/core/src/openjdk/sun/sun/security/jgss/ProviderList.java
trunk/core/src/openjdk/sun/sun/security/jgss/SunProvider.java
trunk/core/src/openjdk/sun/sun/security/jgss/TokenTracker.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/AcceptSecContextToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/CipherHelper.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/InitSecContextToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/InitialToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5AcceptCredential.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5Context.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5CredElement.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5InitCredential.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5MechFactory.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5NameElement.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5Token.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/Krb5Util.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/MessageToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/MessageToken_v2.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/MicToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/MicToken_v2.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/SubjectComber.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/WrapToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/krb5/WrapToken_v2.java
trunk/core/src/openjdk/sun/sun/security/jgss/spi/
trunk/core/src/openjdk/sun/sun/security/jgss/spi/GSSContextSpi.java
trunk/core/src/openjdk/sun/sun/security/jgss/spi/GSSCredentialSpi.java
trunk/core/src/openjdk/sun/sun/security/jgss/spi/GSSNameSpi.java
trunk/core/src/openjdk/sun/sun/security/jgss/spi/MechanismFactory.java
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/NegTokenInit.java
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/NegTokenTarg.java
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/SpNegoContext.java
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/SpNegoCredElement.java
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/SpNegoMechFactory.java
trunk/core/src/openjdk/sun/sun/security/jgss/spnego/SpNegoToken.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/GSSCredElement.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/GSSLibStub.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/GSSNameElement.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/Krb5Util.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/NativeGSSContext.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/NativeGSSFactory.java
trunk/core/src/openjdk/sun/sun/security/jgss/wrapper/SunNativeProvider.java
trunk/core/src/openjdk/sun/sun/security/validator/
trunk/core/src/openjdk/sun/sun/security/validator/EndEntityChecker.java
trunk/core/src/openjdk/sun/sun/security/validator/KeyStores.java
trunk/core/src/openjdk/sun/sun/security/validator/PKIXValidator.java
trunk/core/src/openjdk/sun/sun/security/validator/SimpleValidator.java
trunk/core/src/openjdk/sun/sun/security/validator/Validator.java
trunk/core/src/openjdk/sun/sun/security/validator/ValidatorException.java
trunk/core/src/openjdk/sun/sun/text/resources/
trunk/core/src/openjdk/sun/sun/text/resources/BreakIteratorInfo.java
trunk/core/src/openjdk/sun/sun/text/resources/BreakIteratorInfo_th.java
trunk/core/src/openjdk/sun/sun/text/resources/BreakIteratorRules.java
trunk/core/src/openjdk/sun/sun/text/resources/BreakIteratorRules_th.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_ar.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_be.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_bg.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_ca.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_cs.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_da.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_de.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_el.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_en.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_es.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_et.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_fi.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_fr.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_hi.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_hr.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_hu.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_is.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_it.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_iw.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_ja.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_ko.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_lt.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_lv.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_mk.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_nl.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_no.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_pl.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_pt.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_ro.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_ru.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_sk.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_sl.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_sq.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_sr.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_sv.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_th.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_tr.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_uk.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_vi.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_zh.java
trunk/core/src/openjdk/sun/sun/text/resources/CollationData_zh_TW.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_AE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_BH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_DZ.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_EG.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_IQ.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_JO.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_KW.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_LB.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_LY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_MA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_OM.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_QA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_SA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_SD.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_SY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_TN.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ar_YE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_be.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_be_BY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_bg.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_bg_BG.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ca.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ca_ES.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_cs.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_cs_CZ.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_da.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_da_DK.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_de.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_de_AT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_de_CH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_de_DE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_de_LU.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_el.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_el_CY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_el_GR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_AU.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_CA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_GB.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_IE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_IN.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_MT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_NZ.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_PH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_SG.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_US.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_en_ZA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_AR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_BO.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_CL.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_CO.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_CR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_DO.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_EC.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_ES.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_GT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_HN.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_MX.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_NI.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_PA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_PE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_PR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_PY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_SV.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_US.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_UY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_es_VE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_et.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_et_EE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fi.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fi_FI.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fr.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fr_BE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fr_CA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fr_CH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fr_FR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_fr_LU.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ga.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ga_IE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_hi_IN.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_hr.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_hr_HR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_hu.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_hu_HU.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_in.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_in_ID.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_is.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_is_IS.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_it.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_it_CH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_it_IT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_iw.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_iw_IL.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ja.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ja_JP.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ja_JP_JP.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ko.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ko_KR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_lt.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_lt_LT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_lv.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_lv_LV.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_mk.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_mk_MK.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ms.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ms_MY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_mt.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_mt_MT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_nl.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_nl_BE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_nl_NL.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_no.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_no_NO.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_no_NO_NY.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_pl.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_pl_PL.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_pt.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_pt_BR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_pt_PT.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ro.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ro_RO.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ru.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_ru_RU.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sk.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sk_SK.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sl.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sl_SI.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sq.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sq_AL.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sr.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sr_BA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sr_CS.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sr_ME.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sr_RS.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sv.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_sv_SE.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_th.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_th_TH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_th_TH_TH.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_tr.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_tr_TR.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_uk.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_uk_UA.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_vi.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_vi_VN.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_zh.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_zh_CN.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_zh_SG.java
trunk/core/src/openjdk/sun/sun/text/resources/FormatData_zh_TW.java
trunk/core/src/openjdk/sun/sun/text/resources/thai_dict
trunk/core/src/openjdk/sun/sun/text/resources/unorm.icu
trunk/core/src/openjdk/sun/sun/text/resources/uprops.icu
trunk/core/src/openjdk/sun/sun/util/EmptyListResourceBundle.java
trunk/core/src/openjdk/sun/sun/util/ResourceBundleEnumeration.java
trunk/core/src/openjdk/sun/sun/util/logging/
trunk/core/src/openjdk/sun/sun/util/logging/resources/
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_de.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_es.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_fr.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_it.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_ja.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_ko.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_sv.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_zh_CN.properties
trunk/core/src/openjdk/sun/sun/util/logging/resources/logging_zh_TW.properties
trunk/core/src/openjdk/sun/sun/util/resources/
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ar.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_be.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_bg.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ca.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_cs.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_da.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_de.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_el.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_el_CY.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_en.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_en_GB.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_en_IE.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_en_MT.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_es.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_es_ES.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_es_US.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_et.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_fi.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_fr.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_fr_CA.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_hi.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_hr.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_hu.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_in_ID.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_is.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_it.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_iw.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ja.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ko.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_lt.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_lv.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_mk.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ms_MY.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_mt.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_mt_MT.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_nl.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_no.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_pl.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_pt.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_pt_PT.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ro.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_ru.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_sk.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_sl.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_sq.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_sr.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_sv.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_th.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_tr.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_uk.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_vi.properties
trunk/core/src/openjdk/sun/sun/util/resources/CalendarData_zh.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_AE.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_BH.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_DZ.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_EG.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_IQ.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_JO.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_KW.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_LB.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_LY.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_MA.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_OM.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_QA.properties
trunk/core/src/openjdk/sun/sun/util/resources/CurrencyNames_ar_SA.properties
trunk/c...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 09:50:33
|
Revision: 3306
http://jnode.svn.sourceforge.net/jnode/?rev=3306&view=rev
Author: lsantha
Date: 2007-06-25 02:32:16 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/java/java/net/
trunk/core/src/openjdk/java/java/net/CacheRequest.java
trunk/core/src/openjdk/java/java/net/CacheResponse.java
trunk/core/src/openjdk/java/java/net/CookieHandler.java
trunk/core/src/openjdk/java/java/net/CookieManager.java
trunk/core/src/openjdk/java/java/net/CookiePolicy.java
trunk/core/src/openjdk/java/java/net/CookieStore.java
trunk/core/src/openjdk/java/java/net/HttpCookie.java
trunk/core/src/openjdk/java/java/net/HttpRetryException.java
trunk/core/src/openjdk/java/java/net/SecureCacheResponse.java
trunk/core/src/openjdk/java/java/security/AuthProvider.java
trunk/core/src/openjdk/java/java/security/KeyStore.java
trunk/core/src/openjdk/java/java/security/KeyStoreSpi.java
trunk/core/src/openjdk/java/java/security/UnrecoverableEntryException.java
trunk/core/src/openjdk/java/java/security/UnrecoverableKeyException.java
trunk/core/src/openjdk/java/java/util/LocaleISOData.java
trunk/core/src/openjdk/java/java/util/MissingResourceException.java
Added: trunk/core/src/openjdk/java/java/net/CacheRequest.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/CacheRequest.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/CacheRequest.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+import java.io.OutputStream;
+import java.io.IOException;
+
+/**
+ * Represents channels for storing resources in the
+ * ResponseCache. Instances of such a class provide an
+ * OutputStream object which is called by protocol handlers to
+ * store the resource data into the cache, and also an abort() method
+ * which allows a cache store operation to be interrupted and
+ * abandoned. If an IOException is encountered while reading the
+ * response or writing to the cache, the current cache store operation
+ * will be aborted.
+ *
+ * @version 1.1, 03/09/22
+ * @author Yingxian Wang
+ * @since 1.5
+ */
+public abstract class CacheRequest {
+
+ /**
+ * Returns an OutputStream to which the response body can be
+ * written.
+ *
+ * @return an OutputStream to which the response body can
+ * be written
+ * @throws IOException if an I/O error occurs while
+ * writing the response body
+ */
+ public abstract OutputStream getBody() throws IOException;
+
+ /**
+ * Aborts the attempt to cache the response. If an IOException is
+ * encountered while reading the response or writing to the cache,
+ * the current cache store operation will be abandoned.
+ */
+ public abstract void abort();
+}
Added: trunk/core/src/openjdk/java/java/net/CacheResponse.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/CacheResponse.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/CacheResponse.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,65 @@
+/*
+ * Copyright 2003-2004 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+import java.io.InputStream;
+import java.util.Map;
+import java.util.List;
+import java.io.IOException;
+
+/**
+ * Represent channels for retrieving resources from the
+ * ResponseCache. Instances of such a class provide an
+ * InputStream that returns the entity body, and also a
+ * getHeaders() method which returns the associated response headers.
+ *
+ * @version 1.1, 03/09/22
+ * @author Yingxian Wang
+ * @since 1.5
+ */
+public abstract class CacheResponse {
+
+ /**
+ * Returns the response headers as a Map.
+ *
+ * @return An immutable Map from response header field names to
+ * lists of field values. The status line has null as its
+ * field name.
+ * @throws IOException if an I/O error occurs
+ * while getting the response headers
+ */
+ public abstract Map<String, List<String>> getHeaders() throws IOException;
+
+ /**
+ * Returns the response body as an InputStream.
+ *
+ * @return an InputStream from which the response body can
+ * be accessed
+ * @throws IOException if an I/O error occurs while
+ * getting the response body
+ */
+ public abstract InputStream getBody() throws IOException;
+}
Added: trunk/core/src/openjdk/java/java/net/CookieHandler.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/CookieHandler.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/CookieHandler.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,141 @@
+/*
+ * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+import java.util.Map;
+import java.util.List;
+import java.io.IOException;
+import sun.security.util.SecurityConstants;
+
+/**
+ * A CookieHandler object provides a callback mechanism to hook up a
+ * HTTP state management policy implementation into the HTTP protocol
+ * handler. The HTTP state management mechanism specifies a way to
+ * create a stateful session with HTTP requests and responses.
+ *
+ * <p>A system-wide CookieHandler that to used by the HTTP protocol
+ * handler can be registered by doing a
+ * CookieHandler.setDefault(CookieHandler). The currently registered
+ * CookieHandler can be retrieved by calling
+ * CookieHandler.getDefault().
+ *
+ * For more information on HTTP state management, see <a
+ * href="http://www.ietf.org/rfc/rfc2965.txt""><i>RFC 2965: HTTP
+ * State Management Mechanism</i></a>
+ *
+ * @version 1.4, 03/08/09
+ * @author Yingxian Wang
+ * @since 1.5
+ */
+public abstract class CookieHandler {
+ /**
+ * The system-wide cookie handler that will apply cookies to the
+ * request headers and manage cookies from the response headers.
+ *
+ * @see setDefault(CookieHandler)
+ * @see getDefault()
+ */
+ private static CookieHandler cookieHandler;
+
+ /**
+ * Gets the system-wide cookie handler.
+ *
+ * @return the system-wide cookie handler; A null return means
+ * there is no system-wide cookie handler currently set.
+ * @throws SecurityException
+ * If a security manager has been installed and it denies
+ * {@link NetPermission}<tt>("getCookieHandler")</tt>
+ * @see #setDefault(CookieHandler)
+ */
+ public synchronized static CookieHandler getDefault() {
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null) {
+ sm.checkPermission(SecurityConstants.GET_COOKIEHANDLER_PERMISSION);
+ }
+ return cookieHandler;
+ }
+
+ /**
+ * Sets (or unsets) the system-wide cookie handler.
+ *
+ * Note: non-standard http protocol handlers may ignore this setting.
+ *
+ * @param cHandler The HTTP cookie handler, or
+ * <code>null</code> to unset.
+ * @throws SecurityException
+ * If a security manager has been installed and it denies
+ * {@link NetPermission}<tt>("setCookieHandler")</tt>
+ * @see #getDefault()
+ */
+ public synchronized static void setDefault(CookieHandler cHandler) {
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null) {
+ sm.checkPermission(SecurityConstants.SET_COOKIEHANDLER_PERMISSION);
+ }
+ cookieHandler = cHandler;
+ }
+
+ /**
+ * Gets all the applicable cookies from a cookie cache for the
+ * specified uri in the request header.
+ *
+ * HTTP protocol implementers should make sure that this method is
+ * called after all request headers related to choosing cookies
+ * are added, and before the request is sent.
+ *
+ * @param uri a <code>URI</code> to send cookies to in a request
+ * @param requestHeaders - a Map from request header
+ * field names to lists of field values representing
+ * the current request headers
+ * @return an immutable map from state management headers, with
+ * field names "Cookie" or "Cookie2" to a list of
+ * cookies containing state information
+ *
+ * @throws IOException if an I/O error occurs
+ * @throws IllegalArgumentException if either argument is null
+ * @see #put(URI, Map)
+ */
+ public abstract Map<String, List<String>>
+ get(URI uri, Map<String, List<String>> requestHeaders)
+ throws IOException;
+
+ /**
+ * Sets all the applicable cookies, examples are response header
+ * fields that are named Set-Cookie2, present in the response
+ * headers into a cookie cache.
+ *
+ * @param uri a <code>URI</code> where the cookies come from
+ * @param responseHeaders an immutable map from field names to
+ * lists of field values representing the response
+ * header fields returned
+ * @throws IOException if an I/O error occurs
+ * @throws IllegalArgumentException if either argument is null
+ * @see #get(URI, Map)
+ */
+ public abstract void
+ put(URI uri, Map<String, List<String>> responseHeaders)
+ throws IOException;
+}
Added: trunk/core/src/openjdk/java/java/net/CookieManager.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/CookieManager.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/CookieManager.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,336 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+import java.util.Map;
+import java.util.List;
+import java.util.Collections;
+import java.util.Comparator;
+import java.io.IOException;
+
+/**
+ * CookieManager provides a concrete implementation of {@link CookieHandler},
+ * which separates the storage of cookies from the policy surrounding accepting
+ * and rejecting cookies. A CookieManager is initialized with a {@link CookieStore}
+ * which manages storage, and a {@link CookiePolicy} object, which makes
+ * policy decisions on cookie acceptance/rejection.
+ *
+ * <p> The HTTP cookie management in java.net package looks like:
+ * <blockquote>
+ * <pre>
+ * use
+ * CookieHandler <------- HttpURLConnection
+ * ^
+ * | impl
+ * | use
+ * CookieManager -------> CookiePolicy
+ * | use
+ * |--------> HttpCookie
+ * | ^
+ * | | use
+ * | use |
+ * |--------> CookieStore
+ * ^
+ * | impl
+ * |
+ * Internal in-memory implementation
+ * </pre>
+ * <ul>
+ * <li>
+ * CookieHandler is at the core of cookie management. User can call
+ * CookieHandler.setDefault to set a concrete CookieHanlder implementation
+ * to be used.
+ * </li>
+ * <li>
+ * CookiePolicy.shouldAccept will be called by CookieManager.put to see whether
+ * or not one cookie should be accepted and put into cookie store. User can use
+ * any of three pre-defined CookiePolicy, namely ACCEPT_ALL, ACCEPT_NONE and
+ * ACCEPT_ORIGINAL_SERVER, or user can define his own CookiePolicy implementation
+ * and tell CookieManager to use it.
+ * </li>
+ * <li>
+ * CookieStore is the place where any accepted HTTP cookie is stored in.
+ * If not specified when created, a CookieManager instance will use an internal
+ * in-memory implementation. Or user can implements one and tell CookieManager
+ * to use it.
+ * </li>
+ * <li>
+ * Currently, only CookieStore.add(URI, HttpCookie) and CookieStore.get(URI)
+ * are used by CookieManager. Others are for completeness and might be needed
+ * by a more sophisticated CookieStore implementation, e.g. a NetscapeCookieSotre.
+ * </li>
+ * </ul>
+ * </blockquote>
+ *
+ * <p>There're various ways user can hook up his own HTTP cookie management behavior, e.g.
+ * <blockquote>
+ * <ul>
+ * <li>Use CookieHandler.setDefault to set a brand new {@link CookieHandler} implementation
+ * <li>Let CookieManager be the default {@link CookieHandler} implementation,
+ * but implement user's own {@link CookieStore} and {@link CookiePolicy}
+ * and tell default CookieManager to use them:
+ * <blockquote><pre>
+ * // this should be done at the beginning of an HTTP session
+ * CookieHandler.setDefault(new CookieManager(new MyCookieStore(), new MyCookiePolicy()));
+ * </pre></blockquote>
+ * <li>Let CookieManager be the default {@link CookieHandler} implementation, but
+ * use customized {@link CookiePolicy}:
+ * <blockquote><pre>
+ * // this should be done at the beginning of an HTTP session
+ * CookieHandler.setDefault(new CookieManager());
+ * // this can be done at any point of an HTTP session
+ * ((CookieManager)CookieHandler.getDefault()).setCookiePolicy(new MyCookiePolicy());
+ * </pre></blockquote>
+ * </ul>
+ * </blockquote>
+ *
+ * <p>The implementation conforms to RFC 2965, section 3.3.
+ *
+ * @version %I%, %E%
+ * @author Edward Wang
+ * @since 1.6
+ */
+public class CookieManager extends CookieHandler
+{
+ /* ---------------- Fields -------------- */
+
+ private CookiePolicy policyCallback;
+
+
+ private CookieStore cookieJar = null;
+
+
+ /* ---------------- Ctors -------------- */
+
+ /**
+ * Create a new cookie manager.
+ *
+ * <p>This constructor will create new cookie manager with default
+ * cookie store and accept policy. The effect is same as
+ * <tt>CookieManager(null, null)</tt>.
+ */
+ public CookieManager() {
+ this(null, null);
+ }
+
+
+ /**
+ * Create a new cookie manager with specified cookie store and cookie policy.
+ *
+ * @param store a <tt>CookieStore</tt> to be used by cookie manager.
+ * if <tt>null</tt>, cookie manager will use a default one,
+ * which is an in-memory CookieStore implmentation.
+ * @param cookiePolicy a <tt>CookiePolicy</tt> instance
+ * to be used by cookie manager as policy callback.
+ * if <tt>null</tt>, ACCEPT_ORIGINAL_SERVER will
+ * be used.
+ */
+ public CookieManager(CookieStore store,
+ CookiePolicy cookiePolicy)
+ {
+ // use default cookie policy if not specify one
+ policyCallback = (cookiePolicy == null) ? CookiePolicy.ACCEPT_ORIGINAL_SERVER
+ : cookiePolicy;
+
+ // if not specify CookieStore to use, use default one
+ if (store == null) {
+ cookieJar = new sun.net.www.protocol.http.InMemoryCookieStore();
+ } else {
+ cookieJar = store;
+ }
+ }
+
+
+ /* ---------------- Public operations -------------- */
+
+ /**
+ * To set the cookie policy of this cookie manager.
+ *
+ * <p> A instance of <tt>CookieManager</tt> will have
+ * cookie policy ACCEPT_ORIGINAL_SERVER by default. Users always
+ * can call this method to set another cookie policy.
+ *
+ * @param cookiePolicy the cookie policy. Can be <tt>null</tt>, which
+ * has no effects on current cookie policy.
+ */
+ public void setCookiePolicy(CookiePolicy cookiePolicy) {
+ if (cookiePolicy != null) policyCallback = cookiePolicy;
+ }
+
+
+ /**
+ * To retrieve current cookie store.
+ *
+ * @return the cookie store currently used by cookie manager.
+ */
+ public CookieStore getCookieStore() {
+ return cookieJar;
+ }
+
+
+ public Map<String, List<String>>
+ get(URI uri, Map<String, List<String>> requestHeaders)
+ throws IOException
+ {
+ // pre-condition check
+ if (uri == null || requestHeaders == null) {
+ throw new IllegalArgumentException("Argument is null");
+ }
+
+ Map<String, List<String>> cookieMap =
+ new java.util.HashMap<String, List<String>>();
+ // if there's no default CookieStore, no way for us to get any cookie
+ if (cookieJar == null)
+ return Collections.unmodifiableMap(cookieMap);
+
+ List<HttpCookie> cookies = new java.util.ArrayList<HttpCookie>();
+ for (HttpCookie cookie : cookieJar.get(uri)) {
+ // apply path-matches rule (RFC 2965 sec. 3.3.4)
+ if (pathMatches(uri.getPath(), cookie.getPath())) {
+ cookies.add(cookie);
+ }
+ }
+
+ // apply sort rule (RFC 2965 sec. 3.3.4)
+ List<String> cookieHeader = sortByPath(cookies);
+
+ cookieMap.put("Cookie", cookieHeader);
+ return Collections.unmodifiableMap(cookieMap);
+ }
+
+
+ public void
+ put(URI uri, Map<String, List<String>> responseHeaders)
+ throws IOException
+ {
+ // pre-condition check
+ if (uri == null || responseHeaders == null) {
+ throw new IllegalArgumentException("Argument is null");
+ }
+
+
+ // if there's no default CookieStore, no need to remember any cookie
+ if (cookieJar == null)
+ return;
+
+ for (String headerKey : responseHeaders.keySet()) {
+ // RFC 2965 3.2.2, key must be 'Set-Cookie2'
+ // we also accept 'Set-Cookie' here for backward compatibility
+ if (headerKey == null
+ || !(headerKey.equalsIgnoreCase("Set-Cookie2")
+ || headerKey.equalsIgnoreCase("Set-Cookie")
+ )
+ )
+ {
+ continue;
+ }
+
+ for (String headerValue : responseHeaders.get(headerKey)) {
+ try {
+ List<HttpCookie> cookies = HttpCookie.parse(headerValue);
+ for (HttpCookie cookie : cookies) {
+ if (shouldAcceptInternal(uri, cookie)) {
+ cookieJar.add(uri, cookie);
+ }
+ }
+ } catch (IllegalArgumentException e) {
+ // invalid set-cookie header string
+ // no-op
+ }
+ }
+ }
+ }
+
+
+ /* ---------------- Private operations -------------- */
+
+ // to determine whether or not accept this cookie
+ private boolean shouldAcceptInternal(URI uri, HttpCookie cookie) {
+ try {
+ return policyCallback.shouldAccept(uri, cookie);
+ } catch (Exception ignored) { // pretect against malicious callback
+ return false;
+ }
+ }
+
+
+ /*
+ * path-matches algorithm, as defined by RFC 2965
+ */
+ private boolean pathMatches(String path, String pathToMatchWith) {
+ if (path == pathToMatchWith)
+ return true;
+ if (path == null || pathToMatchWith == null)
+ return false;
+ if (path.startsWith(pathToMatchWith))
+ return true;
+
+ return false;
+ }
+
+
+ /*
+ * sort cookies with respect to their path: those with more specific Path attributes
+ * precede those with less specific, as defined in RFC 2965 sec. 3.3.4
+ */
+ private List<String> sortByPath(List<HttpCookie> cookies) {
+ Collections.sort(cookies, new CookiePathComparator());
+
+ List<String> cookieHeader = new java.util.ArrayList<String>();
+ for (HttpCookie cookie : cookies) {
+ // Netscape cookie spec and RFC 2965 have different format of Cookie
+ // header; RFC 2965 requires a leading $Version="1" string while Netscape
+ // does not.
+ // The workaround here is to add a $Version="1" string in advance
+ if (cookies.indexOf(cookie) == 0 && cookie.getVersion() > 0) {
+ cookieHeader.add("$Version=\"1\"");
+ }
+
+ cookieHeader.add(cookie.toString());
+ }
+ return cookieHeader;
+ }
+
+
+ static class CookiePathComparator implements Comparator<HttpCookie> {
+ public int compare(HttpCookie c1, HttpCookie c2) {
+ if (c1 == c2) return 0;
+ if (c1 == null) return -1;
+ if (c2 == null) return 1;
+
+ // path rule only applies to the cookies with same name
+ if (!c1.getName().equals(c2.getName())) return 0;
+
+ // those with more specific Path attributes precede those with less specific
+ if (c1.getPath().startsWith(c2.getPath()))
+ return -1;
+ else if (c2.getPath().startsWith(c1.getPath()))
+ return 1;
+ else
+ return 0;
+ }
+ }
+}
Added: trunk/core/src/openjdk/java/java/net/CookiePolicy.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/CookiePolicy.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/CookiePolicy.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,78 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+/**
+ * CookiePolicy implementations decide which cookies should be accepted
+ * and which should be rejected. Three pre-defined policy implementations
+ * are provided, namely ACCEPT_ALL, ACCEPT_NONE and ACCEPT_ORIGINAL_SERVER.
+ *
+ * <p>See RFC 2965 sec. 3.3 & 7 for more detail.
+ *
+ * @version %I%, %E%
+ * @author Edward Wang
+ * @since 1.6
+ */
+public interface CookiePolicy {
+ /**
+ * One pre-defined policy which accepts all cookies.
+ */
+ public static final CookiePolicy ACCEPT_ALL = new CookiePolicy(){
+ public boolean shouldAccept(URI uri, HttpCookie cookie) {
+ return true;
+ }
+ };
+
+ /**
+ * One pre-defined policy which accepts no cookies.
+ */
+ public static final CookiePolicy ACCEPT_NONE = new CookiePolicy(){
+ public boolean shouldAccept(URI uri, HttpCookie cookie) {
+ return false;
+ }
+ };
+
+ /**
+ * One pre-defined policy which only accepts cookies from original server.
+ */
+ public static final CookiePolicy ACCEPT_ORIGINAL_SERVER = new CookiePolicy(){
+ public boolean shouldAccept(URI uri, HttpCookie cookie) {
+ return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost());
+ }
+ };
+
+
+ /**
+ * Will be called to see whether or not this cookie should be accepted.
+ *
+ * @param uri the URI to consult accept policy with
+ * @param cookie the HttpCookie object in question
+ * @return <tt>true</tt> if this cookie should be accepted;
+ * otherwise, <tt>false</tt>
+ */
+ public boolean shouldAccept(URI uri, HttpCookie cookie);
+}
+
Added: trunk/core/src/openjdk/java/java/net/CookieStore.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/CookieStore.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/CookieStore.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,129 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+import java.util.List;
+import java.util.Map;
+
+/**
+ * A CookieStore object represents a storage for cookie. Can store and retrieve
+ * cookies.
+ *
+ * <p>{@link CookieManager} will call <tt>CookieStore.add</tt> to save cookies
+ * for every incoming HTTP response, and call <tt>CookieStore.get</tt> to
+ * retrieve cookie for every outgoing HTTP request. A CookieStore
+ * is responsible for removing HttpCookie instances which have expired.
+ *
+ * @version 1.9, 07/05/05
+ * @author Edward Wang
+ * @since 1.6
+ */
+public interface CookieStore {
+ /**
+ * Adds one HTTP cookie to the store. This is called for every
+ * incoming HTTP response.
+ *
+ * <p>A cookie to store may or may not be associated with an URI. If it
+ * is not associated with an URI, the cookie's domain and path attribute
+ * will indicate where it comes from. If it is associated with an URI and
+ * its domain and path attribute are not speicifed, given URI will indicate
+ * where this cookie comes from.
+ *
+ * <p>If a cookie corresponding to the given URI already exists,
+ * then it is replaced with the new one.
+ *
+ * @param uri the uri this cookie associated with.
+ * if <tt>null</tt>, this cookie will not be associated
+ * with an URI
+ * @param cookie the cookie to store
+ *
+ * @throws NullPointerException if <tt>cookie</tt> is <tt>null</tt>
+ *
+ * @see #get
+ *
+ */
+ public void add(URI uri, HttpCookie cookie);
+
+
+ /**
+ * Retrieve cookies associated with given URI, or whose domain matches the
+ * given URI. Only cookies that have not expired are returned.
+ * This is called for every outgoing HTTP request.
+ *
+ * @return an immutable list of HttpCookie,
+ * return empty list if no cookies match the given URI
+ *
+ * @throws NullPointerException if <tt>uri</tt> is <tt>null</tt>
+ *
+ * @see #add
+ *
+ */
+ public List<HttpCookie> get(URI uri);
+
+
+ /**
+ * Get all not-expired cookies in cookie store.
+ *
+ * @return an immutable list of http cookies;
+ * return empty list if there's no http cookie in store
+ */
+ public List<HttpCookie> getCookies();
+
+
+ /**
+ * Get all URIs which identify the cookies in this cookie store.
+ *
+ * @return an immutable list of URIs;
+ * return empty list if no cookie in this cookie store
+ * is associated with an URI
+ */
+ public List<URI> getURIs();
+
+
+ /**
+ * Remove a cookie from store.
+ *
+ * @param uri the uri this cookie associated with.
+ * if <tt>null</tt>, the cookie to be removed is not associated
+ * with an URI when added; if not <tt>null</tt>, the cookie
+ * to be removed is associated with the given URI when added.
+ * @param cookie the cookie to remove
+ *
+ * @return <tt>true</tt> if this store contained the specified cookie
+ *
+ * @throws NullPointerException if <tt>cookie</tt> is <tt>null</tt>
+ */
+ public boolean remove(URI uri, HttpCookie cookie);
+
+
+ /**
+ * Remove all cookies in this cookie store.
+ *
+ * @return <tt>true</tt> if this store changed as a result of the call
+ */
+ public boolean removeAll();
+}
+
Added: trunk/core/src/openjdk/java/java/net/HttpCookie.java
===================================================================
--- trunk/core/src/openjdk/java/java/net/HttpCookie.java (rev 0)
+++ trunk/core/src/openjdk/java/java/net/HttpCookie.java 2007-06-25 09:32:16 UTC (rev 3306)
@@ -0,0 +1,1166 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package java.net;
+
+import java.util.List;
+import java.util.StringTokenizer;
+import java.util.NoSuchElementException;
+import java.text.SimpleDateFormat;
+import java.util.TimeZone;
+import java.util.Date;
+
+import java.lang.NullPointerException; // for javadoc
+
+/**
+ * An HttpCookie object represents an http cookie, which carries state
+ * information between server and user agent. Cookie is widely adopted
+ * to create stateful sessions.
+ *
+ * <p>There are 3 http cookie specifications:
+ * <blockquote>
+ * Netscape draft<br>
+ * RFC 2109 - <a href="http://www.ietf.org/rfc/rfc2109.txt">
+ * <i>http://www.ietf.org/rfc/rfc2109.txt</i></a><br>
+ * RFC 2965 - <a href="http://www.ietf.org/rfc/rfc2965.txt">
+ * <i>http://www.ietf.org/rfc/rfc2965.txt</i></a>
+ * </blockquote>
+ *
+ * <p>HttpCookie class can accept all these 3 forms of syntax.
+ *
+ * @version 1.11, 07/05/05
+ * @author Edward Wang
+ * @since 1.6
+ */
+public final class HttpCookie implements Cloneable {
+ /* ---------------- Fields -------------- */
+
+ //
+ // The value of the cookie itself.
+ //
+
+ private String name; // NAME= ... "$Name" style is reserved
+ private String value; // value of NAME
+
+ //
+ // Attributes encoded in the header's cookie fields.
+ //
+
+ private String comment; // Comment=VALUE ... describes cookie's use
+ private String commentURL; // CommentURL="http URL" ... describes cookie's use
+ private boolean toDiscard; // Discard ... discard cookie unconditionally
+ private String domain; // Domain=VALUE ... domain that sees cookie
+ private long maxAge = MAX_AGE_UNSPECIFIED; // Max-Age=VALUE ... cookies auto-expire
+ private String path; // Path=VALUE ... URLs that see the cookie
+ private String portlist; // Port[="portlist"] ... the port cookie may be returned to
+ private boolean secure; // Secure ... e.g. use SSL
+ private int version = 1; // Version=1 ... RFC 2965 style
+
+ //
+ // Hold the creation time (in seconds) of the http cookie for later
+ // expiration calculation
+ //
+ private long whenCreated = 0;
+
+
+ //
+ // Since the positive and zero max-age have their meanings,
+ // this value serves as a hint as 'not specify max-age'
+ //
+ private final static long MAX_AGE_UNSPECIFIED = -1;
+
+
+ //
+ // date format used by Netscape's cookie draft
+ //
+ private final static String NETSCAPE_COOKIE_DATE_FORMAT = "EEE',' dd-MMM-yyyy HH:mm:ss 'GMT'";
+
+ //
+ // constant strings represent set-cookie header token
+ //
+ private final static String SET_COOKIE = "set-cookie:";
+ private final static String SET_COOKIE2 = "set-cookie2:";
+
+
+ /* ---------------- Ctors -------------- */
+
+ /**
+ * Constructs a cookie with a specified name and value.
+ *
+ * <p>The name must conform to RFC 2965. That means it can contain
+ * only ASCII alphanumeric characters and cannot contain commas,
+ * semicolons, or white space or begin with a $ character. The cookie's
+ * name cannot be changed after creation.
+ *
+ * <p>The value can be anything the server chooses to send. Its
+ * value is probably of interest only to the server. The cookie's
+ * value can be changed after creation with the
+ * <code>setValue</code> method.
+ *
+ * <p>By default, cookies are created according to the RFC 2965
+ * cookie specification. The version can be changed with the
+ * <code>setVersion</code> method.
+ *
+ *
+ * @param name a <code>String</code> specifying the name of the cookie
+ *
+ * @param value a <code>String</code> specifying the value of the cookie
+ *
+ * @throws IllegalArgumentException if the cookie name contains illegal characters
+ * or it is one of the tokens reserved for use
+ * by the cookie protocol
+ * @throws NullPointerException if <tt>name</tt> is <tt>null</tt>
+ * @see #setValue
+ * @see #setVersion
+ *
+ */
+
+ public HttpCookie(String name, String value) {
+ name = name.trim();
+ if (name.length() == 0 || !isToken(name) || isReserved(name)) {
+ throw new IllegalArgumentException("Illegal cookie name");
+ }
+
+ this.name = name;
+ this.value = value;
+ toDiscard = false;
+ secure = false;
+
+ whenCreated = System.currentTimeMillis();
+ }
+
+
+ /**
+ * Constructs cookies from set-cookie or set-cookie2 header string.
+ * RFC 2965 section 3.2.2 set-cookie2 syntax indicates that one header line
+ * may contain more than one cookie definitions, so this is a static
+ * utility method instead of another constructor.
+ *
+ * @param header a <tt>String</tt> specifying the set-cookie header.
+ * The header should start with "set-cookie", or "set-cookie2"
+ * token; or it should have no leading token at all.
+ * @return a List of cookie parsed from header line string
+ * @throws IllegalArgumentException if header string violates the cookie
+ * specification's syntax, or the cookie
+ * name contains llegal characters, or
+ * the cookie name is one of the tokens
+ * reserved for use by the cookie protocol
+ * @throws NullPointerException if the header string is <tt>null</tt>
+ */
+ public static List<HttpCookie> parse(String header) {
+ int version = guessCookieVersion(header);
+
+ // if header start with set-cookie or set-cookie2, strip it off
+ if (startsWithIgnoreCase(header, SET_COOKIE2)) {
+ header = header.substring(SET_COOKIE2.length());
+ } else if (startsWithIgnoreCase(header, SET_COOKIE)) {
+ header = header.substring(SET_COOKIE.length());
+ }
+
+
+ List<HttpCookie> cookies = new java.util.ArrayList<HttpCookie>();
+ // The Netscape cookie may have a comma in its expires attribute,
+ // while the comma is the delimiter in rfc 2965/2109 cookie header string.
+ // so the parse logic is slightly different
+ if (version == 0) {
+ // Netscape draft cookie
+ HttpCookie cookie = parseInternal(header);
+ cookie.setVersion(0);
+ cookies.add(cookie);
+ } else {
+ // rfc2965/2109 cookie
+ // if header string contains more than one cookie,
+ // it'll separate them with comma
+ List<String> cookieStrings = splitMultiCookies(header);
+ for (String cookieStr : cookieStrings) {
+ HttpCookie cookie = parseInternal(cookieStr);
+ cookie.setVersion(1);
+ cookies.add(cookie);
+ }
+ }
+
+ return cookies;
+ }
+
+
+
+
+ /* ---------------- Public operations -------------- */
+
+
+ /**
+ * Reports whether this http cookie has expired or not.
+ *
+ * @return <tt>true</tt> to indicate this http cookie has expired;
+ * otherwise, <tt>false</tt>
+ */
+ public boolean hasExpired() {
+ if (maxAge == 0) return true;
+
+ // if not specify max-age, this cookie should be
+ // discarded when user agent is to be closed, but
+ // it is not expired.
+ if (maxAge == MAX_AGE_UNSPECIFIED) return false;
+
+ long deltaSecond = (System.currentTimeMillis() - whenCreated) / 1000;
+ if (deltaSecond > maxAge)
+ return true;
+ else
+ return false;
+ }
+
+ /**
+ *
+ * Specifies a comment that describes a cookie's purpose.
+ * The comment is useful if the browser presents the cookie
+ * to the user. Comments
+ * are not supported by Netscape Version 0 cookies.
+ *
+ * @param purpose a <code>String</code> specifying the comment
+ * to display to the user
+ *
+ * @see #getComment
+ *
+ */
+
+ public void setComment(String purpose) {
+ comment = purpose;
+ }
+
+
+
+
+ /**
+ * Returns the comment describing the purpose of this cookie, or
+ * <code>null</code> if the cookie has no comment.
+ *
+ * @return a <code>String</code> containing the comment,
+ * or <code>null</code> if none
+ *
+ * @see #setComment
+ *
+ */
+
+ public String getComment() {
+ return comment;
+ }
+
+
+ /**
+ *
+ * Specifies a comment url that describes a cookie's purpose.
+ * The comment url is useful if the browser presents the cookie
+ * to the user. Comment url is RFC 2965 only.
+ *
+ * @param purpose a <code>String</code> specifying the comment url
+ * to display to the user
+ *
+ * @see #getCommentURL
+ *
+ */
+
+ public void setCommentURL(String purpose) {
+ commentURL = purpose;
+ }
+
+
+
+
+ /**
+ * Returns the comment url describing the purpose of this cookie, or
+ * <code>null</code> if the cookie has no comment url.
+ *
+ * @return a <code>String</code> containing the comment url,
+ * or <code>null</code> if none
+ *
+ * @see #setCommentURL
+ *
+ */
+
+ public String getCommentURL() {
+ return commentURL;
+ }
+
+
+ /**
+ * Specify whether user agent should discard the cookie unconditionally.
+ * This is RFC 2965 only attribute.
+ *
+ * @param discard <tt>true</tt> indicates to discard cookie unconditionally
+ *
+ * @see #getDiscard
+ */
+
+ public void setDiscard(boolean discard) {
+ toDiscard = discard;
+ }
+
+
+
+
+ /**
+ * Return the discard attribute of the cookie
+ *
+ * @return a <tt>boolean</tt> to represent this cookie's discard attribute
+ *
+ * @see #setDiscard
+ */
+
+ public boolean getDiscard() {
+ return toDiscard;
+ }
+
+
+ /**
+ * Specify the portlist of the cookie, which restricts the port(s)
+ * to which a cookie may be sent back in a Cookie header.
+ *
+ * @param ports a <tt>String</tt> specify the port list, which is
+ * comma seperated series of digits
+ * @see #getPortlist
+ */
+
+ public void setPortlist(String ports) {
+ portlist = ports;
+ }
+
+
+
+
+ /**
+ * Return the port list attribute of the cookie
+ *
+ * @return a <tt>String</tt> contains the port list
+ * or <tt>null</tt> if none
+ * @see #setPortlist
+ */
+
+ public String getPortlist() {
+ return portlist;
+ }
+
+ /**
+ *
+ * Specifies the domain within which this cookie should be presented.
+ *
+ * <p>The form of the domain name is specified by RFC 2965. A domain
+ * name begins with a dot (<code>.foo.com</code>) and means that
+ * the cookie is visible to servers in a specified Domain Name System
+ * (DNS) zone (for example, <code>www.foo.com</code>, but not
+ * <code>a.b.foo.com</code>). By default, cookies are only returned
+ * to the server that sent them.
+ *
+ *
+ * @param pattern a <code>String</code> containing the domain name
+ * within which this cookie is visible;
+ * form is according to RFC 2965
+ *
+ * @see #getDomain
+ *
+ */
+
+ public void setDomain(String pattern) {
+ if (pattern != null)
+ domain = pattern.toLowerCase();
+ else
+ domain = pattern;
+ }
+
+
+
+
+
+ /**
+ * Returns the domain name set for this cookie. The form of
+ * the domain name is set by RFC 2965.
+ *
+ * @return a <code>String</code> containing the domain name
+ *
+ * @see #setDomain
+ *
+ */
+
+ public String getDomain() {
+ return domain;
+ }
+
+
+ /**
+ * Sets the maximum age of the cookie in seconds.
+ *
+ * <p>A positive value indicates that the cookie will expire
+ * after that many seconds have passed. Note that the value is
+ * the <i>maximum</i> age when the cookie will expire, not the cookie's
+ * current age.
+ *
+ * <p>A negative value means
+ * that the cookie is not stored persistently and will be deleted
+ * when the Web browser exits. A zero value causes the cookie
+ * to be deleted.
+ *
+ * @param expiry an integer specifying the maximum age of the
+ * cookie in seconds; if zero, the cookie
+ * should be discarded immediately;
+ * otherwise, the cookie's max age is unspecified.
+ *
+ * @see #getMaxAge
+ *
+ */
+ public void setMaxAge(long expiry) {
+ maxAge = expiry;
+ }
+
+
+
+
+ /**
+ * Returns the maximum age of the cookie, specified in seconds.
+ * By default, <code>-1</code> indicating the cookie will persist
+ * until browser shutdown.
+ *
+ *
+ * @return an integer specifying the maximum age of the
+ * cookie in seconds
+ *
+ *
+ * @see #setMaxAge
+ *
+ */
+
+ public long getMaxAge() {
+ return maxAge;
+ }
+
+
+
+
+ /**
+ * Specifies a path for the cookie
+ * to which the client should return the cookie.
+ *
+ * <p>The cookie is visible to all the pages in the directory
+ * you specify, and all the pages in that directory's subdirectories.
+ * A cookie's path must include the servlet that set the cookie,
+ * for example, <i>/catalog</i>, which makes the cookie
+ * visible to all directories on the server under <i>/catalog</i>.
+ *
+ * <p>Consult RFC 2965 (available on the Internet) for more
+ * information on setting path names for cookies.
+ *
+ *
+ * @param uri a <code>String</code> specifying a path
+ *
+ *
+ * @see #getPath
+ *
+ */
+
+ public void setPath(String uri) {
+ path = uri;
+ }
+
+
+
+
+ /**
+ * Returns the path on the server
+ * to which the browser returns this cookie. The
+ * cookie is visible to all subpaths on the server.
+ *
+ *
+ * @return a <code>String</code> specifying a path that contains
+ * a servlet name, for example, <i>/catalog</i>
+ *
+ * @see #setPath
+ *
+ */
+
+ public String getPath() {
+ return path;
+ }
+
+
+
+
+
+ /**
+ * Indicates to the browser whether the cookie should only be sent
+ * using a secure protocol, such as HTTPS or SSL.
+ *
+ * <p>The default value is <code>false</code>.
+ *
+ * @param flag if <code>true</code>, sends the cookie from the browser
+ * to the server using only when using a secure protocol;
+ * if <code>false</code>, sent on any protocol
+ *
+ * @see #getSecure
+ *
+ */
+
+ public void setSecure(boolean flag) {
+ secure = flag;
+ }
+
+
+
+
+ /**
+ * Returns <code>true</code> if the browser is sending cookies
+ * only over a secure protocol, or <code>false</code> if the
+ * browser can send cookies using any protocol.
+ *
+ * @return <code>true</code> if the browser can use
+ * any standard protocol; otherwise, <code>false</code>
+ *
+ * @see #setSecure
+ *
+ */
+
+ public boolean getSecure() {
+ return secure;
+ }
+
+
+
+
+
+ /**
+ * Returns the name of the cookie. The name cannot be changed after
+ * creation.
+ *
+ * @return a <code>String</code> specifying the cookie's name
+ *
+ */
+
+ public String getName() {
+ return name;
+ }
+
+
+
+
+
+ /**
+ *
+ * Assigns a new value to a cookie after the cookie is created.
+ * If you use a binary value, you may want to use BASE64 encoding.
+ *
+ * <p>With Version 0 cookies, values should not contain white
+ * space, brackets, parentheses, equals signs, commas,
+ * double quotes, slashes, question marks, at signs, colons,
+ * and semicolons. Empty values may not behave the same way
+ * on all browsers.
+ *
+ * @param newValue a <code>String</code> specifying the new value
+ *
+ *
+ * @see #getValue
+ *
+ */
+
+ public void setValue(String newValue) {
+ value = newValue;
+ }
+
+
+
+
+ /**
+ * Returns the value of the cookie.
+ *
+ * @return a <code>String</code> containing the cookie's
+ * present value
+ *
+ * @see #setValue
+ *
+ */
+
+ public String getValue() {
+ return value;
+ }
+
+
+
+
+ /**
+ * Returns the version of the protocol this cookie complies
+ * with. Version 1 complies with RFC 2965/2109,
+ * and version 0 complies with the original
+ * cookie specification drafted by Netscape. Cookies provided
+ * by a browser use and identify the browser's cookie version.
+ *
+ *
+ * @return 0 if the cookie complies with the
+ * original Netscape specification; 1
+ * if the cookie complies with RFC 2965/2109
+ *
+ * @see #setVersion
+ *
+ */
+
+ public int getVersion() {
+ return version;
+ }
+
+
+
+
+ /**
+ * Sets the version of the cookie protocol this cookie complies
+ * with. Version 0 complies with the original Netscape cookie
+ * specification. Version 1 complies with RFC 2965/2109.
+ *
+ *
+ * @param v 0 if the cookie should comply with
+ * the original Netscape specification;
+ * 1 if the cookie should comply with RFC 2965/2109
+ *
+ * @throws IllegalArgumentException if <tt>v</tt> is neither 0 nor 1
+ *
+ * @see #getVersion
+ *
+ */
+
+ public void setVersion(int v) {
+ if (v != 0 && v != 1) {
+ throw new IllegalArgumentException("cookie version should be 0 or 1");
+ }
+
+ version = v;
+ }
+
+
+ /**
+ * The utility method to check whether a host name is in a domain
+ * or not.
+ *
+ * <p>This concept is described in the cookie specification.
+ * To understand the concept, some terminologies need to be defined first:
+ * <blockquote>
+ * effective host name = hostname if host name contains dot<br>
+ * or = hostname.local if not
+ * </blockquote>
+ * <p>Host A's name domain-matches host B's if:
+ * <blockquote><ul>
+ * <li>their host name strings string-compare equal; or</li>
+ * <li>A is a HDN string and has the form NB, where N is a non-empty
+ * name string, B has the form .B', and B' is a HDN string. (So,
+ * x.y.com domain-matches .Y.com but not Y.com.)</li>
+ * </ul></blockquote>
+ *
+ * <p>A host isn't in a domain (RFC 2965 sec. 3.3.2) if:
+ * <blockquote><ul>
+ * <li>The value for the Domain attribute contains no embedded dots,
+ * and the value is not .local.</li>
+ * <li>The effective host name that derives from the request-host does
+ * not domain-match the Domain attribute.</li>
+ * <li>The request-host is a HDN (not IP address) and has the form HD,
+ * where D is the value of the Domain attribute, and H is a string
+ * that contains one or more dots.</li>
+ * </ul></blockquote>
+ *
+ * <p>Examples:
+ * <blockquote><ul>
+ * <li>A Set-Cookie2 from request-host y.x.foo.com for Domain=.foo.com
+ * would be rejected, because H is y.x and contains a dot.</li>
+ * <li>A Set-Cookie2 from request-host x.foo.com for Domain=.foo.com
+ * would be accepted.</li>
+ * <li>A Set-Cookie2 with Domain=.com or Domain=.com., will always be
+ * rejected, because there is no embedded dot.</li>
+ * <li>A Set-Cookie2 with Domain=ajax.com will be accepted, and the
+ * value for Domain will be taken to be .ajax.com, because a dot
+ * gets prepended to the value.</li>
+ * <li>A Set-Cookie2 from request-host example for Domain=.local will
+ * be accepted, because the effective host name for the request-
+ * host is example.local, and example.local domain-matches .local.</li>
+ * </ul></blockquote>
+ *
+ * @param domain the domain name to check host name with
+ * @param host the host name in question
+ * @return <tt>true</tt> if they domain-matches; <tt>false</tt> if not
+ */
+ public static boolean domainMatches(String domain, String host) {
+ if (domain == null || host == null)
+ return false;
+
+ // if there's no embedded dot in domain and domain is not .local
+ boolean isLocalDomain = ".local".equalsIgnoreCase(domain);
+ int embeddedDotInDomain = domain.indexOf('.');
+ if (embeddedDotInDomain == 0)
+ embeddedDotInDomain = domain.indexOf('.', 1);
+ if (!isLocalDomain
+ && (embeddedDotInDomain == -1 || embeddedDotInDomain == domain.length() - 1))
+ return false;
+
+ // if the host name contains no dot and the domain name is .local
+ int firstDotInHost = host.indexOf('.');
+ if (firstDotInHost == -1 && isLocalDomain)
+ return true;
+
+ int domainLength = domain.length();
+ int lengthDiff = host.length() - domainLength;
+ if (lengthDiff == 0) {
+ // if the host name and the domain name are just string-compare euqal
+ return host.equalsIgnoreCase(domain);
+ }
+ else if (lengthDiff > 0) {
+ // need to check H & D component
+ String H = host.substring(0, lengthDiff);
+ String D = host.substring(lengthDiff);
+
+ return (H.indexOf('.') == -1 && D.equalsIgnoreCase(domain));
+ }
+ else if (lengthDiff == -1) {
+ // if domain is actually .host
+ return (domain.charAt(0) == '.' &&
+ host.equalsIgnoreCase(domain.substring(1)));
+ }
+
+ return false;
+ }
+
+
+ /**
+ * Constructs a cookie header string representation of this cookie,
+ * which is in the format defined by corresponding cookie specification,
+ * but without the leading "Cookie:" token.
+ *
+ * @return a string form of the cookie. The string has the defined format
+ */
+ public String toString() {
+ if (getVersion() > 0) {
+ return toRFC2965HeaderString();
+ } else {
+ return toNetscapeHeaderString();
+ }
+ }
+
+
+ /**
+ * Test the equality of two http cookies.
+ *
+ * <p> The result is <tt>true</tt> only if two cookies
+ * come from same domain (case-insensitive),
+ * have same name (case-insensitive),
+ * and have same path (case-sensitive).
+ *
+ * @return <tt>true</tt> if 2 http cookies equal to each other;
+ * otherwise, <tt>false</tt>
+ */
+ public boolean equals(Object obj) {
+ if (obj == this)
+ return true;
+ if (!(obj instanceof HttpCookie))
+ return false;
+ HttpCookie other = (HttpCookie)obj;
+
+ // One http cookie equals to another cookie (RFC 2965 sec. 3.3.3) if:
+ // 1. they come from same domain (case-insensitive),
+ // 2. have same name (case-insensitive),
+ // 3. and have same path (case-sensitive).
+ return equalsIgnoreCase(getName(), other.getName()) &&
+ equalsIgnoreCase(getDomain(), other.getDomain()) &&
+ equals(getPath(), other.getPath());
+ }
+
+
+ /**
+ * Return hash code of this http cookie. The result is the sum of
+ * hash code value of three significant components of this cookie:
+ * name, domain, and path.
+ * That is, the hash code is the value of the expression:
+ * <blockquote>
+ * getName().toLowerCase().hashCode()<br>
+ * + getDomain().toLowerCase().hashCode()<br>
+ * + getPath().hashCode()
+ * </blockquote>
+ *
+ * @return this http cookie's hash code
+ */
+ public int hashCode() {
+ int h1 = name.toLowerCase().hashCode();
+ int h2 = (domain!=null) ? domain.toLowerCase().hashCode() : 0;
+ int h3 = (path!=null) ? path.hashCode() : 0;
+
+ return h1 + h2 + h3;
+ }
+
+ /**
+ * Create and return a copy of this object.
+ *
+ * @return a clone of this http cookie
+ */
+ public Object clone() {
+ try {
+ return super.clone();
+ } catch (CloneNotSupp...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 09:47:17
|
Revision: 3307
http://jnode.svn.sourceforge.net/jnode/?rev=3307&view=rev
Author: lsantha
Date: 2007-06-25 02:36:18 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/javax/javax/net/
trunk/core/src/openjdk/javax/javax/net/ssl/
trunk/core/src/openjdk/javax/javax/net/ssl/SSLContext.java
trunk/core/src/openjdk/javax/javax/net/ssl/SSLContextSpi.java
trunk/core/src/openjdk/javax/javax/net/ssl/SSLParameters.java
trunk/core/src/openjdk/javax/javax/net/ssl/SSLSocket.java
trunk/core/src/openjdk/javax/javax/security/auth/kerberos/
trunk/core/src/openjdk/javax/javax/security/auth/kerberos/KerberosKey.java
trunk/core/src/openjdk/javax/javax/security/auth/kerberos/KerberosTicket.java
trunk/core/src/openjdk/javax/javax/security/auth/kerberos/KeyImpl.java
trunk/core/src/openjdk/javax/javax/security/auth/login/Configuration.java
trunk/core/src/openjdk/javax/javax/security/auth/login/LoginContext.java
trunk/core/src/openjdk/javax/javax/security/sasl/
trunk/core/src/openjdk/javax/javax/security/sasl/Sasl.java
trunk/core/src/openjdk/javax/javax/xml/
trunk/core/src/openjdk/javax/javax/xml/bind/
trunk/core/src/openjdk/javax/javax/xml/bind/Binder.java
trunk/core/src/openjdk/javax/javax/xml/bind/ContextFinder.java
trunk/core/src/openjdk/javax/javax/xml/bind/DatatypeConverter.java
trunk/core/src/openjdk/javax/javax/xml/bind/DatatypeConverterInterface.java
trunk/core/src/openjdk/javax/javax/xml/bind/Element.java
trunk/core/src/openjdk/javax/javax/xml/bind/JAXBContext.java
trunk/core/src/openjdk/javax/javax/xml/bind/JAXBElement.java
trunk/core/src/openjdk/javax/javax/xml/bind/JAXBException.java
trunk/core/src/openjdk/javax/javax/xml/bind/JAXBIntrospector.java
trunk/core/src/openjdk/javax/javax/xml/bind/MarshalException.java
trunk/core/src/openjdk/javax/javax/xml/bind/Marshaller.java
trunk/core/src/openjdk/javax/javax/xml/bind/Messages.java
trunk/core/src/openjdk/javax/javax/xml/bind/Messages.properties
trunk/core/src/openjdk/javax/javax/xml/bind/NotIdentifiableEvent.java
trunk/core/src/openjdk/javax/javax/xml/bind/ParseConversionEvent.java
trunk/core/src/openjdk/javax/javax/xml/bind/PrintConversionEvent.java
trunk/core/src/openjdk/javax/javax/xml/bind/PropertyException.java
trunk/core/src/openjdk/javax/javax/xml/bind/SchemaOutputResolver.java
trunk/core/src/openjdk/javax/javax/xml/bind/TypeConstraintException.java
trunk/core/src/openjdk/javax/javax/xml/bind/UnmarshalException.java
trunk/core/src/openjdk/javax/javax/xml/bind/Unmarshaller.java
trunk/core/src/openjdk/javax/javax/xml/bind/UnmarshallerHandler.java
trunk/core/src/openjdk/javax/javax/xml/bind/ValidationEvent.java
trunk/core/src/openjdk/javax/javax/xml/bind/ValidationEventHandler.java
trunk/core/src/openjdk/javax/javax/xml/bind/ValidationEventLocator.java
trunk/core/src/openjdk/javax/javax/xml/bind/ValidationException.java
trunk/core/src/openjdk/javax/javax/xml/bind/Validator.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/DomHandler.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/W3CDomHandler.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAccessOrder.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAccessType.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAccessorOrder.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAccessorType.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAnyAttribute.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAnyElement.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAttachmentRef.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlAttribute.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlElement.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlElementDecl.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlElementRef.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlElementRefs.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlElementWrapper.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlElements.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlEnum.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlEnumValue.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlID.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlIDREF.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlInlineBinaryData.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlList.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlMimeType.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlMixed.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlNs.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlNsForm.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlRegistry.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlRootElement.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlSchema.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlSchemaType.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlSchemaTypes.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlTransient.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlType.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/XmlValue.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/CollapsedStringAdapter.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/HexBinaryAdapter.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/NormalizedStringAdapter.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/XmlAdapter.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapter.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/XmlJavaTypeAdapters.java
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/adapters/package.html
trunk/core/src/openjdk/javax/javax/xml/bind/annotation/package.html
trunk/core/src/openjdk/javax/javax/xml/bind/attachment/
trunk/core/src/openjdk/javax/javax/xml/bind/attachment/AttachmentMarshaller.java
trunk/core/src/openjdk/javax/javax/xml/bind/attachment/AttachmentUnmarshaller.java
trunk/core/src/openjdk/javax/javax/xml/bind/attachment/package.html
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/AbstractMarshallerImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/AbstractUnmarshallerImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/DefaultValidationEventHandler.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/Messages.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/Messages.properties
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/NotIdentifiableEventImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/ParseConversionEventImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/PrintConversionEventImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/ValidationEventImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/ValidationEventLocatorImpl.java
trunk/core/src/openjdk/javax/javax/xml/bind/helpers/package.html
trunk/core/src/openjdk/javax/javax/xml/bind/package.html
trunk/core/src/openjdk/javax/javax/xml/bind/util/
trunk/core/src/openjdk/javax/javax/xml/bind/util/JAXBResult.java
trunk/core/src/openjdk/javax/javax/xml/bind/util/JAXBSource.java
trunk/core/src/openjdk/javax/javax/xml/bind/util/Messages.java
trunk/core/src/openjdk/javax/javax/xml/bind/util/Messages.properties
trunk/core/src/openjdk/javax/javax/xml/bind/util/ValidationEventCollector.java
trunk/core/src/openjdk/javax/javax/xml/bind/util/package.html
trunk/core/src/openjdk/javax/javax/xml/crypto/
trunk/core/src/openjdk/javax/javax/xml/crypto/AlgorithmMethod.java
trunk/core/src/openjdk/javax/javax/xml/crypto/Data.java
trunk/core/src/openjdk/javax/javax/xml/crypto/KeySelector.java
trunk/core/src/openjdk/javax/javax/xml/crypto/KeySelectorException.java
trunk/core/src/openjdk/javax/javax/xml/crypto/KeySelectorResult.java
trunk/core/src/openjdk/javax/javax/xml/crypto/MarshalException.java
trunk/core/src/openjdk/javax/javax/xml/crypto/NoSuchMechanismException.java
trunk/core/src/openjdk/javax/javax/xml/crypto/NodeSetData.java
trunk/core/src/openjdk/javax/javax/xml/crypto/OctetStreamData.java
trunk/core/src/openjdk/javax/javax/xml/crypto/URIDereferencer.java
trunk/core/src/openjdk/javax/javax/xml/crypto/URIReference.java
trunk/core/src/openjdk/javax/javax/xml/crypto/URIReferenceException.java
trunk/core/src/openjdk/javax/javax/xml/crypto/XMLCryptoContext.java
trunk/core/src/openjdk/javax/javax/xml/crypto/XMLStructure.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dom/
trunk/core/src/openjdk/javax/javax/xml/crypto/dom/DOMCryptoContext.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dom/DOMStructure.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dom/DOMURIReference.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dom/package.html
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/CanonicalizationMethod.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/DigestMethod.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/Manifest.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/Reference.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/SignatureMethod.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/SignatureProperties.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/SignatureProperty.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/SignedInfo.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/Transform.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/TransformException.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/TransformService.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/XMLObject.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/XMLSignContext.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/XMLSignature.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/XMLSignatureException.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/XMLSignatureFactory.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/XMLValidateContext.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/dom/
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/dom/DOMSignContext.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/dom/DOMValidateContext.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/dom/package.html
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/KeyInfo.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/KeyInfoFactory.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/KeyName.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/KeyValue.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/PGPData.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/RetrievalMethod.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/X509Data.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/X509IssuerSerial.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/keyinfo/package.html
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/package.html
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/C14NMethodParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/DigestMethodParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/ExcC14NParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/HMACParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/SignatureMethodParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/TransformParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/XPathFilter2ParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/XPathFilterParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/XPathType.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/XSLTTransformParameterSpec.java
trunk/core/src/openjdk/javax/javax/xml/crypto/dsig/spec/package.html
trunk/core/src/openjdk/javax/javax/xml/crypto/package.html
trunk/core/src/openjdk/javax/javax/xml/soap/
trunk/core/src/openjdk/javax/javax/xml/soap/AttachmentPart.java
trunk/core/src/openjdk/javax/javax/xml/soap/Detail.java
trunk/core/src/openjdk/javax/javax/xml/soap/DetailEntry.java
trunk/core/src/openjdk/javax/javax/xml/soap/FactoryFinder.java
trunk/core/src/openjdk/javax/javax/xml/soap/MessageFactory.java
trunk/core/src/openjdk/javax/javax/xml/soap/MimeHeader.java
trunk/core/src/openjdk/javax/javax/xml/soap/MimeHeaders.java
trunk/core/src/openjdk/javax/javax/xml/soap/Name.java
trunk/core/src/openjdk/javax/javax/xml/soap/Node.java
trunk/core/src/openjdk/javax/javax/xml/soap/SAAJMetaFactory.java
trunk/core/src/openjdk/javax/javax/xml/soap/SAAJResult.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPBody.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPBodyElement.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPConnection.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPConnectionFactory.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPConstants.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPElement.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPElementFactory.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPEnvelope.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPException.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPFactory.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPFault.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPFaultElement.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPHeader.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPHeaderElement.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPMessage.java
trunk/core/src/openjdk/javax/javax/xml/soap/SOAPPart.java
trunk/core/src/openjdk/javax/javax/xml/soap/Text.java
trunk/core/src/openjdk/javax/javax/xml/soap/package.html
trunk/core/src/openjdk/javax/javax/xml/stream/
trunk/core/src/openjdk/javax/javax/xml/stream/EventFilter.java
trunk/core/src/openjdk/javax/javax/xml/stream/FactoryConfigurationError.java
trunk/core/src/openjdk/javax/javax/xml/stream/FactoryFinder.java
trunk/core/src/openjdk/javax/javax/xml/stream/Location.java
trunk/core/src/openjdk/javax/javax/xml/stream/SecuritySupport.java
trunk/core/src/openjdk/javax/javax/xml/stream/StreamFilter.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLEventFactory.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLEventReader.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLEventWriter.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLInputFactory.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLOutputFactory.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLReporter.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLResolver.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLStreamConstants.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLStreamException.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLStreamReader.java
trunk/core/src/openjdk/javax/javax/xml/stream/XMLStreamWriter.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/
trunk/core/src/openjdk/javax/javax/xml/stream/events/Attribute.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/Characters.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/Comment.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/DTD.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/EndDocument.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/EndElement.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/EntityDeclaration.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/EntityReference.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/Namespace.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/NotationDeclaration.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/ProcessingInstruction.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/StartDocument.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/StartElement.java
trunk/core/src/openjdk/javax/javax/xml/stream/events/XMLEvent.java
trunk/core/src/openjdk/javax/javax/xml/stream/util/
trunk/core/src/openjdk/javax/javax/xml/stream/util/EventReaderDelegate.java
trunk/core/src/openjdk/javax/javax/xml/stream/util/StreamReaderDelegate.java
trunk/core/src/openjdk/javax/javax/xml/stream/util/XMLEventAllocator.java
trunk/core/src/openjdk/javax/javax/xml/stream/util/XMLEventConsumer.java
trunk/core/src/openjdk/javax/javax/xml/transform/
trunk/core/src/openjdk/javax/javax/xml/transform/stax/
trunk/core/src/openjdk/javax/javax/xml/transform/stax/StAXResult.java
trunk/core/src/openjdk/javax/javax/xml/transform/stax/StAXSource.java
trunk/core/src/openjdk/javax/javax/xml/transform/stax/package.html
trunk/core/src/openjdk/javax/javax/xml/ws/
trunk/core/src/openjdk/javax/javax/xml/ws/AsyncHandler.java
trunk/core/src/openjdk/javax/javax/xml/ws/Binding.java
trunk/core/src/openjdk/javax/javax/xml/ws/BindingProvider.java
trunk/core/src/openjdk/javax/javax/xml/ws/BindingType.java
trunk/core/src/openjdk/javax/javax/xml/ws/Dispatch.java
trunk/core/src/openjdk/javax/javax/xml/ws/Endpoint.java
trunk/core/src/openjdk/javax/javax/xml/ws/Holder.java
trunk/core/src/openjdk/javax/javax/xml/ws/LogicalMessage.java
trunk/core/src/openjdk/javax/javax/xml/ws/ProtocolException.java
trunk/core/src/openjdk/javax/javax/xml/ws/Provider.java
trunk/core/src/openjdk/javax/javax/xml/ws/RequestWrapper.java
trunk/core/src/openjdk/javax/javax/xml/ws/Response.java
trunk/core/src/openjdk/javax/javax/xml/ws/ResponseWrapper.java
trunk/core/src/openjdk/javax/javax/xml/ws/Service.java
trunk/core/src/openjdk/javax/javax/xml/ws/ServiceMode.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebEndpoint.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebFault.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServiceClient.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServiceContext.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServiceException.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServicePermission.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServiceProvider.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServiceRef.java
trunk/core/src/openjdk/javax/javax/xml/ws/WebServiceRefs.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/
trunk/core/src/openjdk/javax/javax/xml/ws/handler/Handler.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/HandlerResolver.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/LogicalHandler.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/LogicalMessageContext.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/MessageContext.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/PortInfo.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/package.html
trunk/core/src/openjdk/javax/javax/xml/ws/handler/soap/
trunk/core/src/openjdk/javax/javax/xml/ws/handler/soap/SOAPHandler.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/soap/SOAPMessageContext.java
trunk/core/src/openjdk/javax/javax/xml/ws/handler/soap/package.html
trunk/core/src/openjdk/javax/javax/xml/ws/http/
trunk/core/src/openjdk/javax/javax/xml/ws/http/HTTPBinding.java
trunk/core/src/openjdk/javax/javax/xml/ws/http/HTTPException.java
trunk/core/src/openjdk/javax/javax/xml/ws/http/package.html
trunk/core/src/openjdk/javax/javax/xml/ws/package.html
trunk/core/src/openjdk/javax/javax/xml/ws/soap/
trunk/core/src/openjdk/javax/javax/xml/ws/soap/SOAPBinding.java
trunk/core/src/openjdk/javax/javax/xml/ws/soap/SOAPFaultException.java
trunk/core/src/openjdk/javax/javax/xml/ws/soap/package.html
trunk/core/src/openjdk/javax/javax/xml/ws/spi/
trunk/core/src/openjdk/javax/javax/xml/ws/spi/FactoryFinder.java
trunk/core/src/openjdk/javax/javax/xml/ws/spi/Provider.java
trunk/core/src/openjdk/javax/javax/xml/ws/spi/ServiceDelegate.java
trunk/core/src/openjdk/javax/javax/xml/ws/spi/package.html
Added: trunk/core/src/openjdk/javax/javax/net/ssl/SSLContext.java
===================================================================
--- trunk/core/src/openjdk/javax/javax/net/ssl/SSLContext.java (rev 0)
+++ trunk/core/src/openjdk/javax/javax/net/ssl/SSLContext.java 2007-06-25 09:36:18 UTC (rev 3307)
@@ -0,0 +1,423 @@
+/*
+ * Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package javax.net.ssl;
+
+import java.security.*;
+import java.util.*;
+
+import sun.security.jca.GetInstance;
+
+/**
+ * Instances of this class represent a secure socket protocol
+ * implementation which acts as a factory for secure socket
+ * factories or <code>SSLEngine</code>s. This class is initialized
+ * with an optional set of key and trust managers and source of
+ * secure random bytes.
+ *
+ * @since 1.4
+ * @version 1.37, 05/05/07
+ */
+public class SSLContext {
+ private final Provider provider;
+
+ private final SSLContextSpi contextSpi;
+
+ private final String protocol;
+
+ /**
+ * Creates an SSLContext object.
+ *
+ * @param contextSpi the delegate
+ * @param provider the provider
+ * @param protocol the protocol
+ */
+ protected SSLContext(SSLContextSpi contextSpi, Provider provider,
+ String protocol) {
+ this.contextSpi = contextSpi;
+ this.provider = provider;
+ this.protocol = protocol;
+ }
+
+ private static SSLContext defaultContext;
+
+ /**
+ * Returns the default SSL context.
+ *
+ * <p>If a default context was set using the {@link #setDefault
+ * SSLContext.setDefault()} method, it is returned. Otherwise, the first
+ * call of this method triggers the call
+ * <code>SSLContext.getInstance("Default")</code>.
+ * If successful, that object is made the default SSL context and returned.
+ *
+ * <p>The default context is immediately
+ * usable and does not require {@linkplain #init initialization}.
+ *
+ * @return the default SSL context
+ * @throws NoSuchAlgorithmException if the
+ * {@link SSLContext#getInstance SSLContext.getInstance()} call fails
+ * @since 1.6
+ */
+ public static synchronized SSLContext getDefault()
+ throws NoSuchAlgorithmException {
+ if (defaultContext == null) {
+ defaultContext = SSLContext.getInstance("Default");
+ }
+ return defaultContext;
+ }
+
+ /**
+ * Sets the default SSL context. It will be returned by subsequent calls
+ * to {@link #getDefault}. The default context must be immediately usable
+ * and not require {@linkplain #init initialization}.
+ *
+ * @param context the SSLContext
+ * @throws NullPointerException if context is null
+ * @throws SecurityException if a security manager exists and its
+ * <code>checkPermission</code> method does not allow
+ * <code>SSLPermission("setDefaultSSLContext")</code>
+ * @since 1.6
+ */
+ public static synchronized void setDefault(SSLContext context) {
+ if (context == null) {
+ throw new NullPointerException();
+ }
+ SecurityManager sm = System.getSecurityManager();
+ if (sm != null) {
+ sm.checkPermission(new SSLPermission("setDefaultSSLContext"));
+ }
+ defaultContext = context;
+ }
+
+ /**
+ * Returns a <code>SSLContext</code> object that implements the
+ * specified secure socket protocol.
+ *
+ * <p> This method traverses the list of registered security Providers,
+ * starting with the most preferred Provider.
+ * A new SSLContext object encapsulating the
+ * SSLContextSpi implementation from the first
+ * Provider that supports the specified protocol is returned.
+ *
+ * <p> Note that the list of registered providers may be retrieved via
+ * the {@link Security#getProviders() Security.getProviders()} method.
+ *
+ * @param protocol the standard name of the requested protocol.
+ * See Appendix A in the <a href=
+ * "{@docRoot}/../technotes/guides/security/jsse/JSSERefGuide.html#AppA">
+ * Java Secure Socket Extension Reference Guide </a>
+ * for information about standard protocol names.
+ *
+ * @return the new <code>SSLContext</code> object.
+ *
+ * @exception NoSuchAlgorithmException if no Provider supports a
+ * TrustManagerFactorySpi implementation for the
+ * specified protocol.
+ *
+ * @see java.security.Provider
+ */
+ public static SSLContext getInstance(String protocol)
+ throws NoSuchAlgorithmException {
+ GetInstance.Instance instance = GetInstance.getInstance
+ ("SSLContext", SSLContextSpi.class, protocol);
+ return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
+ protocol);
+ }
+
+ /**
+ * Returns a <code>SSLContext</code> object that implements the
+ * specified secure socket protocol.
+ *
+ * <p> A new SSLContext object encapsulating the
+ * SSLContextSpi implementation from the specified provider
+ * is returned. The specified provider must be registered
+ * in the security provider list.
+ *
+ * <p> Note that the list of registered providers may be retrieved via
+ * the {@link Security#getProviders() Security.getProviders()} method.
+ *
+ * @param protocol the standard name of the requested protocol.
+ * See Appendix A in the <a href=
+ * "{@docRoot}/../technotes/guides//security/jsse/JSSERefGuide.html#AppA">
+ * Java Secure Socket Extension Reference Guide </a>
+ * for information about standard protocol names.
+ *
+ * @param provider the name of the provider.
+ *
+ * @return the new <code>SSLContext</code> object.
+ *
+ * @throws NoSuchAlgorithmException if a SSLContextSpi
+ * implementation for the specified protocol is not
+ * available from the specified provider.
+ *
+ * @throws NoSuchProviderException if the specified provider is not
+ * registered in the security provider list.
+ *
+ * @throws IllegalArgumentException if the provider name is null or empty.
+ *
+ * @see java.security.Provider
+ */
+ public static SSLContext getInstance(String protocol, String provider)
+ throws NoSuchAlgorithmException, NoSuchProviderException {
+ GetInstance.Instance instance = GetInstance.getInstance
+ ("SSLContext", SSLContextSpi.class, protocol, provider);
+ return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
+ protocol);
+ }
+
+ /**
+ * Returns a <code>SSLContext</code> object that implements the
+ * specified secure socket protocol.
+ *
+ * <p> A new SSLContext object encapsulating the
+ * SSLContextSpi implementation from the specified Provider
+ * object is returned. Note that the specified Provider object
+ * does not have to be registered in the provider list.
+ *
+ * @param protocol the standard name of the requested protocol.
+ * See Appendix A in the <a href=
+ * "{@docRoot}/../technotes/guides/security/jsse/JSSERefGuide.html#AppA">
+ * Java Secure Socket Extension Reference Guide </a>
+ * for information about standard protocol names.
+ *
+ * @param provider an instance of the provider.
+ *
+ * @return the new <code>SSLContext</code> object.
+ *
+ * @throws NoSuchAlgorithmException if a KeyManagerFactorySpi
+ * implementation for the specified protocol is not available
+ * from the specified Provider object.
+ *
+ * @throws IllegalArgumentException if the provider name is null.
+ *
+ * @see java.security.Provider
+ */
+ public static SSLContext getInstance(String protocol, Provider provider)
+ throws NoSuchAlgorithmException {
+ GetInstance.Instance instance = GetInstance.getInstance
+ ("SSLContext", SSLContextSpi.class, protocol, provider);
+ return new SSLContext((SSLContextSpi)instance.impl, instance.provider,
+ protocol);
+ }
+
+ /**
+ * Returns the protocol name of this <code>SSLContext</code> object.
+ *
+ * <p>This is the same name that was specified in one of the
+ * <code>getInstance</code> calls that created this
+ * <code>SSLContext</code> object.
+ *
+ * @return the protocol name of this <code>SSLContext</code> object.
+ */
+ public final String getProtocol() {
+ return this.protocol;
+ }
+
+ /**
+ * Returns the provider of this <code>SSLContext</code> object.
+ *
+ * @return the provider of this <code>SSLContext</code> object
+ */
+ public final Provider getProvider() {
+ return this.provider;
+ }
+
+ /**
+ * Initializes this context. Either of the first two parameters
+ * may be null in which case the installed security providers will
+ * be searched for the highest priority implementation of the
+ * appropriate factory. Likewise, the secure random parameter may
+ * be null in which case the default implementation will be used.
+ * <P>
+ * Only the first instance of a particular key and/or trust manager
+ * implementation type in the array is used. (For example, only
+ * the first javax.net.ssl.X509KeyManager in the array will be used.)
+ *
+ * @param km the sources of authentication keys or null
+ * @param tm the sources of peer authentication trust decisions or null
+ * @param random the source of randomness for this generator or null
+ * @throws KeyManagementException if this operation fails
+ */
+ public final void init(KeyManager[] km, TrustManager[] tm,
+ SecureRandom random)
+ throws KeyManagementException {
+ contextSpi.engineInit(km, tm, random);
+ }
+
+ /**
+ * Returns a <code>SocketFactory</code> object for this
+ * context.
+ *
+ * @return the <code>SocketFactory</code> object
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>init()</code> has not been called
+ */
+ public final SSLSocketFactory getSocketFactory() {
+ return contextSpi.engineGetSocketFactory();
+ }
+
+ /**
+ * Returns a <code>ServerSocketFactory</code> object for
+ * this context.
+ *
+ * @return the <code>ServerSocketFactory</code> object
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>init()</code> has not been called
+ */
+ public final SSLServerSocketFactory getServerSocketFactory() {
+ return contextSpi.engineGetServerSocketFactory();
+ }
+
+ /**
+ * Creates a new <code>SSLEngine</code> using this context.
+ * <P>
+ * Applications using this factory method are providing no hints
+ * for an internal session reuse strategy. If hints are desired,
+ * {@link #createSSLEngine(String, int)} should be used
+ * instead.
+ * <P>
+ * Some cipher suites (such as Kerberos) require remote hostname
+ * information, in which case this factory method should not be used.
+ *
+ * @return the <code>SSLEngine</code> object
+ * @throws UnsupportedOperationException if the underlying provider
+ * does not implement the operation.
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>init()</code> has not been called
+ * @since 1.5
+ */
+ public final SSLEngine createSSLEngine() {
+ try {
+ return contextSpi.engineCreateSSLEngine();
+ } catch (AbstractMethodError e) {
+ UnsupportedOperationException unsup =
+ new UnsupportedOperationException(
+ "Provider: " + getProvider() +
+ " doesn't support this operation");
+ unsup.initCause(e);
+ throw unsup;
+ }
+ }
+
+ /**
+ * Creates a new <code>SSLEngine</code> using this context using
+ * advisory peer information.
+ * <P>
+ * Applications using this factory method are providing hints
+ * for an internal session reuse strategy.
+ * <P>
+ * Some cipher suites (such as Kerberos) require remote hostname
+ * information, in which case peerHost needs to be specified.
+ *
+ * @param peerHost the non-authoritative name of the host
+ * @param peerPort the non-authoritative port
+ * @return the new <code>SSLEngine</code> object
+ * @throws UnsupportedOperationException if the underlying provider
+ * does not implement the operation.
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>init()</code> has not been called
+ * @since 1.5
+ */
+ public final SSLEngine createSSLEngine(String peerHost, int peerPort) {
+ try {
+ return contextSpi.engineCreateSSLEngine(peerHost, peerPort);
+ } catch (AbstractMethodError e) {
+ UnsupportedOperationException unsup =
+ new UnsupportedOperationException(
+ "Provider: " + getProvider() +
+ " does not support this operation");
+ unsup.initCause(e);
+ throw unsup;
+ }
+ }
+
+ /**
+ * Returns the server session context, which represents the set of
+ * SSL sessions available for use during the handshake phase of
+ * server-side SSL sockets.
+ * <P>
+ * This context may be unavailable in some environments, in which
+ * case this method returns null. For example, when the underlying
+ * SSL provider does not provide an implementation of SSLSessionContext
+ * interface, this method returns null. A non-null session context
+ * is returned otherwise.
+ *
+ * @return server session context bound to this SSL context
+ */
+ public final SSLSessionContext getServerSessionContext() {
+ return contextSpi.engineGetServerSessionContext();
+ }
+
+ /**
+ * Returns the client session context, which represents the set of
+ * SSL sessions available for use during the handshake phase of
+ * client-side SSL sockets.
+ * <P>
+ * This context may be unavailable in some environments, in which
+ * case this method returns null. For example, when the underlying
+ * SSL provider does not provide an implementation of SSLSessionContext
+ * interface, this method returns null. A non-null session context
+ * is returned otherwise.
+ *
+ * @return client session context bound to this SSL context
+ */
+ public final SSLSessionContext getClientSessionContext() {
+ return contextSpi.engineGetClientSessionContext();
+ }
+
+ /**
+ * Returns a copy of the SSLParameters indicating the default
+ * settings for this SSL context.
+ *
+ * <p>The parameters will always have the ciphersuites and protocols
+ * arrays set to non-null values.
+ *
+ * @return a copy of the SSLParameters object with the default settings
+ * @throws UnsupportedOperationException if the default SSL parameters
+ * could not be obtained.
+ * @since 1.6
+ */
+ public final SSLParameters getDefaultSSLParameters() {
+ return contextSpi.engineGetDefaultSSLParameters();
+ }
+
+ /**
+ * Returns a copy of the SSLParameters indicating the supported
+ * settings for this SSL context.
+ *
+ * <p>The parameters will always have the ciphersuites and protocols
+ * arrays set to non-null values.
+ *
+ * @return a copy of the SSLParameters object with the supported
+ * settings
+ * @throws UnsupportedOperationException if the supported SSL parameters
+ * could not be obtained.
+ * @since 1.6
+ */
+ public final SSLParameters getSupportedSSLParameters() {
+ return contextSpi.engineGetSupportedSSLParameters();
+ }
+
+}
Added: trunk/core/src/openjdk/javax/javax/net/ssl/SSLContextSpi.java
===================================================================
--- trunk/core/src/openjdk/javax/javax/net/ssl/SSLContextSpi.java (rev 0)
+++ trunk/core/src/openjdk/javax/javax/net/ssl/SSLContextSpi.java 2007-06-25 09:36:18 UTC (rev 3307)
@@ -0,0 +1,201 @@
+/*
+ * Copyright 1999-2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package javax.net.ssl;
+
+import java.util.*;
+import java.security.*;
+
+/**
+ * This class defines the <i>Service Provider Interface</i> (<b>SPI</b>)
+ * for the <code>SSLContext</code> class.
+ *
+ * <p> All the abstract methods in this class must be implemented by each
+ * cryptographic service provider who wishes to supply the implementation
+ * of a particular SSL context.
+ *
+ * @since 1.4
+ * @see SSLContext
+ * @version 1.23
+ */
+public abstract class SSLContextSpi {
+ /**
+ * Initializes this context.
+ *
+ * @param km the sources of authentication keys
+ * @param tm the sources of peer authentication trust decisions
+ * @param sr the source of randomness
+ * @throws KeyManagementException if this operation fails
+ * @see SSLContext#init(KeyManager [], TrustManager [], SecureRandom)
+ */
+ protected abstract void engineInit(KeyManager[] km, TrustManager[] tm,
+ SecureRandom sr) throws KeyManagementException;
+
+ /**
+ * Returns a <code>SocketFactory</code> object for this
+ * context.
+ *
+ * @return the <code>SocketFactory</code> object
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>engineInit()</code>
+ * has not been called
+ * @see javax.net.ssl.SSLContext#getSocketFactory()
+ */
+ protected abstract SSLSocketFactory engineGetSocketFactory();
+
+ /**
+ * Returns a <code>ServerSocketFactory</code> object for
+ * this context.
+ *
+ * @return the <code>ServerSocketFactory</code> object
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>engineInit()</code>
+ * has not been called
+ * @see javax.net.ssl.SSLContext#getServerSocketFactory()
+ */
+ protected abstract SSLServerSocketFactory engineGetServerSocketFactory();
+
+ /**
+ * Creates a new <code>SSLEngine</code> using this context.
+ * <P>
+ * Applications using this factory method are providing no hints
+ * for an internal session reuse strategy. If hints are desired,
+ * {@link #engineCreateSSLEngine(String, int)} should be used
+ * instead.
+ * <P>
+ * Some cipher suites (such as Kerberos) require remote hostname
+ * information, in which case this factory method should not be used.
+ *
+ * @return the <code>SSLEngine</code> Object
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>engineInit()</code>
+ * has not been called
+ *
+ * @see SSLContext#createSSLEngine()
+ *
+ * @since 1.5
+ */
+ protected abstract SSLEngine engineCreateSSLEngine();
+
+ /**
+ * Creates a <code>SSLEngine</code> using this context.
+ * <P>
+ * Applications using this factory method are providing hints
+ * for an internal session reuse strategy.
+ * <P>
+ * Some cipher suites (such as Kerberos) require remote hostname
+ * information, in which case peerHost needs to be specified.
+ *
+ * @param host the non-authoritative name of the host
+ * @param port the non-authoritative port
+ * @return the <code>SSLEngine</code> Object
+ * @throws IllegalStateException if the SSLContextImpl requires
+ * initialization and the <code>engineInit()</code>
+ * has not been called
+ *
+ * @see SSLContext#createSSLEngine(String, int)
+ *
+ * @since 1.5
+ */
+ protected abstract SSLEngine engineCreateSSLEngine(String host, int port);
+
+ /**
+ * Returns a server <code>SSLSessionContext</code> object for
+ * this context.
+ *
+ * @return the <code>SSLSessionContext</code> object
+ * @see javax.net.ssl.SSLContext#getServerSessionContext()
+ */
+ protected abstract SSLSessionContext engineGetServerSessionContext();
+
+ /**
+ * Returns a client <code>SSLSessionContext</code> object for
+ * this context.
+ *
+ * @return the <code>SSLSessionContext</code> object
+ * @see javax.net.ssl.SSLContext#getClientSessionContext()
+ */
+ protected abstract SSLSessionContext engineGetClientSessionContext();
+
+ private SSLSocket getDefaultSocket() {
+ try {
+ SSLSocketFactory factory = engineGetSocketFactory();
+ return (SSLSocket)factory.createSocket();
+ } catch (java.io.IOException e) {
+ throw new UnsupportedOperationException("Could not obtain parameters", e);
+ }
+ }
+
+ /**
+ * Returns a copy of the SSLParameters indicating the default
+ * settings for this SSL context.
+ *
+ * <p>The parameters will always have the ciphersuite and protocols
+ * arrays set to non-null values.
+ *
+ * <p>The default implementation obtains the parameters from an
+ * SSLSocket created by calling the
+ * {@linkplain javax.net.SocketFactory#createSocket
+ * SocketFactory.createSocket()} method of this context's SocketFactory.
+ *
+ * @return a copy of the SSLParameters object with the default settings
+ * @throws UnsupportedOperationException if the default SSL parameters
+ * could not be obtained.
+ *
+ * @since 1.6
+ */
+ protected SSLParameters engineGetDefaultSSLParameters() {
+ SSLSocket socket = getDefaultSocket();
+ return socket.getSSLParameters();
+ }
+
+ /**
+ * Returns a copy of the SSLParameters indicating the maximum supported
+ * settings for this SSL context.
+ *
+ * <p>The parameters will always have the ciphersuite and protocols
+ * arrays set to non-null values.
+ *
+ * <p>The default implementation obtains the parameters from an
+ * SSLSocket created by calling the
+ * {@linkplain javax.net.SocketFactory#createSocket
+ * SocketFactory.createSocket()} method of this context's SocketFactory.
+ *
+ * @return a copy of the SSLParameters object with the maximum supported
+ * settings
+ * @throws UnsupportedOperationException if the supported SSL parameters
+ * could not be obtained.
+ *
+ * @since 1.6
+ */
+ protected SSLParameters engineGetSupportedSSLParameters() {
+ SSLSocket socket = getDefaultSocket();
+ SSLParameters params = new SSLParameters();
+ params.setCipherSuites(socket.getSupportedCipherSuites());
+ params.setProtocols(socket.getSupportedProtocols());
+ return params;
+ }
+
+}
Added: trunk/core/src/openjdk/javax/javax/net/ssl/SSLParameters.java
===================================================================
--- trunk/core/src/openjdk/javax/javax/net/ssl/SSLParameters.java (rev 0)
+++ trunk/core/src/openjdk/javax/javax/net/ssl/SSLParameters.java 2007-06-25 09:36:18 UTC (rev 3307)
@@ -0,0 +1,181 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package javax.net.ssl;
+
+/**
+ * Encapsulates parameters for an SSL/TLS connection. The parameters
+ * are the list of ciphersuites to be accepted in an SSL/TLS handshake,
+ * the list of protocols to be allowed, and whether SSL/TLS servers should
+ * request or require client authentication.
+ *
+ * <p>SSLParameters can be created via the constructors in this class.
+ * Objects can also be obtained using the <code>getSSLParameters()</code>
+ * methods in
+ * {@link SSLSocket#getSSLParameters SSLSocket} and
+ * {@link SSLEngine#getSSLParameters SSLEngine} or the
+ * {@link SSLContext#getDefaultSSLParameters getDefaultSSLParameters()} and
+ * {@link SSLContext#getSupportedSSLParameters getSupportedSSLParameters()}
+ * methods in <code>SSLContext</code>.
+ *
+ * <P>SSLParameters can be applied to a connection via the methods
+ * {@link SSLSocket#setSSLParameters SSLSocket.setSSLParameters()} and
+ * {@link SSLEngine#setSSLParameters SSLEngine.getSSLParameters()}.
+ *
+ * @see SSLSocket
+ * @see SSLEngine
+ * @see SSLContext
+ *
+ * @since 1.6
+ */
+public class SSLParameters {
+
+ private String[] cipherSuites;
+ private String[] protocols;
+ private boolean wantClientAuth;
+ private boolean needClientAuth;
+
+ /**
+ * Constructs SSLParameters.
+ *
+ * <p>The cipherSuites and protocols values are set to <code>null</code>,
+ * wantClientAuth and needClientAuth are set to <code>false</code>.
+ */
+ public SSLParameters() {
+ // empty
+ }
+
+ /**
+ * Constructs SSLParameters from the specified array of ciphersuites.
+ * Calling this constructor is equivalent to calling the no-args
+ * constructor followed by
+ * <code>setCipherSuites(cipherSuites);</code>.
+ *
+ * @param cipherSuites the array of ciphersuites (or null)
+ */
+ public SSLParameters(String[] cipherSuites) {
+ setCipherSuites(cipherSuites);
+ }
+
+ /**
+ * Constructs SSLParameters from the specified array of ciphersuites
+ * and protocols.
+ * Calling this constructor is equivalent to calling the no-args
+ * constructor followed by
+ * <code>setCipherSuites(cipherSuites); setProtocols(protocols);</code>.
+ *
+ * @param cipherSuites the array of ciphersuites (or null)
+ * @param protocols the array of protocols (or null)
+ */
+ public SSLParameters(String[] cipherSuites, String[] protocols) {
+ setCipherSuites(cipherSuites);
+ setProtocols(protocols);
+ }
+
+ private static String[] clone(String[] s) {
+ return (s == null) ? null : s.clone();
+ }
+
+ /**
+ * Returns a copy of the array of ciphersuites or null if none
+ * have been set.
+ *
+ * @return a copy of the array of ciphersuites or null if none
+ * have been set.
+ */
+ public String[] getCipherSuites() {
+ return clone(cipherSuites);
+ }
+
+ /**
+ * Sets the array of ciphersuites.
+ *
+ * @param cipherSuites the array of ciphersuites (or null)
+ */
+ public void setCipherSuites(String[] cipherSuites) {
+ this.cipherSuites = clone(cipherSuites);
+ }
+
+ /**
+ * Returns a copy of the array of protocols or null if none
+ * have been set.
+ *
+ * @return a copy of the array of protocols or null if none
+ * have been set.
+ */
+ public String[] getProtocols() {
+ return clone(protocols);
+ }
+
+ /**
+ * Sets the array of protocols.
+ *
+ * @param protocols the array of protocols (or null)
+ */
+ public void setProtocols(String[] protocols) {
+ this.protocols = clone(protocols);
+ }
+
+ /**
+ * Returns whether client authentication should be requested.
+ *
+ * @return whether client authentication should be requested.
+ */
+ public boolean getWantClientAuth() {
+ return wantClientAuth;
+ }
+
+ /**
+ * Sets whether client authentication should be requested. Calling
+ * this method clears the <code>needClientAuth</code> flag.
+ *
+ * @param wantClientAuth whether client authentication should be requested
+ */
+ public void setWantClientAuth(boolean wantClientAuth) {
+ this.wantClientAuth = wantClientAuth;
+ this.needClientAuth = false;
+ }
+
+ /**
+ * Returns whether client authentication should be required.
+ *
+ * @return whether client authentication should be required.
+ */
+ public boolean getNeedClientAuth() {
+ return needClientAuth;
+ }
+
+ /**
+ * Sets whether client authentication should be required. Calling
+ * this method clears the <code>wantClientAuth</code> flag.
+ *
+ * @param needClientAuth whether client authentication should be required
+ */
+ public void setNeedClientAuth(boolean needClientAuth) {
+ this.wantClientAuth = false;
+ this.needClientAuth = needClientAuth;
+ }
+
+}
Added: trunk/core/src/openjdk/javax/javax/net/ssl/SSLSocket.java
===================================================================
--- trunk/core/src/openjdk/javax/javax/net/ssl/SSLSocket.java (rev 0)
+++ trunk/core/src/openjdk/javax/javax/net/ssl/SSLSocket.java 2007-06-25 09:36:18 UTC (rev 3307)
@@ -0,0 +1,616 @@
+/*
+ * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+
+package javax.net.ssl;
+
+import java.io.IOException;
+import java.net.*;
+import java.util.Enumeration;
+import java.util.Vector;
+
+
+/**
+ * This class extends <code>Socket</code>s and provides secure
+ * socket using protocols such as the "Secure
+ * Sockets Layer" (SSL) or IETF "Transport Layer Security" (TLS) protocols.
+ * <P>
+ * Such sockets are normal stream sockets, but they
+ * add a layer of security protections over the underlying network transport
+ * protocol, such as TCP. Those protections include: <UL>
+ *
+ * <LI> <em>Integrity Protection</em>. SSL protects against
+ * modification of messages by an active wiretapper.
+ *
+ * <LI> <em>Authentication</em>. In most modes, SSL provides
+ * peer authentication. Servers are usually authenticated,
+ * and clients may be authenticated as requested by servers.
+ *
+ * <LI> <em>Confidentiality (Privacy Protection)</em>. In most
+ * modes, SSL encrypts data being sent between client and server.
+ * This protects the confidentiality of data, so that passive
+ * wiretappers won't see sensitive data such as financial
+ * information or personal information of many kinds.
+ *
+ * </UL>
+ *
+ * <P>These kinds of protection are specified by a "cipher suite", which
+ * is a combination of cryptographic algorithms used by a given SSL connection.
+ * During the negotiation process, the two endpoints must agree on
+ * a ciphersuite that is available in both environments.
+ * If there is no such suite in common, no SSL connection can
+ * be established, and no data can be exchanged.
+ *
+ * <P> The cipher suite used is established by a negotiation process
+ * called "handshaking". The goal of this
+ * process is to create or rejoin a "session", which may protect many
+ * connections over time. After handshaking has completed, you can access
+ * session attributes by using the <em>getSession</em> method.
+ * The initial handshake on this connection can be initiated in
+ * one of three ways: <UL>
+ *
+ * <LI> calling <code>startHandshake</code> which explicitly
+ * begins handshakes, or
+ * <LI> any attempt to read or write application data on
+ * this socket causes an implicit handshake, or
+ * <LI> a call to <code>getSession</code> tries to set up a session
+ * if there is no currently valid session, and
+ * an implicit handshake is done.
+ * </UL>
+ *
+ * <P>If handshaking fails for any reason, the <code>SSLSocket</code>
+ * is closed, and no futher communications can be done.
+ *
+ * <P>There are two groups of cipher suites which you will need to know
+ * about when managing cipher suites: <UL>
+ *
+ * <LI> <em>Supported</em> cipher suites: all the suites which are
+ * supported by the SSL implementation. This list is reported
+ * using <em>getSupportedCipherSuites</em>.
+ *
+ * <LI> <em>Enabled</em> cipher suites, which may be fewer
+ * than the full set of supported suites. This group is
+ * set using the <em>setEnabledCipherSuites</em> method, and
+ * queried using the <em>getEnabledCipherSuites</em> method.
+ * Initially, a default set of cipher suites will be enabled on
+ * a new socket that represents the minimum suggested configuration.
+ *
+ * </UL>
+ *
+ * <P> Implementation defaults require that only cipher
+ * suites which authenticate servers and provide confidentiality
+ * be enabled by default.
+ * Only if both sides explicitly agree to unauthenticated and/or
+ * non-private (unencrypted) communications will such a ciphersuite be
+ * selected.
+ *
+ * <P>When <code>SSLSocket</code>s are first created, no handshaking
+ * is done so that applications may first set their communication
+ * preferences: what cipher suites to use, whether the socket should be
+ * in client or server mode, etc.
+ * However, security is always provided by the time that application data
+ * is sent over the connection.
+ *
+ * <P> You may register to receive event notification of handshake
+ * completion. This involves
+ * the use of two additional classes. <em>HandshakeCompletedEvent</em>
+ * objects are passed to <em>HandshakeCompletedListener</em> instances,
+ * which are registered by users of this API.
+ *
+ * <code>SSLSocket</code>s are created by <code>SSLSocketFactory</code>s,
+ * or by <code>accept</code>ing a connection from a
+ * <code>SSLServerSocket</code>.
+ *
+ * <P>A SSL socket must choose to operate in the client or server mode.
+ * This will determine who begins the handshaking process, as well
+ * as which messages should be sent by each party. Each
+ * connection must have one client and one server, or handshaking
+ * will not progress properly. Once the initial handshaking has started, a
+ * socket can not switch between client and server modes, even when
+ * performing renegotiations.
+ *
+ * @see java.net.Socket
+ * @see SSLServerSocket
+ * @see SSLSocketFactory
+ *
+ * @since 1.4
+ * @version 1.37
+ * @author David Brownell
+ */
+public abstract class SSLSocket extends Socket
+{
+ /**
+ * Used only by subclasses.
+ * Constructs an uninitialized, unconnected TCP socket.
+ */
+ protected SSLSocket()
+ { super(); }
+
+
+ /**
+ * Used only by subclasses.
+ * Constructs a TCP connection to a named host at a specified port.
+ * This acts as the SSL client.
+ * <p>
+ * If there is a security manager, its <code>checkConnect</code>
+ * method is called with the host address and <code>port</code>
+ * as its arguments. This could result in a SecurityException.
+ *
+ * @param host name of the host with which to connect, or
+ * <code>null</code> for the loopback address.
+ * @param port number of the server's port
+ * @throws IOException if an I/O error occurs when creating the socket
+ * @throws SecurityException if a security manager exists and its
+ * <code>checkConnect</code> method doesn't allow the operation.
+ * @throws UnknownHostException if the host is not known
+ * @throws IllegalArgumentException if the port parameter is outside the
+ * specified range of valid port values, which is between 0 and
+ * 65535, inclusive.
+ * @see SecurityManager#checkConnect
+ */
+ protected SSLSocket(String host, int port)
+ th...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 09:41:36
|
Revision: 3308
http://jnode.svn.sourceforge.net/jnode/?rev=3308&view=rev
Author: lsantha
Date: 2007-06-25 02:40:29 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/vm/java/util/
trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java
Added: trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java
===================================================================
--- trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java (rev 0)
+++ trunk/core/src/openjdk/vm/java/util/NativeResourceBundle.java 2007-06-25 09:40:29 UTC (rev 3308)
@@ -0,0 +1,20 @@
+/*
+ * $Id$
+ */
+package java.util;
+
+import org.jnode.vm.VmSystem;
+
+/**
+ * @author Levente S\xE1ntha
+ */
+class NativeResourceBundle {
+ static Class[] getClassContext(){
+ //skip the call to VmSystem.getRealClassContext()
+ Class[] context = VmSystem.getRealClassContext();
+ Class[] ret = new Class[context.length - 1];
+ System.arraycopy(context, 1, ret, 0, ret.length);
+
+ return context;
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 09:20:35
|
Revision: 3305
http://jnode.svn.sourceforge.net/jnode/?rev=3305&view=rev
Author: lsantha
Date: 2007-06-25 02:20:22 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/tools/corba/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Arguments.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/AttributeEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/AttributeGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Comment.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Compile.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ConstEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ConstGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/DefaultSymtabFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/EnumEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/EnumGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ExceptionEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ExceptionGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Factories.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ForwardEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ForwardGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ForwardValueEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ForwardValueGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/GenFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/GenFileStream.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Generator.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/IDLID.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/IncludeEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/IncludeGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/InterfaceEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/InterfaceGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/InterfaceState.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/InterfaceType.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/InvalidArgument.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/InvalidCharacter.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/MethodEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/MethodGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ModuleEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ModuleGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/NativeEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/NativeGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/NoPragma.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Noop.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ParameterEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ParameterGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ParseException.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Parser.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/PragmaEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/PragmaGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/PragmaHandler.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Preprocessor.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/PrimitiveEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/PrimitiveGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/RepositoryID.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ResourceBundleUtil.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Scanner.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/SequenceEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/SequenceGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/StringEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/StringGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/StructEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/StructGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/SymtabEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/SymtabFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Token.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/TokenBuffer.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/TypedefEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/TypedefGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/UnionBranch.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/UnionEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/UnionGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/Util.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ValueBoxEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ValueBoxGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ValueEntry.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ValueGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ValueRepositoryId.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/And.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/BinaryExpr.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/BooleanAnd.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/BooleanNot.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/BooleanOr.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/DefaultExprFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Divide.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Equal.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/EvaluationException.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/ExprFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Expression.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/GreaterEqual.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/GreaterThan.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/LessEqual.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/LessThan.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Minus.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Modulo.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Negative.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Not.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/NotEqual.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Or.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Plus.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Positive.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/ShiftLeft.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/ShiftRight.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Terminal.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Times.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/UnaryExpr.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/constExpr/Xor.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/first.set
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/follow.set
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/grammar.idl
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/grammar3.idl
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/idl.prp
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/idl_ja.prp
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/idl_zh_CN.prp
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/ir.idl
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/keywords
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/orb.idl
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/som/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/som/cff/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/som/cff/FileLocator.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/som/cff/Messages.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/som/idlemit/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/som/idlemit/MetaPragma.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Arguments.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/AttributeGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/AttributeGen24.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/AuxGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Compile.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ConstGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/DefaultFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/EnumGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ExceptionGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Factories.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ForwardValueGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/GenFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Helper.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Helper24.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Holder.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/InterfaceGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/JavaGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/MethodGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/MethodGen24.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/MethodGenClone24.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ModuleGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/NameModifier.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/NameModifierImpl.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/NativeGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/PrimitiveGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/SequenceGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Skeleton.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/StringGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/StructGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Stub.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/TCOffsets.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/TypedefGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/UnionGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/Util.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ValueBoxGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ValueBoxGen24.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ValueFactory.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ValueGen.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/ValueGen24.java
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/toJavaPortable.prp
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/toJavaPortable_ja.prp
trunk/core/src/openjdk/com/com/sun/tools/corba/se/idl/toJavaPortable/toJavaPortable_zh_CN.prp
trunk/core/src/openjdk/com/com/sun/tools/doclets/
trunk/core/src/openjdk/com/com/sun/tools/doclets/Taglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AbstractExecutableMemberWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AbstractIndexWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AbstractMemberWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AbstractPackageIndexWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AbstractTreeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AllClassesFrameWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AnnotationTypeOptionalMemberWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AnnotationTypeRequiredMemberWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/AnnotationTypeWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/ClassUseWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/ClassWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/ConstantsSummaryWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/ConstructorWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/DeprecatedListWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/EnumConstantWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/FieldWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/FrameOutputWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/HelpWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/HtmlDoclet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/HtmlDocletWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/HtmlSerialFieldWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/HtmlSerialMethodWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/LinkFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/LinkInfoImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/LinkOutputImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/MethodWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/NestedClassWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/PackageFrameWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/PackageIndexFrameWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/PackageIndexWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/PackageTreeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/PackageUseWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/PackageWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/SerializedFormWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/SingleIndexWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/SplitIndexWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/StylesheetWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/SubWriterHolderWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/TagletOutputImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/TagletWriterImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/TreeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/WriterFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/markup/
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/markup/HtmlWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/markup/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/resources/
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/resources/standard.properties
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/resources/standard_ja.properties
trunk/core/src/openjdk/com/com/sun/tools/doclets/formats/html/resources/standard_zh_CN.properties
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/AbstractDoclet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/AnnotationTypeOptionalMemberWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/AnnotationTypeRequiredMemberWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/AnnotationTypeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/ClassWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/Configuration.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/ConstantsSummaryWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/ConstructorWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/EnumConstantWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/FieldWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/MemberSummaryWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/MethodWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/NestedClassWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/PackageSummaryWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/SerializedFormWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/WriterFactory.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/AbstractBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/AbstractMemberBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeOptionalMemberBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/AnnotationTypeRequiredMemberBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/BuilderFactory.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/ClassBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/ConstantsSummaryBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/ConstructorBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/EnumConstantBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/FieldBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/LayoutParser.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/MemberSummaryBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/MethodBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/PackageSummaryBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/SerializedFormBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/builders/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/resources/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/resources/doclet.xml
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/resources/doclets.properties
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/resources/doclets_ja.properties
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/resources/doclets_zh_CN.properties
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/resources/inherit.gif
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/BaseExecutableMemberTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/BaseInlineTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/BaseTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/CodeTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/DeprecatedTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/DocRootTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/InheritDocTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/InheritableTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/LegacyTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/LiteralTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/ParamTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/ReturnTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/SeeTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/SimpleTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/Taglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/TagletManager.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/TagletOutput.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/TagletWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/ThrowsTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/ValueTaglet.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/taglets/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/ClassDocCatalog.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/ClassTree.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/ClassUseMapper.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/CommentedMethodFinder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/DeprecatedAPIListBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/DirectoryManager.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/DocFinder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/DocletAbortException.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/DocletConstants.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/Extern.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/Group.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/ImplementedMethods.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/IndexBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/MessageRetriever.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/MetaKeywords.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/MethodFinder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/PackageListWriter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/SourcePath.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/SourceToHTMLConverter.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/TaggedMethodFinder.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/TextTag.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/Util.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/VisibleMemberMap.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/links/
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/links/LinkFactory.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/links/LinkInfo.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/links/LinkOutput.java
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/links/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/internal/toolkit/util/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/package.html
trunk/core/src/openjdk/com/com/sun/tools/doclets/standard/
trunk/core/src/openjdk/com/com/sun/tools/doclets/standard/Standard.java
trunk/core/src/openjdk/com/com/sun/tools/internal/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/ConfigReader.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/MessageBundle.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/Messages.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/NGCCRuntimeEx.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/SchemaGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/AnnotationParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/AnnotationProcessorFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/Const.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/ErrorReceiverImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/InlineAnnotationReaderImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/MessageBundle.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/Messages.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/Options.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/SchemaGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/apt/package.html
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/AttributesImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/Classes.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/Config.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/NGCCEventReceiver.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/NGCCEventSource.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/NGCCHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/NGCCInterleaveFilter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/NGCCRuntime.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/Schema.java
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/config.rng
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/gen/config/config.xsd
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/model/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/model/nav/
trunk/core/src/openjdk/com/com/sun/tools/internal/jxc/model/nav/APTNavigator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/Invoker.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/ToolVersion.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/WsGen.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/WsImport.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/package-info.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/Processor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/ProcessorAction.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/ProcessorActionVersion.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/ProcessorConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/ProcessorException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/ProcessorNotificationListener.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/ProcessorOptions.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/ClassModelInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/Configuration.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/ConfigurationException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/HandlerChainInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/HandlerInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/ModelInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/WSDLModelInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/ClassModelParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/CustomizationParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/InputParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/JAXWSBindingInfoParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/ParserUtil.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/config/parser/Reader.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/CustomExceptionGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/GeneratorBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/GeneratorConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/GeneratorException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/GeneratorUtil.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/JAXBTypeGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/Names.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/SeiGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/ServiceGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/generator/SimpleToBoxedUtil.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/AbstractType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/AsyncOperation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/AsyncOperationType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Block.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/ExtendedModelVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Fault.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/HeaderFault.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Message.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Model.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/ModelException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/ModelObject.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/ModelProperties.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/ModelVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Operation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Parameter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Port.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Request.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Response.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/Service.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/exporter/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/exporter/ExternalObject.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaArrayType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaInterface.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaMethod.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaParameter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaSimpleType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaStructureMember.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaStructureType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/java/JavaType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBElementMember.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBMapping.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBModel.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBProperty.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBStructuredType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeAndAnnotation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/JAXBTypeVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitMember.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/RpcLitStructure.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/model/jaxb/Util.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/JavaSimpleTypeCreator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/Modeler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/ModelerConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/ModelerException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/ModelerUtils.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/AnnotationProcessorContext.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/FaultInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/MakeSafeTypeVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/MemberInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/ModelBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/TypeModeler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMoniker.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/TypeMonikerFactory.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceAP.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceReferenceCollector.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/WebServiceWrapperGenerator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/annotation/WrapperInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/AccessorElement.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/ClassNameAllocatorImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/ConsoleErrorReporter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/JAXBModelBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/MimeHelper.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/PseudoSchemaBuilder.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModeler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/modeler/wsdl/WSDLModelerBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/ClassNameCollector.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/ClientProcessorEnvironment.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/DirectoryUtil.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/GeneratedFileInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/IndentingWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/ProcessorEnvironment.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/processor/util/ProcessorEnvironmentBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/configuration.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/generator.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/javacompiler.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/model.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/modeler.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/processor.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/util.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/webserviceap.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/wscompile.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/resources/wsdl.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/spi/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/spi/WSToolsObjectFactory.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/spi/package-info.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/ClassNameInfo.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/ForkEntityResolver.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/JAXWSClassFactory.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/JavaCompilerHelper.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/MapBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/ToolBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/WSDLParseException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/WSToolsObjectFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/xml/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/xml/NodeListIterator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/xml/NullEntityResolver.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/xml/PrettyPrintingXmlWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/xml/XmlUtil.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/util/xml/XmlWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/version.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wscompile/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wscompile/ActionConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wscompile/CompileTool.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wscompile/FilerCodeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wscompile/WSCodeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Binding.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/BindingFault.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/BindingInput.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/BindingOperation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/BindingOutput.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Definitions.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Documentation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Fault.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Import.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Input.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Kinds.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Message.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/MessagePart.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Operation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/OperationStyle.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Output.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Port.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/PortType.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Service.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/Types.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/WSDLConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/WSDLDocument.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/WSDLDocumentVisitorBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/HTTPAddress.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/HTTPBinding.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/HTTPConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/HTTPOperation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlEncoded.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/http/HTTPUrlReplacement.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/jaxws/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/jaxws/CustomName.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/jaxws/Exception.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBinding.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/jaxws/JAXWSBindingsConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/jaxws/Parameter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/mime/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/mime/MIMEConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/mime/MIMEContent.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/mime/MIMEMultipartRelated.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/mime/MIMEPart.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/mime/MIMEXml.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/BuiltInTypes.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/Schema.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/SchemaAttribute.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/SchemaConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/SchemaDocument.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/SchemaElement.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/SchemaEntity.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/schema/SchemaKinds.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Binding.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAP12Constants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPAddress.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBinding.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPBody.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPConstants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPFault.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeader.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPHeaderFault.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPOperation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPStyle.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/document/soap/SOAPUse.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/AbstractDocument.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Defining.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/DuplicateEntityException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Elemental.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Entity.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/EntityAction.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceAction.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/EntityReferenceValidator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ExtensibilityHelper.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Extensible.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Extension.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitor.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ExtensionVisitorBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ExternalEntityReference.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/GlobalEntity.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/GloballyKnown.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Identifiable.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/Kind.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/NoSuchEntityException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ParseException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ParserContext.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ParserListener.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/QNameAction.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/ValidationException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/WSDLLocation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/framework/WriterContext.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/Constants.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/ExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/ExtensionHandlerBase.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/HTTPExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/Internalizer.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/JAXWSBindingExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/MIMEExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/NamespaceContextImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/SOAP12ExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/SOAPEntityReferenceValidator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/SOAPExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/SchemaExtensionHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/SchemaParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/SchemaWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/Util.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/WSDLParser.java
trunk/core/src/openjdk/com/com/sun/tools/internal/ws/wsdl/parser/WSDLWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/AbortException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/BadCommandLineException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/ConsoleErrorReporter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/Driver.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/ErrorReceiver.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/Language.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/MessageBundle.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/Messages.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/ModelLoader.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/Options.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/Plugin.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/ProgressCodeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/SchemaCache.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/XJCListener.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/at_generated/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/at_generated/PluginImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/code_injector/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/code_injector/Const.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/code_injector/PluginImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/locator/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/locator/SourceLocationAddOn.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/sync/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/addon/sync/SynchronizedMethodAddOn.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/ClassNameAllocator.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/ErrorListener.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/J2SJAXBModel.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/JAXBModel.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/JavaCompiler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/Mapping.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/Property.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/Reference.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/S2JJAXBModel.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/SchemaCompiler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/TypeAndAnnotation.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/XJC.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/j2s/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/j2s/JAXBModelImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/j2s/JavaCompilerImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/j2s/Messages.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/j2s/Messages.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/AbstractMappingImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/BeanMappingImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/DowngradingErrorHandler.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/ElementAdapter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/ElementCollectionAdapter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/ElementMappingImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/ElementSingleAdapter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/JAXBModelImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/PropertyImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/SchemaCompilerImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/TypeAndAnnotationImpl.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/impl/s2j/package.html
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/package.html
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/APTClassLoader.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/FilerCodeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/Messages.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/Messages.properties
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/ToolsJarNotFoundException.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/api/util/package.html
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/ri/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/ri/XmlIsSetWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/ri/XmlLocationWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/spec/
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/spec/XmlAccessorOrderWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/spec/XmlAccessorTypeWriter.java
trunk/core/src/openjdk/com/com/sun/tools/internal/xjc/generator/annotation/spec/XmlAnyAttributeWriter.j...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 08:53:34
|
Revision: 3304
http://jnode.svn.sourceforge.net/jnode/?rev=3304&view=rev
Author: lsantha
Date: 2007-06-25 01:53:28 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/org/
trunk/core/src/openjdk/com/com/sun/org/apache/
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/Constants.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/ExceptionConstants.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/Repository.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/AccessFlags.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Attribute.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/AttributeReader.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ClassFormatException.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ClassParser.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Code.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/CodeException.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Constant.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantCP.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantClass.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantDouble.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantFieldref.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantFloat.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantInteger.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantInterfaceMethodref.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantLong.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantMethodref.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantNameAndType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantObject.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantPool.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantString.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantUtf8.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ConstantValue.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Deprecated.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/DescendingVisitor.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/EmptyVisitor.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/ExceptionTable.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Field.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/FieldOrMethod.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/InnerClass.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/InnerClasses.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/JavaClass.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/LineNumber.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/LineNumberTable.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/LocalVariable.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/LocalVariableTable.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Method.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Node.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/PMGClass.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Signature.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/SourceFile.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/StackMap.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/StackMapEntry.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/StackMapType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Synthetic.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Unknown.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Utility.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/Visitor.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/classfile/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/AALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/AASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ACONST_NULL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ANEWARRAY.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ARETURN.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ARRAYLENGTH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ATHROW.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/AllocationInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ArithmeticInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ArrayInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ArrayType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BIPUSH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BREAKPOINT.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BasicType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BranchHandle.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/BranchInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/CALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/CASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/CHECKCAST.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/CPInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ClassGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ClassGenException.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ClassObserver.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/CodeExceptionGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/CompoundInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ConstantPoolGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ConstantPushInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ConversionInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/D2F.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/D2I.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/D2L.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DADD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DCMPG.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DCMPL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DCONST.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DDIV.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DLOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DMUL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DNEG.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DREM.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DRETURN.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DSTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DSUB.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DUP.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DUP2.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DUP2_X1.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DUP2_X2.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DUP_X1.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/DUP_X2.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/EmptyVisitor.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ExceptionThrower.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/F2D.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/F2I.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/F2L.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FADD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FCMPG.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FCMPL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FCONST.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FDIV.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FLOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FMUL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FNEG.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FREM.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FRETURN.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FSTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FSUB.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FieldGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FieldGenOrMethodGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FieldInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FieldObserver.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/FieldOrMethod.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/GETFIELD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/GETSTATIC.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/GOTO.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/GOTO_W.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/GotoInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/I2B.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/I2C.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/I2D.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/I2F.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/I2L.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/I2S.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IADD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IAND.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ICONST.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IDIV.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFEQ.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFGE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFGT.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFLE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFLT.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFNE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFNONNULL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IFNULL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ACMPEQ.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ACMPNE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ICMPEQ.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ICMPGE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ICMPGT.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ICMPLE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ICMPLT.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IF_ICMPNE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IINC.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ILOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IMPDEP1.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IMPDEP2.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IMUL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/INEG.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/INSTANCEOF.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/INVOKEINTERFACE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/INVOKESPECIAL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/INVOKESTATIC.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/INVOKEVIRTUAL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IOR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IREM.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IRETURN.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ISHL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ISHR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ISTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ISUB.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IUSHR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IXOR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IfInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/IndexedInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/Instruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionComparator.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionConstants.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionHandle.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionList.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionListObserver.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InstructionTargeter.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/InvokeInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/JSR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/JSR_W.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/JsrInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/L2D.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/L2F.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/L2I.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LADD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LAND.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LCMP.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LCONST.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LDC.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LDC2_W.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LDC_W.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LDIV.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LLOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LMUL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LNEG.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LOOKUPSWITCH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LOR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LREM.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LRETURN.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LSHL.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LSHR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LSTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LSUB.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LUSHR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LXOR.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LineNumberGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LoadClass.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LoadInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LocalVariableGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/LocalVariableInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/MONITORENTER.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/MONITOREXIT.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/MULTIANEWARRAY.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/MethodGen.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/MethodObserver.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/NEW.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/NEWARRAY.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/NOP.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/NamedAndTyped.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ObjectType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/POP.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/POP2.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/PUSH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/PUTFIELD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/PUTSTATIC.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/PopInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/PushInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/RET.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/RETURN.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ReferenceType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ReturnInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/ReturnaddressType.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/SALOAD.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/SASTORE.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/SIPUSH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/SWAP.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/SWITCH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/Select.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/StackConsumer.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/StackInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/StackProducer.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/StoreInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/TABLESWITCH.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/TargetLostException.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/Type.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/TypedInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/UnconditionalBranch.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/VariableLengthInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/Visitor.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/generic/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/AttributeHTML.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/BCELFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/BCELifier.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ByteSequence.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/Class2HTML.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassLoader.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassLoaderRepository.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassPath.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassQueue.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassSet.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassStack.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ClassVector.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/CodeHTML.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/ConstantHTML.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/InstructionFinder.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/JavaWrapper.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/MethodHTML.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/Repository.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/SyntheticRepository.java
trunk/core/src/openjdk/com/com/sun/org/apache/bcel/internal/util/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/CharacterArrayCharacterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/CharacterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/RE.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/RECompiler.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/REDebugCompiler.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/REDemo.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/REProgram.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/RESyntaxException.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/RETest.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/REUtil.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/ReaderCharacterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/StreamCharacterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/StringCharacterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/regexp/internal/recompile.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/META-INF/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/META-INF/services/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/META-INF/services/javax.xml.transform.TransformerFactory
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/META-INF/services/javax.xml.xpath.XPathFactory
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/META-INF/services/org.apache.xml.dtm.DTMManager
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/Version.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/client/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/client/XSLTProcessorApplet.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/client/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/extensions/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/extensions/ExpressionContext.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/extensions/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltBase.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltCommon.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltDatetime.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltDynamic.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltMath.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltSets.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ExsltStrings.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/Extensions.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/NodeInfo.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/lib/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLMessages.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_de.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_en.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_es.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_fr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_it.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ja.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_ko.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_sv.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_CN.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTErrorResources_zh_TW.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/XSLTInfo.properties
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/res/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/templates/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/templates/Constants.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/templates/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/EnvironmentCheck.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/Process.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xslt/package.html
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/CollatorFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/DOM.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/DOMCache.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/DOMEnhancedForDTM.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/NodeIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/ProcessorVersion.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/StripFilter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/Translet.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/TransletException.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/Compile.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/Transform.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt/GetOpt.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt/GetOptsException.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt/IllegalArgumentException.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/cmdline/getopt/MissingOptArgException.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AbsoluteLocationPath.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AbsolutePathPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AlternativePattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AncestorPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ApplyImports.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ApplyTemplates.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ArgumentList.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Attribute.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AttributeSet.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AttributeValue.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/AttributeValueTemplate.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/BinOpExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/BooleanCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/BooleanExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CallTemplate.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CastCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CastExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CeilingCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Choose.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Closure.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Comment.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CompilerException.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ConcatCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Constants.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ContainsCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Copy.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CopyOf.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/CurrentCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/DecimalFormatting.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/DocumentCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ElementAvailableCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/EqualityExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Expression.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Fallback.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FilterExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FilterParentPath.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FilteredAbsoluteLocationPath.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FloorCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FlowList.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ForEach.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FormatNumberCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FunctionAvailableCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/FunctionCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/GenerateIdCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/IdKeyPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/IdPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/If.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/IllegalCharException.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Import.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Include.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Instruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/IntExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Key.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/KeyCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/KeyPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LangCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LastCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LiteralAttribute.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LiteralElement.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LiteralExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LocalNameCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LocationPathPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/LogicalExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Makefile.inc
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Message.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Mode.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NameBase.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NameCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NamespaceAlias.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NamespaceUriCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NodeTest.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NotCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Number.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/NumberCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Otherwise.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Output.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Param.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ParameterRef.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ParentLocationPath.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ParentPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Parser.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Pattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/PositionCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Predicate.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ProcessingInstruction.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ProcessingInstructionPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/QName.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/RealExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/RelationalExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/RelativeLocationPath.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/RelativePathPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/RoundCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/SimpleAttributeValue.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Sort.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/SourceLoader.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/StartsWithCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Step.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/StepPattern.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/StringCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/StringLengthCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Stylesheet.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/SymbolTable.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/SyntaxTreeNode.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Template.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/TestSeq.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Text.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/TopLevelElement.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/TransletOutput.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/UnaryOpExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/UnionPathExpr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/UnparsedEntityUriCall.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/UnresolvedRef.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/UnsupportedElement.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/UseAttributeSets.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/ValueOf.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Variable.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/VariableBase.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/VariableRef.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/VariableRefBase.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/When.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/Whitespace.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/WithParam.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/XPathLexer.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/XPathParser.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/XSLTC.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/XslAttribute.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/XslElement.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/sym.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/AttributeSetMethodGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/BooleanType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ClassGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/CompareGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_ca.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_cs.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_de.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_es.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_fr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_it.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_ja.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_ko.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_sk.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_zh_CN.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMessages_zh_TW.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/FilterGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/IntType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/MatchGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/MethodGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/MethodType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/MultiHashtable.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NamedMethodGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NodeCounterGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NodeSetType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NodeSortRecordFactGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NodeSortRecordGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NodeType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/NumberType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ObjectType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/RealType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ReferenceType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/ResultTreeType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/RtMethodGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/SlotAllocator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/StringStack.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/StringType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/TestGenerator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/Type.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/TypeCheckError.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/Util.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/util/VoidType.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/xpath.cup
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/compiler/xpath.lex
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/AbsoluteIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/AdaptiveResultTreeImpl.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/AnyNodeCounter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/BitArray.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/CachedNodeListIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/ClonedNodeListIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/CollatorFactoryBase.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/CurrentNodeListFilter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/CurrentNodeListIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/DOMAdapter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/DOMBuilder.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/DOMWSFilter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/DocumentCache.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/DupFilterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/EmptyFilter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/ExtendedSAX.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/Filter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/FilterIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/FilteredStepIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/ForwardPositionIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/KeyIndex.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/LoadDocument.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/MatchingIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/MultiDOM.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/MultiValuedNodeHeapIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/MultipleNodeCounter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/NodeCounter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/NodeIteratorBase.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecord.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/NodeSortRecordFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/NthIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SAXImpl.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SimpleResultTreeImpl.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SingleNodeCounter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SingletonIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SortSettings.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/SortingIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/StepIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/StripWhitespaceFilter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/UnionIterator.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/dom/XSLTCDTMManager.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/javax.xml.transform.TransformerFactory
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/AbstractTranslet.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/AttributeList.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/Attributes.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/BasisLibrary.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/Constants.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_ca.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_cs.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_de.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_es.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_fr.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_it.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_ja.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_ko.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_sk.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_zh_CN.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ErrorMessages_zh_TW.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/Hashtable.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/MessageHandler.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/Node.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/Operators.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/Parameter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/StringValueHandler.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/output/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/output/OutputBuffer.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/output/StringOutputBuffer.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/output/TransletOutputHandlerFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/runtime/output/WriterOutputBuffer.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/DOM2SAX.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/DOM2TO.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/ObjectFactory.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/OutputSettings.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SAX2DOM.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXBaseWriter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXEventWriter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SAX2StAXStreamWriter.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SecuritySupport.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SecuritySupport12.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/SmartTransformerFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/trax/StAXEvent2SAX.java
trunk/core/src/openjdk/com/com/sun/org/apache/xalan/internal/xsltc/t...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 08:14:02
|
Revision: 3303
http://jnode.svn.sourceforge.net/jnode/?rev=3303&view=rev
Author: lsantha
Date: 2007-06-25 01:14:00 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/net/
trunk/core/src/openjdk/com/com/sun/net/httpserver/
trunk/core/src/openjdk/com/com/sun/net/httpserver/Authenticator.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/BasicAuthenticator.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/Filter.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/Headers.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpContext.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpExchange.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpHandler.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpPrincipal.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpServer.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpsConfigurator.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpsExchange.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpsParameters.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpsServer.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/package-info.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/spi/
trunk/core/src/openjdk/com/com/sun/net/httpserver/spi/HttpServerProvider.java
trunk/core/src/openjdk/com/com/sun/net/httpserver/spi/package-info.java
trunk/core/src/openjdk/com/com/sun/net/ssl/
trunk/core/src/openjdk/com/com/sun/net/ssl/HostnameVerifier.java
trunk/core/src/openjdk/com/com/sun/net/ssl/HttpsURLConnection.java
trunk/core/src/openjdk/com/com/sun/net/ssl/KeyManager.java
trunk/core/src/openjdk/com/com/sun/net/ssl/KeyManagerFactory.java
trunk/core/src/openjdk/com/com/sun/net/ssl/KeyManagerFactorySpi.java
trunk/core/src/openjdk/com/com/sun/net/ssl/SSLContextSpi.java
trunk/core/src/openjdk/com/com/sun/net/ssl/SSLPermission.java
trunk/core/src/openjdk/com/com/sun/net/ssl/SSLSecurity.java
trunk/core/src/openjdk/com/com/sun/net/ssl/TrustManager.java
trunk/core/src/openjdk/com/com/sun/net/ssl/TrustManagerFactory.java
trunk/core/src/openjdk/com/com/sun/net/ssl/TrustManagerFactorySpi.java
trunk/core/src/openjdk/com/com/sun/net/ssl/X509KeyManager.java
trunk/core/src/openjdk/com/com/sun/net/ssl/X509TrustManager.java
trunk/core/src/openjdk/com/com/sun/net/ssl/internal/
trunk/core/src/openjdk/com/com/sun/net/ssl/internal/ssl/
trunk/core/src/openjdk/com/com/sun/net/ssl/internal/ssl/X509ExtendedTrustManager.java
trunk/core/src/openjdk/com/com/sun/net/ssl/package.html
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/Authenticator.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/Authenticator.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/Authenticator.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,126 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+import java.net.*;
+import java.io.*;
+import java.util.*;
+
+/**
+ * Authenticator represents an implementation of an HTTP authentication
+ * mechanism. Sub-classes provide implementations of specific mechanisms
+ * such as Digest or Basic auth. Instances are invoked to provide verification
+ * of the authentication information provided in all incoming requests.
+ * Note. This implies that any caching of credentials or other authentication
+ * information must be done outside of this class.
+ */
+public abstract class Authenticator {
+
+ /**
+ * Base class for return type from authenticate() method
+ */
+ public abstract static class Result {}
+
+ /**
+ * Indicates an authentication failure. The authentication
+ * attempt has completed.
+ */
+ public static class Failure extends Result {
+
+ private int responseCode;
+
+ public Failure (int responseCode) {
+ this.responseCode = responseCode;
+ }
+
+ /**
+ * returns the response code to send to the client
+ */
+ public int getResponseCode() {
+ return responseCode;
+ }
+ }
+
+ /**
+ * Indicates an authentication has succeeded and the
+ * authenticated user principal can be acquired by calling
+ * getPrincipal().
+ */
+ public static class Success extends Result {
+ private HttpPrincipal principal;
+
+ public Success (HttpPrincipal p) {
+ principal = p;
+ }
+ /**
+ * returns the authenticated user Principal
+ */
+ public HttpPrincipal getPrincipal() {
+ return principal;
+ }
+ }
+
+ /**
+ * Indicates an authentication must be retried. The
+ * response code to be sent back is as returned from
+ * getResponseCode(). The Authenticator must also have
+ * set any necessary response headers in the given HttpExchange
+ * before returning this Retry object.
+ */
+ public static class Retry extends Result {
+
+ private int responseCode;
+
+ public Retry (int responseCode) {
+ this.responseCode = responseCode;
+ }
+
+ /**
+ * returns the response code to send to the client
+ */
+ public int getResponseCode() {
+ return responseCode;
+ }
+ }
+
+ /**
+ * called to authenticate each incoming request. The implementation
+ * must return a Failure, Success or Retry object as appropriate :-
+ * <p>
+ * Failure means the authentication has completed, but has failed
+ * due to invalid credentials.
+ * <p>
+ * Sucess means that the authentication
+ * has succeeded, and a Principal object representing the user
+ * can be retrieved by calling Sucess.getPrincipal() .
+ * <p>
+ * Retry means that another HTTP exchange is required. Any response
+ * headers needing to be sent back to the client are set in the
+ * given HttpExchange. The response code to be returned must be provided
+ * in the Retry object. Retry may occur multiple times.
+ */
+ public abstract Result authenticate (HttpExchange exch);
+}
+
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/BasicAuthenticator.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/BasicAuthenticator.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/BasicAuthenticator.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,313 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+import java.net.*;
+import java.io.*;
+import java.util.*;
+
+/**
+ * BasicAuthenticator provides an implementation of HTTP Basic
+ * authentication. It is an abstract class and must be extended
+ * to provide an implementation of {@link #checkCredentials(String,String)}
+ * which is called to verify each incoming request.
+ */
+public abstract class BasicAuthenticator extends Authenticator {
+
+ protected String realm;
+
+ /**
+ * Creates a BasicAuthenticator for the given HTTP realm
+ * @param realm The HTTP Basic authentication realm
+ * @throws NullPointerException if the realm is an empty string
+ */
+ public BasicAuthenticator (String realm) {
+ this.realm = realm;
+ }
+
+ /**
+ * returns the realm this BasicAuthenticator was created with
+ * @return the authenticator's realm string.
+ */
+ public String getRealm () {
+ return realm;
+ }
+
+ public Result authenticate (HttpExchange t)
+ {
+ HttpContext context = t.getHttpContext();
+ Headers rmap = (Headers) t.getRequestHeaders();
+ /*
+ * look for auth token
+ */
+ String auth = rmap.getFirst ("Authorization");
+ if (auth == null) {
+ Headers map = (Headers) t.getResponseHeaders();
+ map.set ("WWW-Authenticate", "Basic realm=" + "\""+realm+"\"");
+ return new Authenticator.Retry (401);
+ }
+ int sp = auth.indexOf (' ');
+ if (sp == -1 || !auth.substring(0, sp).equals ("Basic")) {
+ return new Authenticator.Failure (401);
+ }
+ byte[] b = Base64.base64ToByteArray (auth.substring(sp+1));
+ String userpass = new String (b);
+ int colon = userpass.indexOf (':');
+ String uname = userpass.substring (0, colon);
+ String pass = userpass.substring (colon+1);
+
+ if (checkCredentials (uname, pass)) {
+ return new Authenticator.Success (
+ new HttpPrincipal (
+ uname, realm
+ )
+ );
+ } else {
+ /* reject the request again with 401 */
+
+ Headers map = (Headers) t.getResponseHeaders();
+ map.set ("WWW-Authenticate", "Basic realm=" + "\""+realm+"\"");
+ return new Authenticator.Failure(401);
+ }
+ }
+
+ /**
+ * called for each incoming request to verify the
+ * given name and password in the context of this
+ * Authenticator's realm. Any caching of credentials
+ * must be done by the implementation of this method
+ * @param username the username from the request
+ * @param password the password from the request
+ * @return <code>true</code> if the credentials are valid,
+ * <code>false</code> otherwise.
+ */
+ public abstract boolean checkCredentials (String username, String password);
+}
+
+class Base64 {
+
+ /**
+ * Translates the specified byte array into a Base64 string as per
+ * Preferences.put(byte[]).
+ */
+ static String byteArrayToBase64(byte[] a) {
+ return byteArrayToBase64(a, false);
+ }
+
+ /**
+ * Translates the specified byte array into an "aternate representation"
+ * Base64 string. This non-standard variant uses an alphabet that does
+ * not contain the uppercase alphabetic characters, which makes it
+ * suitable for use in situations where case-folding occurs.
+ */
+ static String byteArrayToAltBase64(byte[] a) {
+ return byteArrayToBase64(a, true);
+ }
+
+ private static String byteArrayToBase64(byte[] a, boolean alternate) {
+ int aLen = a.length;
+ int numFullGroups = aLen/3;
+ int numBytesInPartialGroup = aLen - 3*numFullGroups;
+ int resultLen = 4*((aLen + 2)/3);
+ StringBuffer result = new StringBuffer(resultLen);
+ char[] intToAlpha = (alternate ? intToAltBase64 : intToBase64);
+
+ // Translate all full groups from byte array elements to Base64
+ int inCursor = 0;
+ for (int i=0; i<numFullGroups; i++) {
+ int byte0 = a[inCursor++] & 0xff;
+ int byte1 = a[inCursor++] & 0xff;
+ int byte2 = a[inCursor++] & 0xff;
+ result.append(intToAlpha[byte0 >> 2]);
+ result.append(intToAlpha[(byte0 << 4)&0x3f | (byte1 >> 4)]);
+ result.append(intToAlpha[(byte1 << 2)&0x3f | (byte2 >> 6)]);
+ result.append(intToAlpha[byte2 & 0x3f]);
+ }
+
+ // Translate partial group if present
+ if (numBytesInPartialGroup != 0) {
+ int byte0 = a[inCursor++] & 0xff;
+ result.append(intToAlpha[byte0 >> 2]);
+ if (numBytesInPartialGroup == 1) {
+ result.append(intToAlpha[(byte0 << 4) & 0x3f]);
+ result.append("==");
+ } else {
+ // assert numBytesInPartialGroup == 2;
+ int byte1 = a[inCursor++] & 0xff;
+ result.append(intToAlpha[(byte0 << 4)&0x3f | (byte1 >> 4)]);
+ result.append(intToAlpha[(byte1 << 2)&0x3f]);
+ result.append('=');
+ }
+ }
+ // assert inCursor == a.length;
+ // assert result.length() == resultLen;
+ return result.toString();
+ }
+
+ /**
+ * This array is a lookup table that translates 6-bit positive integer
+ * index values into their "Base64 Alphabet" equivalents as specified
+ * in Table 1 of RFC 2045.
+ */
+ private static final char intToBase64[] = {
+ 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M',
+ 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z',
+ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+ 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
+ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/'
+ };
+
+ /**
+ * This array is a lookup table that translates 6-bit positive integer
+ * index values into their "Alternate Base64 Alphabet" equivalents.
+ * This is NOT the real Base64 Alphabet as per in Table 1 of RFC 2045.
+ * This alternate alphabet does not use the capital letters. It is
+ * designed for use in environments where "case folding" occurs.
+ */
+ private static final char intToAltBase64[] = {
+ '!', '"', '#', '$', '%', '&', '\'', '(', ')', ',', '-', '.', ':',
+ ';', '<', '>', '@', '[', ']', '^', '`', '_', '{', '|', '}', '~',
+ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm',
+ 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z',
+ '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '?'
+ };
+
+ /**
+ * Translates the specified Base64 string (as per Preferences.get(byte[]))
+ * into a byte array.
+ *
+ * @throw IllegalArgumentException if <tt>s</tt> is not a valid Base64
+ * string.
+ */
+ static byte[] base64ToByteArray(String s) {
+ return base64ToByteArray(s, false);
+ }
+
+ /**
+ * Translates the specified "aternate representation" Base64 string
+ * into a byte array.
+ *
+ * @throw IllegalArgumentException or ArrayOutOfBoundsException
+ * if <tt>s</tt> is not a valid alternate representation
+ * Base64 string.
+ */
+ static byte[] altBase64ToByteArray(String s) {
+ return base64ToByteArray(s, true);
+ }
+
+ private static byte[] base64ToByteArray(String s, boolean alternate) {
+ byte[] alphaToInt = (alternate ? altBase64ToInt : base64ToInt);
+ int sLen = s.length();
+ int numGroups = sLen/4;
+ if (4*numGroups != sLen)
+ throw new IllegalArgumentException(
+ "String length must be a multiple of four.");
+ int missingBytesInLastGroup = 0;
+ int numFullGroups = numGroups;
+ if (sLen != 0) {
+ if (s.charAt(sLen-1) == '=') {
+ missingBytesInLastGroup++;
+ numFullGroups--;
+ }
+ if (s.charAt(sLen-2) == '=')
+ missingBytesInLastGroup++;
+ }
+ byte[] result = new byte[3*numGroups - missingBytesInLastGroup];
+
+ // Translate all full groups from base64 to byte array elements
+ int inCursor = 0, outCursor = 0;
+ for (int i=0; i<numFullGroups; i++) {
+ int ch0 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ int ch1 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ int ch2 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ int ch3 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ result[outCursor++] = (byte) ((ch0 << 2) | (ch1 >> 4));
+ result[outCursor++] = (byte) ((ch1 << 4) | (ch2 >> 2));
+ result[outCursor++] = (byte) ((ch2 << 6) | ch3);
+ }
+
+ // Translate partial group, if present
+ if (missingBytesInLastGroup != 0) {
+ int ch0 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ int ch1 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ result[outCursor++] = (byte) ((ch0 << 2) | (ch1 >> 4));
+
+ if (missingBytesInLastGroup == 1) {
+ int ch2 = base64toInt(s.charAt(inCursor++), alphaToInt);
+ result[outCursor++] = (byte) ((ch1 << 4) | (ch2 >> 2));
+ }
+ }
+ // assert inCursor == s.length()-missingBytesInLastGroup;
+ // assert outCursor == result.length;
+ return result;
+ }
+
+ /**
+ * Translates the specified character, which is assumed to be in the
+ * "Base 64 Alphabet" into its equivalent 6-bit positive integer.
+ *
+ * @throw IllegalArgumentException or ArrayOutOfBoundsException if
+ * c is not in the Base64 Alphabet.
+ */
+ private static int base64toInt(char c, byte[] alphaToInt) {
+ int result = alphaToInt[c];
+ if (result < 0)
+ throw new IllegalArgumentException("Illegal character " + c);
+ return result;
+ }
+
+ /**
+ * This array is a lookup table that translates unicode characters
+ * drawn from the "Base64 Alphabet" (as specified in Table 1 of RFC 2045)
+ * into their 6-bit positive integer equivalents. Characters that
+ * are not in the Base64 alphabet but fall within the bounds of the
+ * array are translated to -1.
+ */
+ private static final byte base64ToInt[] = {
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, 52, 53, 54,
+ 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, -1, 0, 1, 2, 3, 4,
+ 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
+ 24, 25, -1, -1, -1, -1, -1, -1, 26, 27, 28, 29, 30, 31, 32, 33, 34,
+ 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51
+ };
+
+ /**
+ * This array is the analogue of base64ToInt, but for the nonstandard
+ * variant that avoids the use of uppercase alphabetic characters.
+ */
+ private static final byte altBase64ToInt[] = {
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 0, 1,
+ 2, 3, 4, 5, 6, 7, 8, -1, 62, 9, 10, 11, -1 , 52, 53, 54, 55, 56, 57,
+ 58, 59, 60, 61, 12, 13, 14, -1, 15, 63, 16, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+ -1, -1, -1, 17, -1, 18, 19, 21, 20, 26, 27, 28, 29, 30, 31, 32, 33,
+ 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
+ 51, 22, 23, 24, 25
+ };
+
+}
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/Filter.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/Filter.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/Filter.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,125 @@
+/*
+ * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+
+import java.net.*;
+import java.io.*;
+import java.nio.*;
+import java.nio.channels.*;
+import sun.net.www.MessageHeader;
+import java.util.*;
+
+/**
+ * A filter used to pre- and post-process incoming requests. Pre-processing occurs
+ * before the application's exchange handler is invoked, and post-processing
+ * occurs after the exchange handler returns. Filters
+ * are organised in chains, and are associated with HttpContext instances.
+ * <p>
+ * Each Filter in the chain, invokes the next filter within its own
+ * doFilter() implementation. The final Filter in the chain invokes the applications
+ * exchange handler.
+ * @since 1.6
+ */
+public abstract class Filter {
+
+ protected Filter () {}
+
+ /**
+ * a chain of filters associated with a HttpServer.
+ * Each filter in the chain is given one of these
+ * so it can invoke the next filter in the chain
+ */
+ public static class Chain {
+ /* the last element in the chain must invoke the users
+ * handler
+ */
+ private List<Filter> filters;
+ private ListIterator<Filter> iter;
+ private HttpHandler handler;
+
+ public Chain (List<Filter> filters, HttpHandler handler) {
+ this.filters = filters;
+ iter = filters.listIterator();
+ this.handler = handler;
+ }
+
+ /**
+ * calls the next filter in the chain, or else
+ * the users exchange handler, if this is the
+ * final filter in the chain. The Filter may decide
+ * to terminate the chain, by not calling this method.
+ * In this case, the filter <b>must</b> send the
+ * response to the request, because the application's
+ * exchange handler will not be invoked.
+ * @param exchange the HttpExchange
+ * @throws IOException let exceptions pass up the stack
+ * @throws NullPointerException if exchange is <code>null</code>
+ */
+ public void doFilter (HttpExchange exchange) throws IOException {
+ if (!iter.hasNext()) {
+ handler.handle (exchange);
+ } else {
+ Filter f = iter.next();
+ f.doFilter (exchange, this);
+ }
+ }
+ }
+
+ /**
+ * Asks this filter to pre/post-process the given exchange. The filter
+ * can :-
+ * <ul><li>examine or modify the request headers</li>
+ * <li>filter the request body or the response body, by creating suitable
+ * filter streams and calling
+ * {@link HttpExchange#setStreams(InputStream,OutputStream)}</li>
+ * <li>set attribute Objects in the exchange, which other filters or the
+ * exchange handler can access.</li>
+ * <li>decide to either :-<ol>
+ * <li>invoke the next filter in the chain, by calling
+ * {@link Filter.Chain#doFilter(HttpExchange)}</li>
+ * <li>terminate the chain of invocation, by <b>not</b> calling
+ * {@link Filter.Chain#doFilter(HttpExchange)}</li></ol>
+ * <li>if option 1. above taken, then when doFilter() returns all subsequent
+ * filters in the Chain have been called, and the response headers can be
+ * examined or modified.</li>
+ * <li>if option 2. above taken, then this Filter must use the HttpExchange
+ * to send back an appropriate response</li></ul><p>
+ * @param exchange the <code>HttpExchange</code> to be filtered.
+ * @param chain the Chain which allows the next filter to be invoked.
+ * @throws IOException may be thrown by any filter module, and if
+ * caught, must be rethrown again.
+ * @throws NullPointerException if either exchange or chain are <code>null</code>
+ */
+ public abstract void doFilter (HttpExchange exchange, Chain chain)
+ throws IOException;
+
+ /**
+ * returns a short description of this Filter
+ * @return a string describing the Filter
+ */
+ public abstract String description ();
+
+}
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/Headers.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/Headers.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/Headers.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,187 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+
+import java.util.*;
+import java.io.*;
+
+/**
+ * HTTP request and response headers are represented by this class which implements
+ * the interface {@link java.util.Map}<
+ * {@link java.lang.String},{@link java.util.List}<{@link java.lang.String}>>.
+ * The keys are case-insensitive Strings representing the header names and
+ * the value associated with each key is a {@link List}<{@link String}> with one
+ * element for each occurence of the header name in the request or response.
+ * <p>
+ * For example, if a response header instance contains one key "HeaderName" with two values "value1 and value2"
+ * then this object is output as two header lines:
+ * <blockquote><pre>
+ * HeaderName: value1
+ * HeaderName: value2
+ * </blockquote></pre>
+ * <p>
+ * All the normal {@link java.util.Map} methods are provided, but the following
+ * additional convenience methods are most likely to be used:
+ * <ul>
+ * <li>{@link #getFirst(String)} returns a single valued header or the first value of
+ * a multi-valued header.</li>
+ * <li>{@link #add(String,String)} adds the given header value to the list for the given key</li>
+ * <li>{@link #set(String,String)} sets the given header field to the single value given
+ * overwriting any existing values in the value list.
+ * </ul><p>
+ * All methods in this class accept <code>null</code> values for keys and values. However, null
+ * keys will never will be present in HTTP request headers, and will not be output/sent in response headers.
+ * Null values can be represented as either a null entry for the key (i.e. the list is null) or
+ * where the key has a list, but one (or more) of the list's values is null. Null values are output
+ * as a header line containing the key but no associated value.
+ * @since 1.6
+ */
+public class Headers implements Map<String,List<String>> {
+
+ HashMap<String,List<String>> map;
+
+ public Headers () {map = new HashMap<String,List<String>>(32);}
+
+ /* Normalize the key by converting to following form.
+ * First char upper case, rest lower case.
+ * key is presumed to be ASCII
+ */
+ private String normalize (String key) {
+ if (key == null) {
+ return null;
+ }
+ int len = key.length();
+ if (len == 0) {
+ return key;
+ }
+ char[] b = new char [len];
+ String s = null;
+ b = key.toCharArray();
+ if (b[0] >= 'a' && b[0] <= 'z') {
+ b[0] = (char)(b[0] - ('a' - 'A'));
+ }
+ for (int i=1; i<len; i++) {
+ if (b[i] >= 'A' && b[i] <= 'Z') {
+ b[i] = (char) (b[i] + ('a' - 'A'));
+ }
+ }
+ s = new String (b);
+ return s;
+ }
+
+ public int size() {return map.size();}
+
+ public boolean isEmpty() {return map.isEmpty();}
+
+ public boolean containsKey(Object key) {
+ if (key == null) {
+ return false;
+ }
+ if (!(key instanceof String)) {
+ return false;
+ }
+ return map.containsKey (normalize((String)key));
+ }
+
+ public boolean containsValue(Object value) {
+ return map.containsValue(value);
+ }
+
+ public List<String> get(Object key) {
+ return map.get(normalize((String)key));
+ }
+
+ /**
+ * returns the first value from the List of String values
+ * for the given key (if at least one exists).
+ * @param key the key to search for
+ * @return the first string value associated with the key
+ */
+ public String getFirst (String key) {
+ List<String> l = map.get(normalize((String)key));
+ if (l == null) {
+ return null;
+ }
+ return l.get(0);
+ }
+
+ public List<String> put(String key, List<String> value) {
+ return map.put (normalize(key), value);
+ }
+
+ /**
+ * adds the given value to the list of headers
+ * for the given key. If the mapping does not
+ * already exist, then it is created
+ * @param key the header name
+ * @param value the header value to add to the header
+ */
+ public void add (String key, String value) {
+ String k = normalize(key);
+ List<String> l = map.get(k);
+ if (l == null) {
+ l = new LinkedList<String>();
+ map.put(k,l);
+ }
+ l.add (value);
+ }
+
+ /**
+ * sets the given value as the sole header value
+ * for the given key. If the mapping does not
+ * already exist, then it is created
+ * @param key the header name
+ * @param value the header value to set.
+ */
+ public void set (String key, String value) {
+ LinkedList<String> l = new LinkedList<String>();
+ l.add (value);
+ put (key, l);
+ }
+
+
+ public List<String> remove(Object key) {
+ return map.remove(normalize((String)key));
+ }
+
+ public void putAll(Map<? extends String,? extends List<String>> t) {
+ map.putAll (t);
+ }
+
+ public void clear() {map.clear();}
+
+ public Set<String> keySet() {return map.keySet();}
+
+ public Collection<List<String>> values() {return map.values();}
+
+ public Set<Map.Entry<String, List<String>>> entrySet() {
+ return map.entrySet();
+ }
+
+ public boolean equals(Object o) {return map.equals(o);}
+
+ public int hashCode() {return map.hashCode();}
+ }
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpContext.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpContext.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpContext.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,112 @@
+/*
+ * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+import java.net.*;
+import java.io.*;
+import java.util.*;
+
+/**
+ * HttpContext represents a mapping between the root URI path of an application
+ * to a {@link HttpHandler} which is invoked to handle requests destined
+ * for that path on the associated HttpServer or HttpsServer.
+ * <p>
+ * HttpContext instances are created by the create methods in HttpServer
+ * and HttpsServer
+ * <p>
+ * A chain of {@link Filter} objects can be added to a HttpContext. All exchanges processed by the
+ * context can be pre- and post-processed by each Filter in the chain.
+ * @since 1.6
+ */
+public abstract class HttpContext {
+
+ protected HttpContext () {
+ }
+
+ /**
+ * returns the handler for this context
+ * @return the HttpHandler for this context
+ */
+ public abstract HttpHandler getHandler () ;
+
+ /**
+ * Sets the handler for this context, if not already set.
+ * @param h the handler to set for this context
+ * @throws IllegalArgumentException if this context's handler is already set.
+ * @throws NullPointerException if handler is <code>null</code>
+ */
+ public abstract void setHandler (HttpHandler h) ;
+
+ /**
+ * returns the path this context was created with
+ * @return this context's path
+ */
+ public abstract String getPath() ;
+
+ /**
+ * returns the server this context was created with
+ * @return this context's server
+ */
+ public abstract HttpServer getServer () ;
+
+ /**
+ * returns a mutable Map, which can be used to pass
+ * configuration and other data to Filter modules
+ * and to the context's exchange handler.
+ * <p>
+ * Every attribute stored in this Map will be visible to
+ * every HttpExchange processed by this context
+ */
+ public abstract Map<String,Object> getAttributes() ;
+
+ /**
+ * returns this context's list of Filters. This is the
+ * actual list used by the server when dispatching requests
+ * so modifications to this list immediately affect the
+ * the handling of exchanges.
+ */
+ public abstract List<Filter> getFilters();
+
+ /**
+ * Sets the Authenticator for this HttpContext. Once an authenticator
+ * is establised on a context, all client requests must be
+ * authenticated, and the given object will be invoked to validate each
+ * request. Each call to this method replaces any previous value set.
+ * @param auth the authenticator to set. If <code>null</code> then any
+ * previously set authenticator is removed,
+ * and client authentication will no longer be required.
+ * @return the previous Authenticator, if any set, or <code>null</code>
+ * otherwise.
+ */
+ public abstract Authenticator setAuthenticator (Authenticator auth);
+
+ /**
+ * Returns the currently set Authenticator for this context
+ * if one exists.
+ * @return this HttpContext's Authenticator, or <code>null</code>
+ * if none is set.
+ */
+ public abstract Authenticator getAuthenticator ();
+}
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpExchange.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpExchange.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpExchange.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,265 @@
+/*
+ * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+
+import java.io.*;
+import java.nio.*;
+import java.nio.channels.*;
+import java.net.*;
+import javax.net.ssl.*;
+import java.util.*;
+import sun.net.www.MessageHeader;
+
+/**
+ * This class encapsulates a HTTP request received and a
+ * response to be generated in one exchange. It provides methods
+ * for examining the request from the client, and for building and
+ * sending the response.
+ * <p>
+ * The typical life-cycle of a HttpExchange is shown in the sequence
+ * below.
+ * <ol><li>{@link #getRequestMethod()} to determine the command
+ * <li>{@link #getRequestHeaders()} to examine the request headers (if needed)
+ * <li>{@link #getRequestBody()} returns a {@link java.io.InputStream} for reading the request body.
+ * After reading the request body, the stream is close.
+ * <li>{@link #getResponseHeaders()} to set any response headers, except content-length
+ * <li>{@link #sendResponseHeaders(int,long)} to send the response headers. Must be called before
+ * next step.
+ * <li>{@link #getResponseBody()} to get a {@link java.io.OutputStream} to send the response body.
+ * When the response body has been written, the stream must be closed to terminate the exchange.
+ * </ol>
+ * <b>Terminating exchanges</b>
+ * <br>
+ * Exchanges are terminated when both the request InputStream and response OutputStream are closed.
+ * Closing the OutputStream, implicitly closes the InputStream (if it is not already closed).
+ * However, it is recommended
+ * to consume all the data from the InputStream before closing it.
+ * The convenience method {@link #close()} does all of these tasks.
+ * Closing an exchange without consuming all of the request body is not an error
+ * but may make the underlying TCP connection unusable for following exchanges.
+ * The effect of failing to terminate an exchange is undefined, but will typically
+ * result in resources failing to be freed/reused.
+ * @since 1.6
+ */
+
+public abstract class HttpExchange {
+
+ protected HttpExchange () {
+ }
+
+ /**
+ * Returns an immutable Map containing the HTTP headers that were
+ * included with this request. The keys in this Map will be the header
+ * names, while the values will be a List of Strings containing each value
+ * that was included (either for a header that was listed several times,
+ * or one that accepts a comma-delimited list of values on a single line).
+ * In either of these cases, the values for the header name will be
+ * presented in the order that they were included in the request.
+ * <p>
+ * The keys in Map are case-insensitive.
+ * @return a read-only Map which can be used to access request headers
+ */
+ public abstract Headers getRequestHeaders () ;
+
+ /**
+ * Returns a mutable Map into which the HTTP response headers can be stored
+ * and which will be transmitted as part of this response. The keys in the
+ * Map will be the header names, while the values must be a List of Strings
+ * containing each value that should be included multiple times
+ * (in the order that they should be included).
+ * <p>
+ * The keys in Map are case-insensitive.
+ * @return a writable Map which can be used to set response headers.
+ */
+ public abstract Headers getResponseHeaders () ;
+
+ /**
+ * Get the request URI
+ *
+ * @return the request URI
+ */
+ public abstract URI getRequestURI () ;
+
+ /**
+ * Get the request method
+ * @return the request method
+ */
+ public abstract String getRequestMethod ();
+
+ /**
+ * Get the HttpContext for this exchange
+ * @return the HttpContext
+ */
+ public abstract HttpContext getHttpContext ();
+
+ /**
+ * Ends this exchange by doing the following in sequence:<p><ol>
+ * <li>close the request InputStream, if not already closed<p></li>
+ * <li>close the response OutputStream, if not already closed. </li>
+ * </ol>
+ */
+ public abstract void close () ;
+
+ /**
+ * returns a stream from which the request body can be read.
+ * Multiple calls to this method will return the same stream.
+ * It is recommended that applications should consume (read) all of the
+ * data from this stream before closing it. If a stream is closed
+ * before all data has been read, then the close() call will
+ * read and discard remaining data (up to an implementation specific
+ * number of bytes).
+ * @return the stream from which the request body can be read.
+ */
+ public abstract InputStream getRequestBody () ;
+
+ /**
+ * returns a stream to which the response body must be
+ * written. {@link #sendResponseHeaders(int,long)}) must be called prior to calling
+ * this method. Multiple calls to this method (for the same exchange)
+ * will return the same stream. In order to correctly terminate
+ * each exchange, the output stream must be closed, even if no
+ * response body is being sent.
+ * <p>
+ * Closing this stream implicitly
+ * closes the InputStream returned from {@link #getRequestBody()}
+ * (if it is not already closed).
+ * <P>
+ * If the call to sendResponseHeaders() specified a fixed response
+ * body length, then the exact number of bytes specified in that
+ * call must be written to this stream. If too many bytes are written,
+ * then write() will throw an IOException. If too few bytes are written
+ * then the stream close() will throw an IOException. In both cases,
+ * the exchange is aborted and the underlying TCP connection closed.
+ * @return the stream to which the response body is written
+ */
+ public abstract OutputStream getResponseBody () ;
+
+
+ /**
+ * Starts sending the response back to the client using the current set of response headers
+ * and the numeric response code as specified in this method. The response body length is also specified
+ * as follows. If the response length parameter is greater than zero, this specifies an exact
+ * number of bytes to send and the application must send that exact amount of data.
+ * If the response length parameter is <code>zero</code>, then chunked transfer encoding is
+ * used and an arbitrary amount of data may be sent. The application terminates the
+ * response body by closing the OutputStream. If response length has the value <code>-1</code>
+ * then no response body is being sent.
+ * <p>
+ * If the content-length response header has not already been set then
+ * this is set to the apropriate value depending on the response length parameter.
+ * <p>
+ * This method must be called prior to calling {@link #getResponseBody()}.
+ * @param rCode the response code to send
+ * @param responseLength if > 0, specifies a fixed response body length
+ * and that exact number of bytes must be written
+ * to the stream acquired from getResponseBody(), or else
+ * if equal to 0, then chunked encoding is used,
+ * and an arbitrary number of bytes may be written.
+ * if <= -1, then no response body length is specified and
+ * no response body may be written.
+ * @see HttpExchange#getResponseBody()
+ */
+ public abstract void sendResponseHeaders (int rCode, long responseLength) throws IOException ;
+
+ /**
+ * Returns the address of the remote entity invoking this request
+ * @return the InetSocketAddress of the caller
+ */
+ public abstract InetSocketAddress getRemoteAddress ();
+
+ /**
+ * Returns the response code, if it has already been set
+ * @return the response code, if available. <code>-1</code> if not available yet.
+ */
+ public abstract int getResponseCode ();
+
+ /**
+ * Returns the local address on which the request was received
+ * @return the InetSocketAddress of the local interface
+ */
+ public abstract InetSocketAddress getLocalAddress ();
+
+ /**
+ * Returns the protocol string from the request in the form
+ * <i>protocol/majorVersion.minorVersion</i>. For example,
+ * "HTTP/1.1"
+ * @return the protocol string from the request
+ */
+ public abstract String getProtocol ();
+
+ /**
+ * Filter modules may store arbitrary objects with HttpExchange
+ * instances as an out-of-band communication mechanism. Other Filters
+ * or the exchange handler may then access these objects.
+ * <p>
+ * Each Filter class will document the attributes which they make
+ * available.
+ * @param name the name of the attribute to retrieve
+ * @return the attribute object, or null if it does not exist
+ * @throws NullPointerException if name is <code>null</code>
+ */
+ public abstract Object getAttribute (String name) ;
+
+ /**
+ * Filter modules may store arbitrary objects with HttpExchange
+ * instances as an out-of-band communication mechanism. Other Filters
+ * or the exchange handler may then access these objects.
+ * <p>
+ * Each Filter class will document the attributes which they make
+ * available.
+ * @param name the name to associate with the attribute value
+ * @param value the object to store as the attribute value. <code>null</code>
+ * value is permitted.
+ * @throws NullPointerException if name is <code>null</code>
+ */
+ public abstract void setAttribute (String name, Object value) ;
+
+ /**
+ * Used by Filters to wrap either (or both) of this exchange's InputStream
+ * and OutputStream, with the given filtered streams so
+ * that subsequent calls to {@link #getRequestBody()} will
+ * return the given {@link java.io.InputStream}, and calls to
+ * {@link #getResponseBody()} will return the given
+ * {@link java.io.OutputStream}. The streams provided to this
+ * call must wrap the original streams, and may be (but are not
+ * required to be) sub-classes of {@link java.io.FilterInputStream}
+ * and {@link java.io.FilterOutputStream}.
+ * @param i the filtered input stream to set as this object's inputstream,
+ * or <code>null</code> if no change.
+ * @param o the filtered output stream to set as this object's outputstream,
+ * or <code>null</code> if no change.
+ */
+ public abstract void setStreams (InputStream i, OutputStream o);
+
+
+ /**
+ * If an authenticator is set on the HttpContext that owns this exchange,
+ * then this method will return the {@link HttpPrincipal} that represents
+ * the authenticated user for this HttpExchange.
+ * @return the HttpPrincipal, or <code>null</code> if no authenticator is set.
+ */
+ public abstract HttpPrincipal getPrincipal ();
+}
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpHandler.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpHandler.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpHandler.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+
+import java.io.IOException;
+
+/**
+ * A handler which is invoked to process HTTP exchanges. Each
+ * HTTP exchange is handled by one of these handlers.
+ * @since 1.6
+ */
+public interface HttpHandler {
+ /**
+ * Handle the given request and generate an appropriate response.
+ * See {@link HttpExchange} for a description of the steps
+ * involved in handling an exchange.
+ * @param exchange the exchange containing the request from the
+ * client and used to send the response
+ * @throws NullPointerException if exchange is <code>null</code>
+ */
+ public abstract void handle (HttpExchange exchange) throws IOException;
+}
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpPrincipal.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpPrincipal.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpPrincipal.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,105 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+import java.net.*;
+import java.io.*;
+import java.util.*;
+import java.security.Principal;
+
+/**
+ * Represents a user authenticated by HTTP Basic or Digest
+ * authentication.
+ */
+public class HttpPrincipal implements Principal {
+ private String username, realm;
+
+ /**
+ * creates a HttpPrincipal from the given username and realm
+ * @param username The name of the user within the realm
+ * @param realm The realm.
+ * @throws NullPointerException if either username or realm are null
+ */
+ public HttpPrincipal (String username, String realm) {
+ if (username == null || realm == null) {
+ throw new NullPointerException();
+ }
+ this.username = username;
+ this.realm = realm;
+ }
+
+ /**
+ * Compares two HttpPrincipal. Returns <code>true</code>
+ * if <i>another</i> is an instance of HttpPrincipal, and its
+ * username and realm are equal to this object's username
+ * and realm. Returns <code>false</code> otherwise.
+ */
+ public boolean equals (Object another) {
+ if (!(another instanceof HttpPrincipal)) {
+ return false;
+ }
+ HttpPrincipal theother = (HttpPrincipal)another;
+ return (username.equals(theother.username) &&
+ realm.equals(theother.realm));
+ }
+
+ /**
+ * returns the contents of this principal in the form
+ * <i>realm:username</i>
+ */
+ public String getName() {
+ return username;
+ }
+
+ /**
+ * returns the username this object was created with.
+ */
+ public String getUsername() {
+ return username;
+ }
+
+ /**
+ * returns the realm this object was created with.
+ */
+ public String getRealm() {
+ return realm;
+ }
+
+ /**
+ * returns a hashcode for this HttpPrincipal. This is calculated
+ * as <code>(getUsername()+getRealm().hashCode()</code>
+ */
+ public int hashCode() {
+ return (username+realm).hashCode();
+ }
+
+ /**
+ * returns the same string as getName()
+ */
+ public String toString() {
+ return getName();
+ }
+}
+
Added: trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpServer.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpServer.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/net/httpserver/HttpServer.java 2007-06-25 08:14:00 UTC (rev 3303)
@@ -0,0 +1,254 @@
+/*
+ * Copyright 2005-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.net.httpserver;
+
+import java.net.*;
+import java.io.*;
+import java.nio.*;
+import java.security.*;
+import java.nio.channels.*;
+import java.util.*;
+import java.util.concurrent.*;
+import javax.net.ssl.*;
+import com.sun.net.httpserver.spi.HttpServerProvider;
+
+/**
+ * This class implements a simple HTTP server. A HttpServer is bound to an IP address
+ * and port number and listens for incoming TCP connections from clients on this address.
+ * The sub-class {@link HttpsServer} implements a server which handles HTTPS requests.
+ * <p>
+ * One or more {@link HttpHandler} objects must be associated with a server
+ * in order to process requests. Each such HttpHandler is registered
+ * with a root URI path which represents the
+ * location of the application or service on this server. The mapping of a handler
+ * to a HttpServer is encapsulated by a {@link HttpContext} object. HttpContexts
+ * are created by calling {@link #createContext(String,HttpHandler)}.
+ * Any request for which no handler can be found is rejected with a 404 response.
+ * Management of threads can be done external to this object by providing a
+ * {@link java.util.concurrent.Executor} object. If none is provided a default
+ * implementation is used.
+ * <p>
+ * <a name="mapping_description"></a>
+ * <b>Mapping request URIs to HttpContext paths</b><p>
+ * When a HTTP request is received,
+ * the appropriate HttpContext (and handler) is located by finding the context
+ * whose path is the longest matching prefix of the request URI's path.
+ * Paths are matched literally, which means that the strings are compared
+ * case sensitively, and with no conversion to or from any encoded forms.
+ * For example. Given a HttpServer with the following HttpContexts configured.<p>
+ * <table >
+ * <tr><td><i>Context</i></td><td><i>Context path</i></td></tr>
+ * <tr><td>ctx1</td><td>"/"</td></tr>
+ * <tr><td>ctx2</td><td>"/apps/"</td></tr>
+ * <tr><td>ctx3</td><td>"/apps/foo/"</td></tr>
+ * </table>
+ * <p>
+ * the following table shows some request URIs and which, if any context they would
+ * match with.<p>
+ * <table>
+ * <tr><td><i>Request URI</i></td><td><i>Matches context</i></td></tr>
+ * <tr><td>"http://foo.com/apps/foo/bar"</td><td>ctx3</td></tr>
+ * <tr><td>"http://foo.com/apps/Foo/bar"</td><td>no match, wrong case</td></tr>
+ * <tr><td>"http://foo.com/apps/app1"</td><td>ctx2</td></tr>
+ * <tr><td>"http://foo.com/foo"</td><td>ctx1</td></tr>
+ * </table>
+ * <p>
+ * <b>Note about socket backlogs</b><p>
+ * When binding to an address and port number, the application can also specify an integer
+ * <i>backlog</i> parameter. This represents the maximum number of incoming TCP connections
+ * which the system will queue internally. Connections are queued while they are waiting to
+ * be accepted by the HttpServer. When the limit is reached, further connections may be
+ * rejected (or possibly ignored...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 08:10:00
|
Revision: 3302
http://jnode.svn.sourceforge.net/jnode/?rev=3302&view=rev
Author: lsantha
Date: 2007-06-25 01:09:55 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/inputmethods/
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/DevanagariInputMethodDescriptor.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/DevanagariTables.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/IndicInputMethod.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/IndicInputMethodImpl.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/java.awt.im.spi.InputMethodDescriptor
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_de.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_es.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_fr.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_it.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_ja.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_ko.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_sv.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_zh_CN.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/indicim/resources/DisplayNames_zh_TW.properties
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/ThaiInputMethod.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/ThaiInputMethodDescriptor.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/ThaiInputMethodImpl.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/ThaiRules.java
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/java.awt.im.spi.InputMethodDescriptor
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/resources/
trunk/core/src/openjdk/com/com/sun/inputmethods/internal/thaiim/resources/DisplayNames.properties
trunk/core/src/openjdk/com/com/sun/istack/
trunk/core/src/openjdk/com/com/sun/istack/internal/
trunk/core/src/openjdk/com/com/sun/istack/internal/ByteArrayDataSource.java
trunk/core/src/openjdk/com/com/sun/istack/internal/FinalArrayList.java
trunk/core/src/openjdk/com/com/sun/istack/internal/FragmentContentHandler.java
trunk/core/src/openjdk/com/com/sun/istack/internal/Interned.java
trunk/core/src/openjdk/com/com/sun/istack/internal/NotNull.java
trunk/core/src/openjdk/com/com/sun/istack/internal/Nullable.java
trunk/core/src/openjdk/com/com/sun/istack/internal/Pool.java
trunk/core/src/openjdk/com/com/sun/istack/internal/SAXException2.java
trunk/core/src/openjdk/com/com/sun/istack/internal/SAXParseException2.java
trunk/core/src/openjdk/com/com/sun/istack/internal/package-info.java
trunk/core/src/openjdk/com/com/sun/istack/internal/tools/
trunk/core/src/openjdk/com/com/sun/istack/internal/tools/APTTypeVisitor.java
trunk/core/src/openjdk/com/com/sun/istack/internal/tools/package-info.java
trunk/core/src/openjdk/com/com/sun/istack/internal/ws/
trunk/core/src/openjdk/com/com/sun/istack/internal/ws/AnnotationProcessorFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/istack/internal/ws/package-info.java
trunk/core/src/openjdk/com/com/sun/jarsigner/
trunk/core/src/openjdk/com/com/sun/jarsigner/ContentSigner.java
trunk/core/src/openjdk/com/com/sun/jarsigner/ContentSignerParameters.java
trunk/core/src/openjdk/com/com/sun/jarsigner/package.html
trunk/core/src/openjdk/com/com/sun/java_cup/
trunk/core/src/openjdk/com/com/sun/java_cup/internal/
trunk/core/src/openjdk/com/com/sun/java_cup/internal/runtime/
trunk/core/src/openjdk/com/com/sun/java_cup/internal/runtime/Scanner.java
trunk/core/src/openjdk/com/com/sun/java_cup/internal/runtime/Symbol.java
trunk/core/src/openjdk/com/com/sun/java_cup/internal/runtime/lr_parser.java
trunk/core/src/openjdk/com/com/sun/java_cup/internal/runtime/virtual_parse_stack.java
trunk/core/src/openjdk/com/com/sun/javadoc/
trunk/core/src/openjdk/com/com/sun/javadoc/AnnotationDesc.java
trunk/core/src/openjdk/com/com/sun/javadoc/AnnotationTypeDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/AnnotationTypeElementDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/AnnotationValue.java
trunk/core/src/openjdk/com/com/sun/javadoc/ClassDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/ConstructorDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/Doc.java
trunk/core/src/openjdk/com/com/sun/javadoc/DocErrorReporter.java
trunk/core/src/openjdk/com/com/sun/javadoc/Doclet.java
trunk/core/src/openjdk/com/com/sun/javadoc/ExecutableMemberDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/FieldDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/LanguageVersion.java
trunk/core/src/openjdk/com/com/sun/javadoc/MemberDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/MethodDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/PackageDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/ParamTag.java
trunk/core/src/openjdk/com/com/sun/javadoc/Parameter.java
trunk/core/src/openjdk/com/com/sun/javadoc/ParameterizedType.java
trunk/core/src/openjdk/com/com/sun/javadoc/ProgramElementDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/RootDoc.java
trunk/core/src/openjdk/com/com/sun/javadoc/SeeTag.java
trunk/core/src/openjdk/com/com/sun/javadoc/SerialFieldTag.java
trunk/core/src/openjdk/com/com/sun/javadoc/SourcePosition.java
trunk/core/src/openjdk/com/com/sun/javadoc/Tag.java
trunk/core/src/openjdk/com/com/sun/javadoc/ThrowsTag.java
trunk/core/src/openjdk/com/com/sun/javadoc/Type.java
trunk/core/src/openjdk/com/com/sun/javadoc/TypeVariable.java
trunk/core/src/openjdk/com/com/sun/javadoc/WildcardType.java
trunk/core/src/openjdk/com/com/sun/javadoc/package.html
trunk/core/src/openjdk/com/com/sun/pept/
trunk/core/src/openjdk/com/com/sun/pept/Delegate.java
trunk/core/src/openjdk/com/com/sun/pept/encoding/
trunk/core/src/openjdk/com/com/sun/pept/encoding/Decoder.java
trunk/core/src/openjdk/com/com/sun/pept/encoding/Encoder.java
trunk/core/src/openjdk/com/com/sun/pept/ept/
trunk/core/src/openjdk/com/com/sun/pept/ept/Acceptor.java
trunk/core/src/openjdk/com/com/sun/pept/ept/ContactInfo.java
trunk/core/src/openjdk/com/com/sun/pept/ept/ContactInfoList.java
trunk/core/src/openjdk/com/com/sun/pept/ept/ContactInfoListIterator.java
trunk/core/src/openjdk/com/com/sun/pept/ept/EPTFactory.java
trunk/core/src/openjdk/com/com/sun/pept/ept/MessageInfo.java
trunk/core/src/openjdk/com/com/sun/pept/presentation/
trunk/core/src/openjdk/com/com/sun/pept/presentation/MessageStruct.java
trunk/core/src/openjdk/com/com/sun/pept/presentation/Stub.java
trunk/core/src/openjdk/com/com/sun/pept/presentation/TargetFinder.java
trunk/core/src/openjdk/com/com/sun/pept/presentation/Tie.java
trunk/core/src/openjdk/com/com/sun/pept/protocol/
trunk/core/src/openjdk/com/com/sun/pept/protocol/Interceptors.java
trunk/core/src/openjdk/com/com/sun/pept/protocol/MessageDispatcher.java
trunk/core/src/openjdk/com/com/sun/pept/transport/
trunk/core/src/openjdk/com/com/sun/pept/transport/Connection.java
trunk/core/src/openjdk/com/com/sun/rmi/
trunk/core/src/openjdk/com/com/sun/rmi/rmid/
trunk/core/src/openjdk/com/com/sun/rmi/rmid/ExecOptionPermission.java
trunk/core/src/openjdk/com/com/sun/rmi/rmid/ExecPermission.java
trunk/core/src/openjdk/com/com/sun/security/
trunk/core/src/openjdk/com/com/sun/security/auth/
trunk/core/src/openjdk/com/com/sun/security/auth/LdapPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTDomainPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTNumericCredential.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTSid.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTSidDomainPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTSidGroupPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTSidPrimaryGroupPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTSidUserPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/NTUserPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/PolicyFile.java
trunk/core/src/openjdk/com/com/sun/security/auth/PolicyParser.java
trunk/core/src/openjdk/com/com/sun/security/auth/PrincipalComparator.java
trunk/core/src/openjdk/com/com/sun/security/auth/SolarisNumericGroupPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/SolarisNumericUserPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/SolarisPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/SubjectCodeSource.java
trunk/core/src/openjdk/com/com/sun/security/auth/UnixNumericGroupPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/UnixNumericUserPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/UnixPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/UserPrincipal.java
trunk/core/src/openjdk/com/com/sun/security/auth/X500Principal.java
trunk/core/src/openjdk/com/com/sun/security/auth/callback/
trunk/core/src/openjdk/com/com/sun/security/auth/callback/DialogCallbackHandler.java
trunk/core/src/openjdk/com/com/sun/security/auth/callback/TextCallbackHandler.java
trunk/core/src/openjdk/com/com/sun/security/auth/jaas-overview.html
trunk/core/src/openjdk/com/com/sun/security/auth/login/
trunk/core/src/openjdk/com/com/sun/security/auth/login/ConfigFile.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/
trunk/core/src/openjdk/com/com/sun/security/auth/module/Crypt.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/JndiLoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/KeyStoreLoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/Krb5LoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/LdapLoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/NTLoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/NTSystem.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/SolarisLoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/SolarisSystem.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/UnixLoginModule.java
trunk/core/src/openjdk/com/com/sun/security/auth/module/UnixSystem.java
trunk/core/src/openjdk/com/com/sun/security/cert/
trunk/core/src/openjdk/com/com/sun/security/cert/internal/
trunk/core/src/openjdk/com/com/sun/security/cert/internal/x509/
trunk/core/src/openjdk/com/com/sun/security/cert/internal/x509/X509V1CertImpl.java
trunk/core/src/openjdk/com/com/sun/security/jgss/
trunk/core/src/openjdk/com/com/sun/security/jgss/GSSUtil.java
trunk/core/src/openjdk/com/com/sun/security/jgss/jgss-overview.html
trunk/core/src/openjdk/com/com/sun/security/sasl/
trunk/core/src/openjdk/com/com/sun/security/sasl/ClientFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/security/sasl/CramMD5Base.java
trunk/core/src/openjdk/com/com/sun/security/sasl/CramMD5Client.java
trunk/core/src/openjdk/com/com/sun/security/sasl/CramMD5Server.java
trunk/core/src/openjdk/com/com/sun/security/sasl/ExternalClient.java
trunk/core/src/openjdk/com/com/sun/security/sasl/PlainClient.java
trunk/core/src/openjdk/com/com/sun/security/sasl/Provider.java
trunk/core/src/openjdk/com/com/sun/security/sasl/ServerFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/security/sasl/digest/
trunk/core/src/openjdk/com/com/sun/security/sasl/digest/DigestMD5Base.java
trunk/core/src/openjdk/com/com/sun/security/sasl/digest/DigestMD5Client.java
trunk/core/src/openjdk/com/com/sun/security/sasl/digest/DigestMD5Server.java
trunk/core/src/openjdk/com/com/sun/security/sasl/digest/FactoryImpl.java
trunk/core/src/openjdk/com/com/sun/security/sasl/digest/SecurityCtx.java
trunk/core/src/openjdk/com/com/sun/security/sasl/gsskerb/
trunk/core/src/openjdk/com/com/sun/security/sasl/gsskerb/FactoryImpl.java
trunk/core/src/openjdk/com/com/sun/security/sasl/gsskerb/GssKrb5Base.java
trunk/core/src/openjdk/com/com/sun/security/sasl/gsskerb/GssKrb5Client.java
trunk/core/src/openjdk/com/com/sun/security/sasl/gsskerb/GssKrb5Server.java
trunk/core/src/openjdk/com/com/sun/security/sasl/util/
trunk/core/src/openjdk/com/com/sun/security/sasl/util/AbstractSaslImpl.java
trunk/core/src/openjdk/com/com/sun/security/sasl/util/PolicyUtils.java
trunk/core/src/openjdk/com/com/sun/xml/
trunk/core/src/openjdk/com/com/sun/xml/internal/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/DatatypeConverterImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/IDResolver.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/Locatable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/Util.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/ValidationEventLocatorEx.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/WhiteSpaceProcessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/annotation/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/annotation/XmlIsSet.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/annotation/XmlLocation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/AccessorException.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/Bridge.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/BridgeContext.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/CompositeStructure.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/JAXBRIContext.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/RawAccessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/TypeReference.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/impl/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/impl/NameConverter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/impl/NameUtil.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/api/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/CharacterEscapeHandler.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/DataWriter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/DumbEscapeHandler.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/MinimumEscapeHandler.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/NamespacePrefixMapper.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/NioEscapeHandler.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/SAX2DOMEx.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/marshaller/XMLWriter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/unmarshaller/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/unmarshaller/DOMScanner.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/unmarshaller/InfosetScanner.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/unmarshaller/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/unmarshaller/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/unmarshaller/Patcher.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/util/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/util/AttributesImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/util/ValidationEventLocatorExImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/util/Which.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/ClassFactory.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/ContextFactory.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/TODO.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/WellKnownNamespace.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/bytecode/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/bytecode/ClassTailor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/bytecode/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/doc-files/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/doc-files/packages.png
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/doc-files/packages.vsd
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/doc-files/readme.txt
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/AbstractInlineAnnotationReaderImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/AnnotationReader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/AnnotationSource.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/ClassLocatable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/FieldLocatable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/Init.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/Locatable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/LocatableAnnotation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/MethodLocatable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/Quick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/RuntimeAnnotationReader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/RuntimeInlineAnnotationReader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlAttributeQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlElementDeclQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlElementQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlElementRefQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlElementRefsQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlEnumQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlRootElementQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlSchemaQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlTransientQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlTypeQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/XmlValueQuick.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/annotation/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/Adapter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ArrayInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/AttributePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/BuiltinLeafInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ClassInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/Element.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ElementInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ElementPropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/EnumConstant.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/EnumLeafInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ErrorHandler.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ID.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/LeafInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/MapPropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/MaybeElement.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/NonElement.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/NonElementRef.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/PropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/PropertyKind.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/Ref.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ReferencePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/RegistryInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/TypeInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/TypeInfoSet.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/TypeRef.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/ValuePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/WildcardMode.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/WildcardTypeInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/core/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/AnyTypeImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ArrayInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/AttributePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/BuiltinLeafInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ClassInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ERPropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ElementInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ElementPropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/EnumConstantImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/EnumLeafInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/FieldPropertySeed.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/GetterSetterPropertySeed.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/LeafInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/MapPropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ModelBuilder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/PropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/PropertySeed.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ReferencePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RegistryInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeAnyTypeImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeArrayInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeAttributePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeBuiltinLeafInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeClassInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeElementInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeElementPropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeEnumConstantImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeEnumLeafInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeMapPropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeModelBuilder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeReferencePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeTypeInfoSetImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeTypeRefImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/RuntimeValuePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/SingleTypePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/TypeInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/TypeInfoSetImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/TypeRefImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/Util.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/ValuePropertyInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/impl/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/GenericArrayTypeImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/Navigator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/ParameterizedTypeImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/ReflectionNavigator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/TypeVisitor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/WildcardTypeImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/nav/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeArrayInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeAttributePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeBuiltinLeafInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeClassInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeElement.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeElementInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeElementPropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeEnumLeafInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeLeafInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeMapPropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeNonElement.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeNonElementRef.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeReferencePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeInfoSet.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeTypeRef.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/RuntimeValuePropertyInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/model/runtime/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/AnyTypeBeanInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/ArrayBeanInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/AssociationMap.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/BinderImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/BridgeAdapter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/BridgeContextImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/BridgeImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/ClassBeanInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/CompositeStructureBeanInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/ContentHandlerAdaptor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/Coordinator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/DomPostInitAction.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/ElementBeanInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/FilterTransducer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/IllegalAnnotationException.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/IllegalAnnotationsException.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/InlineBinaryTransducer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/InternalBridge.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/JAXBContextImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/JaxBeanInfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/LeafBeanInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/LifecycleMethods.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/Location.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/MarshallerImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/MimeTypedTransducer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/Name.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/NameBuilder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/NameList.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/NamespaceContext2.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/RuntimeUtil.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/SchemaTypeTransducer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/StAXPostInitAction.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/SwaRefAdapter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/Transducer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/ValueListBeanInfoImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/XMLSerializer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/C14nXmlOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/DOMOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/Encoded.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/FastInfosetStreamWriterOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/ForkXmlOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/InPlaceDOMOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/IndentingUTF8XmlOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/MTOMXmlOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/NamespaceContextImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/Pcdata.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/SAXOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/UTF8XmlOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/XMLEventWriterOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/XMLStreamWriterOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/XmlOutput.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/XmlOutputAbstractImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/output/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ArrayERProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ArrayElementLeafProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ArrayElementNodeProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ArrayElementProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ArrayProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ArrayReferenceNodeProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/AttributeProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ListElementProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/Property.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/PropertyFactory.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/PropertyImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/SingleElementLeafProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/SingleElementNodeProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/SingleMapNodeProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/SingleReferenceNodeProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/StructureLoaderBuilder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/TagAndType.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/UnmarshallerChain.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/property/ValueProperty.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/Accessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/AdaptedAccessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/AdaptedLister.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/DefaultTransducedAccessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/ListIterator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/ListTransducedAccessorImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/Lister.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/NullSafeAccessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerBoolean.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerByte.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerCharacter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerDouble.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerFloat.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerInteger.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerLong.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/PrimitiveArrayListerShort.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/TransducedAccessor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/AccessorInjector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/Bean.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/Const.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Boolean.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Byte.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Character.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Double.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Float.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Integer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Long.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Ref.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/FieldAccessor_Short.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/Injector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Boolean.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Byte.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Character.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Double.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Float.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Integer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Long.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Ref.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/MethodAccessor_Short.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/OptimizedAccessorFactory.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/OptimizedTransducedAccessorFactory.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/Ref.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Boolean.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Byte.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Double.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Float.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Integer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Long.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_field_Short.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Boolean.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Byte.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Double.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Float.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Integer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Long.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/TransducedAccessor_method_Short.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/opt/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/reflect/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/AttributesEx.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/AttributesExImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Base64Data.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ChildLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/DefaultIDResolver.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/DefaultValueLoaderDecorator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Discarder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/DomLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/FastInfosetConnector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/IntArrayData.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/IntData.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Intercepter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/InterningXmlVisitor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/LeafPropertyLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Loader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/LocatorEx.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/LocatorExWrapper.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/MTOMDecorator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Messages.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Patcher.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ProxyLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Receiver.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/SAXConnector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/Scope.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXConnector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXEventConnector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StAXStreamConnector.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/StructureLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/TagName.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/TextLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/UnmarshallerImpl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/UnmarshallingContext.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ValidatingUnmarshaller.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/ValuePropertyLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/WildcardLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/XmlVisitor.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/XsiNilLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/runtime/unmarshaller/XsiTypeLoader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/FoolProofResolver.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/Form.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/MultiMap.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/Util.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/XmlSchemaGenerator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Annotated.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Annotation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Any.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Appinfo.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/AttrDecls.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/AttributeType.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ComplexContent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ComplexExtension.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ComplexRestriction.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ComplexType.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ComplexTypeHost.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ComplexTypeModel.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Documentation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Element.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ExplicitGroup.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/ExtensionType.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/FixedOrDefault.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Import.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/List.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/LocalAttribute.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/LocalElement.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/NestedParticle.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/NoFixedFacet.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Occurs.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Redefinable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Schema.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SchemaTop.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleContent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleDerivation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleExtension.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleRestriction.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleRestrictionModel.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleType.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/SimpleTypeHost.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/TopLevelAttribute.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/TopLevelElement.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/TypeDefParticle.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/TypeHost.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Union.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/Wildcard.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/package-info.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/schemagen/xmlschema/xmlschema-for-jaxb.rng
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/ByteArrayOutputStreamEx.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/CollisionCheckStack.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/DataSourceSource.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/EditDistance.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/FatalAdapter.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/FlattenIterator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/bind/v2/util/QNameMap.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/DTDEventListener.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/DTDHandlerBase.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/DTDParser.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/EndOfInputException.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/EntityDecl.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/ExternalEntity.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/InputEntity.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/InternalEntity.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/MessageCatalog.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/Resolver.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/SimpleHashtable.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/XmlChars.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/XmlNames.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/XmlReader.java
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/package.html
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/resources/
trunk/core/src/openjdk/com/com/sun/xml/internal/dtdparser/resources/Messages.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/AbstractResourceBundle.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/CommonResourceBundle.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/Decoder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/DecoderStateTables.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/Encoder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/EncodingConstants.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/Notation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/QualifiedName.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/UnparsedEntity.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/BASE64EncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/BooleanEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithmFactory.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/BuiltInEncodingAlgorithmState.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/DoubleEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/FloatEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/HexadecimalEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/IEEE754FloatingPointEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/IntEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/IntegerEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/LongEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/ShortEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/algorithm/UUIDEncodingAlgorithm.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/alphabet/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/alphabet/BuiltInRestrictedAlphabets.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/dom/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/dom/DOMDocumentParser.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/dom/DOMDocumentSerializer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/org/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/org/apache/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/org/apache/xerces/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/org/apache/xerces/util/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/org/apache/xerces/util/XMLChar.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/resources/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/resources/ResourceBundle.properties
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/AttributesHolder.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/Features.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/Properties.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/SAXDocumentParser.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/SAXDocumentSerializer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/sax/SystemIdResolver.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/EventLocation.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/StAXDocumentParser.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/StAXDocumentSerializer.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/StAXManager.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/AttributeBase.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/CharactersEvent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/CommentEvent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/DTDEvent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/EmptyIterator.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/EndDocumentEvent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/EndElementEvent.java
trunk/core/src/openjdk/com/com/sun/xml/internal/fastinfoset/stax/events/EntityDeclarationImpl.java
trunk/core/src/openjdk/...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 07:44:51
|
Revision: 3301
http://jnode.svn.sourceforge.net/jnode/?rev=3301&view=rev
Author: lsantha
Date: 2007-06-25 00:44:50 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/imageio/
trunk/core/src/openjdk/com/com/sun/imageio/metadata/
trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlChars.java
trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlNames.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPConstants.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageReader.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageReaderSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageWriter.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageWriterSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPMetadataFormat.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPMetadataFormatResources.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/BitFile.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/BogusColorSpace.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/I18N.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/I18NImpl.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/ImageUtil.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/InputStreamAdapter.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/LZWCompressor.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/LZWStringTable.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/PaletteBuilder.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/ReaderUtil.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/StandardMetadataFormat.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/StandardMetadataFormatResources.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/SubImageInputStream.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/common/iio-plugin.properties
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageMetadataFormat.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageMetadataFormatResources.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageReader.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageReaderSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageWriter.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFImageWriterSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFStreamMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFStreamMetadataFormat.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFStreamMetadataFormatResources.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFWritableImageMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/gif/GIFWritableStreamMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGImageReader.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGImageReaderSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGImageWriter.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGImageWriterSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGMetadataFormat.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/PNGMetadataFormatResources.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/png/RowFilter.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/WBMPImageReader.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/WBMPImageReaderSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/WBMPImageWriter.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/WBMPImageWriterSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/WBMPMetadata.java
trunk/core/src/openjdk/com/com/sun/imageio/plugins/wbmp/WBMPMetadataFormat.java
trunk/core/src/openjdk/com/com/sun/imageio/spi/
trunk/core/src/openjdk/com/com/sun/imageio/spi/FileImageInputStreamSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/spi/FileImageOutputStreamSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/spi/InputStreamImageInputStreamSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/spi/OutputStreamImageOutputStreamSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/spi/RAFImageInputStreamSpi.java
trunk/core/src/openjdk/com/com/sun/imageio/spi/RAFImageOutputStreamSpi.java
Added: trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlChars.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlChars.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlChars.java 2007-06-25 07:44:50 UTC (rev 3301)
@@ -0,0 +1,431 @@
+/*
+ * reserved comment block
+ * DO NOT REMOVE OR ALTER!
+ */
+/*
+ * $Id: XmlChars.java,v 1.1.1.1 2000/11/23 01:53:35 edwingo Exp $
+ *
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Crimson" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact ap...@ap....
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Sun Microsystems, Inc.,
+ * http://www.sun.com. For more information on the Apache Software
+ * Foundation, please see <http://www.apache.org/>.
+ */
+
+package com.sun.imageio.metadata;
+
+
+/**
+ * Methods in this class are used to determine whether characters may
+ * appear in certain roles in XML documents. Such methods are used
+ * both to parse and to create such documents.
+ *
+ * @version 1.8
+ * @author David Brownell
+ */
+public class XmlChars
+{
+ // can't construct instances
+ private XmlChars () { }
+
+ /**
+ * Returns true if the argument, a UCS-4 character code, is valid in
+ * XML documents. Unicode characters fit into the low sixteen
+ * bits of a UCS-4 character, and pairs of Unicode <em>surrogate
+ * characters</em> can be combined to encode UCS-4 characters in
+ * documents containing only Unicode. (The <code>char</code> datatype
+ * in the Java Programming Language represents Unicode characters,
+ * including unpaired surrogates.)
+ *
+ * <P> In XML, UCS-4 characters can also be encoded by the use of
+ * <em>character references</em> such as <b>&#x12345678;</b>, which
+ * happens to refer to a character that is disallowed in XML documents.
+ * UCS-4 characters allowed in XML documents can be expressed with
+ * one or two Unicode characters.
+ *
+ * @param ucs4char The 32-bit UCS-4 character being tested.
+ */
+ static public boolean isChar (int ucs4char)
+ {
+ // [2] Char ::= #x0009 | #x000A | #x000D
+ // | [#x0020-#xD7FF]
+ // ... surrogates excluded!
+ // | [#xE000-#xFFFD]
+ // | [#x10000-#x10ffff]
+ return ((ucs4char >= 0x0020 && ucs4char <= 0xD7FF)
+ || ucs4char == 0x000A || ucs4char == 0x0009
+ || ucs4char == 0x000D
+ || (ucs4char >= 0xE000 && ucs4char <= 0xFFFD)
+ || (ucs4char >= 0x10000 && ucs4char <= 0x10ffff));
+ }
+
+ /**
+ * Returns true if the character is allowed to be a non-initial
+ * character in names according to the XML recommendation.
+ * @see #isNCNameChar
+ * @see #isLetter
+ */
+ public static boolean isNameChar (char c)
+ {
+ // [4] NameChar ::= Letter | Digit | '.' | '_' | ':'
+ // | CombiningChar | Extender
+
+ if (isLetter2 (c))
+ return true;
+ else if (c == '>')
+ return false;
+ else if (c == '.' || c == '-' || c == '_' || c == ':'
+ || isExtender (c))
+ return true;
+ else
+ return false;
+ }
+
+ /**
+ * Returns true if the character is allowed to be a non-initial
+ * character in unscoped names according to the rules of the XML
+ * Namespaces proposed recommendation. Except for precluding
+ * the colon (used to separate names from their scopes) these
+ * characters are just as allowed by the XML recommendation.
+ * @see #isNameChar
+ * @see #isLetter
+ */
+ public static boolean isNCNameChar (char c)
+ {
+ // [NC 5] NCNameChar ::= Letter | Digit | '.' | '_'
+ // | CombiningChar | Extender
+ return c != ':' && isNameChar (c);
+ }
+
+ /**
+ * Returns true if the character is allowed where XML supports
+ * whitespace characters, false otherwise.
+ */
+ public static boolean isSpace (char c)
+ {
+ return c == ' ' || c == '\t' || c == '\n' || c == '\r';
+ }
+
+
+ /*
+ * NOTE: java.lang.Character.getType() values are:
+ *
+ * UNASSIGNED = 0,
+ *
+ * UPPERCASE_LETTER = 1, // Lu
+ * LOWERCASE_LETTER = 2, // Ll
+ * TITLECASE_LETTER = 3, // Lt
+ * MODIFIER_LETTER = 4, // Lm
+ * OTHER_LETTER = 5, // Lo
+ * NON_SPACING_MARK = 6, // Mn
+ * ENCLOSING_MARK = 7, // Me
+ * COMBINING_SPACING_MARK = 8, // Mc
+ * DECIMAL_DIGIT_NUMBER = 9, // Nd
+ * LETTER_NUMBER = 10, // Nl
+ * OTHER_NUMBER = 11, // No
+ * SPACE_SEPARATOR = 12, // Zs
+ * LINE_SEPARATOR = 13, // Zl
+ * PARAGRAPH_SEPARATOR = 14, // Zp
+ * CONTROL = 15, // Cc
+ * FORMAT = 16, // Cf
+ * // 17 reserved for proposed Ci category
+ * PRIVATE_USE = 18, // Co
+ * SURROGATE = 19, // Cs
+ * DASH_PUNCTUATION = 20, // Pd
+ * START_PUNCTUATION = 21, // Ps
+ * END_PUNCTUATION = 22, // Pe
+ * CONNECTOR_PUNCTUATION = 23, // Pc
+ * OTHER_PUNCTUATION = 24, // Po
+ * MATH_SYMBOL = 25, // Sm
+ * CURRENCY_SYMBOL = 26, // Sc
+ * MODIFIER_SYMBOL = 27, // Sk
+ * OTHER_SYMBOL = 28; // So
+ */
+
+ /**
+ * Returns true if the character is an XML "letter". XML Names must
+ * start with Letters or a few other characters, but other characters
+ * in names must only satisfy the <em>isNameChar</em> predicate.
+ *
+ * @see #isNameChar
+ * @see #isNCNameChar
+ */
+ public static boolean isLetter (char c)
+ {
+ // [84] Letter ::= BaseChar | Ideographic
+ // [85] BaseChar ::= ... too much to repeat
+ // [86] Ideographic ::= ... too much to repeat
+
+ //
+ // Optimize the typical case.
+ //
+ if (c >= 'a' && c <= 'z')
+ return true;
+ if (c == '/')
+ return false;
+ if (c >= 'A' && c <= 'Z')
+ return true;
+
+ //
+ // Since the tables are too ridiculous to use in code,
+ // we're using the footnotes here to drive this test.
+ //
+ switch (Character.getType (c)) {
+ // app. B footnote says these are 'name start'
+ // chars' ...
+ case Character.LOWERCASE_LETTER: // Ll
+ case Character.UPPERCASE_LETTER: // Lu
+ case Character.OTHER_LETTER: // Lo
+ case Character.TITLECASE_LETTER: // Lt
+ case Character.LETTER_NUMBER: // Nl
+
+ // OK, here we just have some exceptions to check...
+ return !isCompatibilityChar (c)
+ // per "5.14 of Unicode", rule out some combiners
+ && !(c >= 0x20dd && c <= 0x20e0);
+
+ default:
+ // check for some exceptions: these are "alphabetic"
+ return ((c >= 0x02bb && c <= 0x02c1)
+ || c == 0x0559 || c == 0x06e5 || c == 0x06e6);
+ }
+ }
+
+ //
+ // XML 1.0 discourages "compatibility" characters in names; these
+ // were defined to permit passing through some information stored in
+ // older non-Unicode character sets. These always have alternative
+ // representations in Unicode, e.g. using combining chars.
+ //
+ private static boolean isCompatibilityChar (char c)
+ {
+ // the numerous comparisions here seem unavoidable,
+ // but the switch can reduce the number which must
+ // actually be executed.
+
+ switch ((c >> 8) & 0x0ff) {
+ case 0x00:
+ // ISO Latin/1 has a few compatibility characters
+ return c == 0x00aa || c == 0x00b5 || c == 0x00ba;
+
+ case 0x01:
+ // as do Latin Extended A and (parts of) B
+ return (c >= 0x0132 && c <= 0x0133)
+ || (c >= 0x013f && c <= 0x0140)
+ || c == 0x0149
+ || c == 0x017f
+ || (c >= 0x01c4 && c <= 0x01cc)
+ || (c >= 0x01f1 && c <= 0x01f3) ;
+
+ case 0x02:
+ // some spacing modifiers
+ return (c >= 0x02b0 && c <= 0x02b8)
+ || (c >= 0x02e0 && c <= 0x02e4);
+
+ case 0x03:
+ return c == 0x037a; // Greek
+
+ case 0x05:
+ return c == 0x0587; // Armenian
+
+ case 0x0e:
+ return c >= 0x0edc && c <= 0x0edd; // Laotian
+
+ case 0x11:
+ // big chunks of Hangul Jamo are all "compatibility"
+ return c == 0x1101
+ || c == 0x1104
+ || c == 0x1108
+ || c == 0x110a
+ || c == 0x110d
+ || (c >= 0x1113 && c <= 0x113b)
+ || c == 0x113d
+ || c == 0x113f
+ || (c >= 0x1141 && c <= 0x114b)
+ || c == 0x114d
+ || c == 0x114f
+ || (c >= 0x1151 && c <= 0x1153)
+ || (c >= 0x1156 && c <= 0x1158)
+ || c == 0x1162
+ || c == 0x1164
+ || c == 0x1166
+ || c == 0x1168
+ || (c >= 0x116a && c <= 0x116c)
+ || (c >= 0x116f && c <= 0x1171)
+ || c == 0x1174
+ || (c >= 0x1176 && c <= 0x119d)
+ || (c >= 0x119f && c <= 0x11a2)
+ || (c >= 0x11a9 && c <= 0x11aa)
+ || (c >= 0x11ac && c <= 0x11ad)
+ || (c >= 0x11b0 && c <= 0x11b6)
+ || c == 0x11b9
+ || c == 0x11bb
+ || (c >= 0x11c3 && c <= 0x11ea)
+ || (c >= 0x11ec && c <= 0x11ef)
+ || (c >= 0x11f1 && c <= 0x11f8)
+ ;
+
+ case 0x20:
+ return c == 0x207f; // superscript
+
+ case 0x21:
+ return
+ // various letterlike symbols
+ c == 0x2102
+ || c == 0x2107
+ || (c >= 0x210a && c <= 0x2113)
+ || c == 0x2115
+ || (c >= 0x2118 && c <= 0x211d)
+ || c == 0x2124
+ || c == 0x2128
+ || (c >= 0x212c && c <= 0x212d)
+ || (c >= 0x212f && c <= 0x2138)
+
+ // most Roman numerals (less 1K, 5K, 10K)
+ || (c >= 0x2160 && c <= 0x217f)
+ ;
+
+ case 0x30:
+ // some Hiragana
+ return c >= 0x309b && c <= 0x309c;
+
+ case 0x31:
+ // all Hangul Compatibility Jamo
+ return c >= 0x3131 && c <= 0x318e;
+
+ case 0xf9:
+ case 0xfa:
+ case 0xfb:
+ case 0xfc:
+ case 0xfd:
+ case 0xfe:
+ case 0xff:
+ // the whole "compatibility" area is for that purpose!
+ return true;
+
+ default:
+ // most of Unicode isn't flagged as being for compatibility
+ return false;
+ }
+ }
+
+ // guts of isNameChar/isNCNameChar
+ private static boolean isLetter2 (char c)
+ {
+ // [84] Letter ::= BaseChar | Ideographic
+ // [85] BaseChar ::= ... too much to repeat
+ // [86] Ideographic ::= ... too much to repeat
+ // [87] CombiningChar ::= ... too much to repeat
+
+ //
+ // Optimize the typical case.
+ //
+ if (c >= 'a' && c <= 'z')
+ return true;
+ if (c == '>')
+ return false;
+ if (c >= 'A' && c <= 'Z')
+ return true;
+
+ //
+ // Since the tables are too ridiculous to use in code,
+ // we're using the footnotes here to drive this test.
+ //
+ switch (Character.getType (c)) {
+ // app. B footnote says these are 'name start'
+ // chars' ...
+ case Character.LOWERCASE_LETTER: // Ll
+ case Character.UPPERCASE_LETTER: // Lu
+ case Character.OTHER_LETTER: // Lo
+ case Character.TITLECASE_LETTER: // Lt
+ case Character.LETTER_NUMBER: // Nl
+ // ... and these are name characters 'other
+ // than name start characters'
+ case Character.COMBINING_SPACING_MARK: // Mc
+ case Character.ENCLOSING_MARK: // Me
+ case Character.NON_SPACING_MARK: // Mn
+ case Character.MODIFIER_LETTER: // Lm
+ case Character.DECIMAL_DIGIT_NUMBER: // Nd
+
+ // OK, here we just have some exceptions to check...
+ return !isCompatibilityChar (c)
+ // per "5.14 of Unicode", rule out some combiners
+ && !(c >= 0x20dd && c <= 0x20e0);
+
+ default:
+ // added a character ...
+ return c == 0x0387;
+ }
+ }
+
+ private static boolean isDigit (char c)
+ {
+ // [88] Digit ::= ...
+
+ //
+ // java.lang.Character.isDigit is correct from the XML point
+ // of view except that it allows "fullwidth" digits.
+ //
+ return Character.isDigit (c)
+ && ! ( (c >= 0xff10) && (c <= 0xff19));
+ }
+
+ private static boolean isExtender (char c)
+ {
+ // [89] Extender ::= ...
+ return c == 0x00b7 || c == 0x02d0 || c == 0x02d1 || c == 0x0387
+ || c == 0x0640 || c == 0x0e46 || c == 0x0ec6
+ || c == 0x3005 || (c >= 0x3031 && c <= 0x3035)
+ || (c >= 0x309d && c <= 0x309e)
+ || (c >= 0x30fc && c <= 0x30fe)
+ ;
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlNames.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlNames.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/imageio/metadata/XmlNames.java 2007-06-25 07:44:50 UTC (rev 3301)
@@ -0,0 +1,234 @@
+/*
+ * reserved comment block
+ * DO NOT REMOVE OR ALTER!
+ */
+/*
+ * $Id: XmlNames.java,v 1.3 2001/03/16 04:01:34 edwingo Exp $
+ *
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 2000 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Crimson" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact ap...@ap....
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+ * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+ * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, Sun Microsystems, Inc.,
+ * http://www.sun.com. For more information on the Apache Software
+ * Foundation, please see <http://www.apache.org/>.
+ */
+
+package com.sun.imageio.metadata;
+
+/**
+ * This class contains static methods used to determine whether identifiers
+ * may appear in certain roles in XML documents. Such methods are used
+ * both to parse and to create such documents.
+ *
+ * @version 1.4
+ * @author David Brownell
+ */
+public class XmlNames
+{
+ /**
+ * Useful strings from the DOM Level 2 Spec
+ */
+ public static final String
+ SPEC_XML_URI = "http://www.w3.org/XML/1998/namespace";
+ public static final String
+ SPEC_XMLNS_URI = "http://www.w3.org/2000/xmlns/";
+
+ private XmlNames () { }
+
+
+ /**
+ * Returns true if the value is a legal XML name.
+ *
+ * @param value the string being tested
+ */
+ public static boolean isName (String value)
+ {
+ if (value == null || "".equals(value))
+ return false;
+
+ char c = value.charAt (0);
+ if (!XmlChars.isLetter (c) && c != '_' && c != ':')
+ return false;
+ for (int i = 1; i < value.length (); i++)
+ if (!XmlChars.isNameChar (value.charAt (i)))
+ return false;
+ return true;
+ }
+
+ /**
+ * Returns true if the value is a legal "unqualified" XML name, as
+ * defined in the XML Namespaces proposed recommendation.
+ * These are normal XML names, except that they may not contain
+ * a "colon" character.
+ *
+ * @param value the string being tested
+ */
+ public static boolean isUnqualifiedName (String value)
+ {
+ if (value == null || value.length() == 0)
+ return false;
+
+ char c = value.charAt (0);
+ if (!XmlChars.isLetter (c) && c != '_')
+ return false;
+ for (int i = 1; i < value.length (); i++)
+ if (!XmlChars.isNCNameChar (value.charAt (i)))
+ return false;
+ return true;
+ }
+
+ /**
+ * Returns true if the value is a legal "qualified" XML name, as defined
+ * in the XML Namespaces proposed recommendation. Qualified names are
+ * composed of an optional prefix (an unqualified name), followed by a
+ * colon, and a required "local part" (an unqualified name). Prefixes are
+ * declared, and correspond to particular URIs which scope the "local
+ * part" of the name. (This method cannot check whether the prefix of a
+ * name has been declared.)
+ *
+ * @param value the string being tested
+ */
+ public static boolean isQualifiedName (String value)
+ {
+ if (value == null)
+ return false;
+
+ // [6] QName ::= (Prefix ':')? LocalPart
+ // [7] Prefix ::= NCName
+ // [8] LocalPart ::= NCName
+
+ int first = value.indexOf (':');
+
+ // no Prefix, only check LocalPart
+ if (first <= 0)
+ return isUnqualifiedName (value);
+
+ // Prefix exists, check everything
+
+ int last = value.lastIndexOf (':');
+ if (last != first)
+ return false;
+
+ return isUnqualifiedName (value.substring (0, first))
+ && isUnqualifiedName (value.substring (first + 1));
+ }
+
+ /**
+ * This method returns true if the identifier is a "name token"
+ * as defined in the XML specification. Like names, these
+ * may only contain "name characters"; however, they do not need
+ * to have letters as their initial characters. Attribute values
+ * defined to be of type NMTOKEN(S) must satisfy this predicate.
+ *
+ * @param token the string being tested
+ */
+ public static boolean isNmtoken (String token)
+ {
+ int length = token.length ();
+
+ for (int i = 0; i < length; i++)
+ if (!XmlChars.isNameChar (token.charAt (i)))
+ return false;
+ return true;
+ }
+
+
+ /**
+ * This method returns true if the identifier is a "name token" as
+ * defined by the XML Namespaces proposed recommendation.
+ * These are like XML "name tokens" but they may not contain the
+ * "colon" character.
+ *
+ * @see #isNmtoken
+ *
+ * @param token the string being tested
+ */
+ public static boolean isNCNmtoken (String token)
+ {
+ return isNmtoken (token) && token.indexOf (':') < 0;
+ }
+
+ /**
+ * Return the Prefix of qualifiedName. Does not check that Prefix is a
+ * valid NCName.
+ *
+ * @param qualifiedName name to find the Prefix of
+ * @return prefix or null if it has none
+ */
+ public static String getPrefix(String qualifiedName) {
+ // [6] QName ::= (Prefix ':')? LocalPart
+ // [7] Prefix ::= NCName
+ int index = qualifiedName.indexOf(':');
+ return index <= 0 ? null : qualifiedName.substring(0, index);
+ }
+
+ /**
+ * Return the LocalPart of qualifiedName. Does not check that Prefix is a
+ * valid NCName.
+ *
+ * @param qualifiedName name to find the LocalPart of
+ * @return LocalPart or null if it has none
+ */
+ public static String getLocalPart(String qualifiedName) {
+ // [6] QName ::= (Prefix ':')? LocalPart
+ // [8] LocalPart ::= NCName
+ int index = qualifiedName.indexOf(':');
+ if (index < 0) {
+ return qualifiedName;
+ }
+
+ // ':' at end of qualifiedName
+ if (index == qualifiedName.length() - 1) {
+ return null;
+ }
+
+ return qualifiedName.substring(index + 1);
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPConstants.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPConstants.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPConstants.java 2007-06-25 07:44:50 UTC (rev 3301)
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.imageio.plugins.bmp;
+
+public interface BMPConstants {
+ // bmp versions
+ static final String VERSION_2 = "BMP v. 2.x";
+ static final String VERSION_3 = "BMP v. 3.x";
+ static final String VERSION_3_NT = "BMP v. 3.x NT";
+ static final String VERSION_4 = "BMP v. 4.x";
+ static final String VERSION_5 = "BMP v. 5.x";
+
+ // Color space types
+ static final int LCS_CALIBRATED_RGB = 0;
+ static final int LCS_sRGB = 1;
+ static final int LCS_WINDOWS_COLOR_SPACE = 2;
+ static final int PROFILE_LINKED = 3;
+ static final int PROFILE_EMBEDDED = 4;
+
+ // Compression Types
+ static final int BI_RGB = 0;
+ static final int BI_RLE8 = 1;
+ static final int BI_RLE4 = 2;
+ static final int BI_BITFIELDS = 3;
+ static final int BI_JPEG = 4;
+ static final int BI_PNG = 5;
+
+ static final String[] compressionTypeNames =
+ {"BI_RGB", "BI_RLE8", "BI_RLE4", "BI_BITFIELDS", "BI_JPEG", "BI_PNG"};
+}
Added: trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageReader.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageReader.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/imageio/plugins/bmp/BMPImageReader.java 2007-06-25 07:44:50 UTC (rev 3301)
@@ -0,0 +1,1748 @@
+/*
+ * Copyright 2003-2005 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.imageio.plugins.bmp;
+
+import java.awt.Point;
+import java.awt.Rectangle;
+import java.awt.Transparency;
+import java.awt.color.ColorSpace;
+import java.awt.color.ICC_ColorSpace;
+import java.awt.color.ICC_Profile;
+import java.awt.image.BufferedImage;
+import java.awt.image.ColorModel;
+import java.awt.image.ComponentColorModel;
+import java.awt.image.ComponentSampleModel;
+import java.awt.image.DataBuffer;
+import java.awt.image.DataBufferByte;
+import java.awt.image.DataBufferInt;
+import java.awt.image.DataBufferUShort;
+import java.awt.image.DirectColorModel;
+import java.awt.image.IndexColorModel;
+import java.awt.image.MultiPixelPackedSampleModel;
+import java.awt.image.PixelInterleavedSampleModel;
+import java.awt.image.Raster;
+import java.awt.image.SampleModel;
+import java.awt.image.SinglePixelPackedSampleModel;
+import java.awt.image.WritableRaster;
+
+import javax.imageio.IIOException;
+import javax.imageio.ImageIO;
+import javax.imageio.ImageReader;
+import javax.imageio.ImageReadParam;
+import javax.imageio.ImageTypeSpecifier;
+import javax.imageio.metadata.IIOMetadata;
+import javax.imageio.spi.ImageReaderSpi;
+import javax.imageio.stream.ImageInputStream;
+import javax.imageio.event.IIOReadProgressListener;
+import javax.imageio.event.IIOReadUpdateListener;
+import javax.imageio.event.IIOReadWarningListener;
+
+import java.io.*;
+import java.nio.*;
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.StringTokenizer;
+
+import com.sun.imageio.plugins.common.ImageUtil;
+import com.sun.imageio.plugins.common.I18N;
+
+/** This class is the Java Image IO plugin reader for BMP images.
+ * It may subsample the image, clip the image, select sub-bands,
+ * and shift the decoded image origin if the proper decoding parameter
+ * are set in the provided <code>ImageReadParam</code>.
+ *
+ * This class supports Microsoft Windows Bitmap Version 3-5,
+ * as well as OS/2 Bitmap Version 2.x (for single-image BMP file).
+ */
+public class BMPImageReader extends ImageReader implements BMPConstants {
+ // BMP Image types
+ private static final int VERSION_2_1_BIT = 0;
+ private static final int VERSION_2_4_BIT = 1;
+ private static final int VERSION_2_8_BIT = 2;
+ private static final int VERSION_2_24_BIT = 3;
+
+ private static final int VERSION_3_1_BIT = 4;
+ private static final int VERSION_3_4_BIT = 5;
+ private static final int VERSION_3_8_BIT = 6;
+ private static final int VERSION_3_24_BIT = 7;
+
+ private static final int VERSION_3_NT_16_BIT = 8;
+ private static final int VERSION_3_NT_32_BIT = 9;
+
+ private static final int VERSION_4_1_BIT = 10;
+ private static final int VERSION_4_4_BIT = 11;
+ private static final int VERSION_4_8_BIT = 12;
+ private static final int VERSION_4_16_BIT = 13;
+ private static final int VERSION_4_24_BIT = 14;
+ private static final int VERSION_4_32_BIT = 15;
+
+ private static final int VERSION_3_XP_EMBEDDED = 16;
+ private static final int VERSION_4_XP_EMBEDDED = 17;
+ private static final int VERSION_5_XP_EMBEDDED = 18;
+
+ // BMP variables
+ private long bitmapFileSize;
+ private long bitmapOffset;
+ private long compression;
+ private long imageSize;
+ private byte palette[];
+ private int imageType;
+ private int numBands;
+ private boolean isBottomUp;
+ private int bitsPerPixel;
+ private int redMask, greenMask, blueMask, alphaMask;
+
+ private SampleModel sampleModel, originalSampleModel;
+ private ColorModel colorModel, originalColorModel;
+
+ /** The input stream where reads from */
+ private ImageInputStream iis = null;
+
+ /** Indicates whether the header is read. */
+ private boolean gotHeader = false;
+
+ /** The original image width. */
+ private int width;
+
+ /** The original image height. */
+ private int height;
+
+ /** The destination region. */
+ private Rectangle destinationRegion;
+
+ /** The source region. */
+ private Rectangle sourceRegion;
+
+ /** The metadata from the stream. */
+ private BMPMetadata metadata;
+
+ /** The destination image. */
+ private BufferedImage bi;
+
+ /** Indicates whether subsampled, subregion is required, and offset is
+ * defined
+ */
+ private boolean noTransform = true;
+
+ /** Indicates whether subband is selected. */
+ private boolean seleBand = false;
+
+ /** The scaling factors. */
+ private int scaleX, scaleY;
+
+ /** source and destination bands. */
+ private int[] sourceBands, destBands;
+
+ /** Constructs <code>BMPImageReader</code> from the provided
+ * <code>ImageReaderSpi</code>.
+ */
+ public BMPImageReader(ImageReaderSpi originator) {
+ super(originator);
+ }
+
+ /** Overrides the method defined in the superclass. */
+ public void setInput(Object input,
+ boolean seekForwardOnly,
+ boolean ignoreMetadata) {
+ super.setInput(input, seekForwardOnly, ignoreMetadata);
+ iis = (ImageInputStream) input; // Always works
+ if(iis != null)
+ iis.setByteOrder(ByteOrder.LITTLE_ENDIAN);
+ resetHeaderInfo();
+ }
+
+ /** Overrides the method defined in the superclass. */
+ public int getNumImages(boolean allowSearch) throws IOException {
+ if (iis == null) {
+ throw new IllegalStateException(I18N.getString("GetNumImages0"));
+ }
+ if (seekForwardOnly && allowSearch) {
+ throw new IllegalStateException(I18N.getString("GetNumImages1"));
+ }
+ return 1;
+ }
+
+ public int getWidth(int imageIndex) throws IOException {
+ checkIndex(imageIndex);
+ readHeader();
+ return width;
+ }
+
+ public int getHeight(int imageIndex) throws IOException {
+ checkIndex(imageIndex);
+ readHeader();
+ return height;
+ }
+
+ private void checkIndex(int imageIndex) {
+ if (imageIndex != 0) {
+ throw new IndexOutOfBoundsException(I18N.getString("BMPImageReader0"));
+ }
+ }
+
+ public void readHeader() throws IOException {
+ if (gotHeader)
+ return;
+
+ if (iis == null) {
+ throw new IllegalStateException("Input source not set!");
+ }
+ int profileData = 0, profileSize = 0;
+
+ this.metadata = new BMPMetadata();
+ iis.mark();
+
+ // read and check the magic marker
+ byte[] marker = new byte[2];
+ iis.read(marker);
+ if (marker[0] != 0x42 || marker[1] != 0x4d)
+ throw new IllegalArgumentException(I18N.getString("BMPImageReader1"));
+
+ // Read file size
+ bitmapFileSize = iis.readUnsignedInt();
+ // skip the two reserved fields
+ iis.skipBytes(4);
+
+ // Offset to the bitmap from the beginning
+ bitmapOffset = iis.readUnsignedInt();
+ // End File Header
+
+ // Start BitmapCoreHeader
+ long size = iis.readUnsignedInt();
+
+ if (size == 12) {
+ width = iis.readShort();
+ height = iis.readShort();
+ } else {
+ width = iis.readInt();
+ height = iis.readInt();
+ }
+
+ metadata.width = width;
+ metadata.height = height;
+
+ int planes = iis.readUnsignedShort();
+ bitsPerPixel = iis.readUnsignedShort();
+
+ //metadata.colorPlane = planes;
+ metadata.bitsPerPixel = (short)bitsPerPixel;
+
+ // As BMP always has 3 rgb bands, except for Version 5,
+ // which is bgra
+ numBands = 3;
+
+ if (size == 12) {
+ // Windows 2.x and OS/2 1.x
+ metadata.bmpVersion = VERSION_2;
+
+ // Classify the image type
+ if (bitsPerPixel == 1) {
+ imageType = VERSION_2_1_BIT;
+ } else if (bitsPerPixel == 4) {
+ imageType = VERSION_2_4_BIT;
+ } else if (bitsPerPixel == 8) {
+ imageType = VERSION_2_8_BIT;
+ } else if (bitsPerPixel == 24) {
+ imageType = VERSION_2_24_BIT;
+ }
+
+ // Read in the palette
+ int numberOfEntries = (int)((bitmapOffset - 14 - size) / 3);
+ int sizeOfPalette = numberOfEntries*3;
+ palette = new byte[sizeOfPalette];
+ iis.readFully(palette, 0, sizeOfPalette);
+ metadata.palette = palette;
+ metadata.paletteSize = numberOfEntries;
+ } else {
+ compression = iis.readUnsignedInt();
+ imageSize = iis.readUnsignedInt();
+ long xPelsPerMeter = iis.readInt();
+ long yPelsPerMeter = iis.readInt();
+ long colorsUsed = iis.readUnsignedInt();
+ long colorsImportant = iis.readUnsignedInt();
+
+ metadata.compression = (int)compression;
+ metadata.xPixelsPerMeter = (int)xPelsPerMeter;
+ metadata.yPixelsPerMeter = (int)yPelsPerMeter;
+ metadata.colorsUsed = (int)colorsUsed;
+ metadata.colorsImportant = (int)colorsImportant;
+
+ if (size == 40) {
+ // Windows 3.x and Windows NT
+ switch((int)compression) {
+
+ case BI_JPEG:
+ case BI_PNG:
+ metadata.bmpVersion = VERSION_3;
+ imageType = VERSION_3_XP_EMBEDDED;
+ break;
+
+ case BI_RGB: // No compression
+ case BI_RLE8: // 8-bit RLE compression
+ case BI_RLE4: // 4-bit RLE compression
+
+ // Read in the palette
+ int numberOfEntries = (int)((bitmapOffset-14-size) / 4);
+ int sizeOfPalette = numberOfEntries * 4;
+ palette = new byte[sizeOfPalette];
+ iis.readFully(palette, 0, sizeOfPalette);
+
+ metadata.palette = palette;
+ metadata.paletteSize = numberOfEntries;
+
+ if (bitsPerPixel == 1) {
+ imageType = VERSION_3_1_BIT;
+ } else if (bitsPerPixel == 4) {
+ imageType = VERSION_3_4_BIT;
+ } else if (bitsPerPixel == 8) {
+ imageType = VERSION_3_8_BIT;
+ } else if (bitsPerPixel == 24) {
+ imageType = VERSION_3_24_BIT;
+ } else if (bitsPerPixel == 16) {
+ imageType = VERSION_3_NT_16_BIT;
+
+ redMask = 0x7C00;
+ greenMask = 0x3E0;
+ blueMask = (1 << 5) - 1;// 0x1F;
+ metadata.redMask = redMask;
+ metadata.greenMask = greenMask;
+ metadata.blueMask = blueMask;
+ } else if (bitsPerPixel == 32) {
+ imageType = VERSION_3_NT_32_BIT;
+ redMask = 0x00FF0000;
+ greenMask = 0x0000FF00;
+ blueMask = 0x000000FF;
+ metadata.redMask = redMask;
+ metadata.greenMask = greenMask;
+ metadata.blueMask = blueMask;
+ }
+
+ metadata.bmpVersion = VERSION_3;
+ break;
+
+ case BI_BITFIELDS:
+
+ if (bitsPerPixel == 16) {
+ imageType = VERSION_3_NT_16_BIT;
+ } else if (bitsPerPixel == 32) {
+ imageType = VERSION_3_NT_32_BIT;
+ }
+
+ // BitsField encoding
+ redMask = (int)iis.readUnsignedInt();
+ greenMask = (int)iis.readUnsignedInt();
+ blueMask = (int)iis.readUnsignedInt();
+ metadata.redMask = redMask;
+ metadata.greenMask = greenMask;
+ metadata.blueMask = blueMask;
+
+ if (colorsUsed != 0) {
+ // there is a palette
+ sizeOfPalette = (int)colorsUsed*4;
+ palette = new byte[sizeOfPalette];
+ iis.readFully(palette, 0, sizeOfPalette);
+
+ metadata.palette = palette;
+ metadata.paletteSize = (int)colorsUsed;
+ }
+ metadata.bmpVersion = VERSION_3_NT;
+
+ break;
+ default:
+ throw new
+ RuntimeException(I18N.getString("BMPImageReader2"));
+ }
+ } else if (size == 108 || size == 124) {
+ // Windows 4.x BMP
+ if (size == 108)
+ metadata.bmpVersion = VERSION_4;
+ else if (size == 124)
+ metadata.bmpVersion = VERSION_5;
+
+ // rgb masks, valid only if comp is BI_BITFIELDS
+ redMask = (int)iis.readUnsignedInt();
+ greenMask = (int)iis.readUnsignedInt();
+ blueMask = (int)iis.readUnsignedInt();
+ // Only supported for 32bpp BI_RGB argb
+ alphaMask = (int)iis.readUnsignedInt();
+ long csType = iis.readUnsignedInt();
+ int redX = iis.readInt();
+ int redY = iis.readInt();
+ int redZ = iis.readInt();
+ int greenX = iis.readInt();
+ int greenY = iis.readInt();
+ int greenZ = iis.readInt();
+ int blueX = iis.readInt();
+ int blueY = iis.readInt();
+ int blueZ = iis.readInt();
+ long gammaRed = iis.readUnsignedInt();
+ long gammaGreen = iis.readUnsignedInt();
+ long gammaBlue = iis.readUnsignedInt();
+
+ if (size == 124) {
+ metadata.intent = iis.readInt();
+ profileData = iis.readInt();
+ profileSize = iis.readInt();
+ iis.skipBytes(4);
+ }
+
+ metadata.colorSpace = (int)csType;
+
+ if (csType == LCS_CALIBRATED_RGB) {
+ // All the new fields are valid only for this case
+ metadata.redX = redX;
+ metadata.redY = redY;
+ metadata.redZ = redZ;
+ metadata.greenX = greenX;
+ metadata.greenY = greenY;
+ metadata.greenZ = greenZ;
+ metadata.blueX = blueX;
+ metadata.blueY = blueY;
+ metadata.blueZ = blueZ;
+ metadata.gammaRed = (int)gammaRed;
+ metadata.gammaGreen = (int)gammaGreen;
+ metadata.gammaBlue = (int)gammaBlue;
+ }
+
+ // Read in the palette
+ int numberOfEntries = (int)((bitmapOffset-14-size) / 4);
+ int sizeOfPalette = numberOfEntries*4;
+ palette = new byte[sizeOfPalette];
+ iis.readFully(palette, 0, sizeOfPalette);
+ metadata.palette = palette;
+ metadata.paletteSize = numberOfEntries;
+
+ switch ((int)compression) {
+ case BI_JPEG:
+ case BI_PNG:
+ if (size == 108) {
+ imageType = VERSION_4_XP_EMBEDDED;
+ } else if (size == 124) {
+ imageType = VERSION_5_XP_EMBEDDED;
+ }
+ break;
+ default:
+ if (bitsPerPixel == 1) {
+ imageType = VERSION_4_1_BIT;
+ } else if (bitsPerPixel == 4) {
+ imageType = VERSION_4_4_BIT;
+ } else if (bitsPerPixel == 8) {
+ imageType = VERSION_4_8_BIT;
+ } else if (bitsPerPixel == 16) {
+ imageType = VERSION_4_16_BIT;
+ if ((int)compression == BI_RGB) {
+ redMask = 0x7C00;
+ greenMask = 0x3E0;
+ blueMask = 0x1F;
+ }
+ } else if (bitsPerPixel == 24) {
+ imageType = VERSION_4_24_BIT;
+ } else if (bitsPerPixel == 32) {
+ imageType = VERSION_4_32_BIT;
+ if ((int)compression == BI_RGB) {
+ redMask = 0x00FF0000;
+ greenMask = 0x0000FF00;
+ blueMask = 0x000000FF;
+ }
+ }
+
+ metadata.redMask = redMask;
+ metadata.greenMask = greenMask;
+ metadata.blueMask = blueMask;
+ metadata.alphaMask = alphaMask;
+ }
+ } else {
+ throw new
+ RuntimeException(I18N.getString("BMPImageReader3"));
+ }
+ }
+
+ if (height > 0) {
+ // bottom up image
+ isBottomUp = true;
+ } else {
+ // top down image
+ isBottomUp = false;
+ height = Math.abs(height);
+ }
+
+ // Reset Image Layout so there's only one tile.
+ //Define the color space
+ ColorSpace colorSpace = ColorSpace.getInstance(ColorSpace.CS_sRGB);
+ if (metadata.colorSpace == PROFILE_LINKED ||
+ metadata.colorSpace == PROFILE_EMBEDDED) {
+
+ iis.mark();
+ iis.skipBytes(profileData - size);
+ byte[] profile = new byte[profileSize];
+ iis.readFully(profile, 0, profileSize);
+ iis.reset();
+
+ try {
+ if (metadata.colorSpace == PROFILE_LINKED)
+ colorSpace =
+ new ICC_ColorSpace(ICC_Profile.getInstance(new String(profile)));
+ else
+ colorSpace =
+ new ICC_ColorSpace(ICC_Profile.getInstance(profile));
+ } catch (Exception e) {
+ colorSpace = ColorSpace.getInstance(ColorSpace.CS_sRGB);
+ }
+ }
+
+ if (bitsPerPixel == 0 ||
+ compression == BI_JPEG || compression == BI_PNG )
+ {
+ // the colorModel and sampleModel will be initialzed
+ // by the reader of embedded image
+ colorModel = null;
+ sampleModel = null;
+ } else if (bitsPerPixel == 1 || bitsPerPixel == 4 || bitsPerPixel == 8) {
+ // When number of bitsPerPixel is <= 8, we use IndexColorModel.
+ numBands = 1;
+
+ if (bitsPerPixel == 8) {
+ int[] bandOffsets = new int[numBands];
+ for (int i = 0; i < numBands; i++) {
+ bandOffsets[i] = numBands -1 -i;
+ }
+ sampleModel =
+ new PixelInterleavedSampleModel(DataBuffer.TYPE_BYTE,
+ width, height,
+ numBands,
+ numBands * width,
+ bandOffsets);
+ } else {
+ // 1 and 4 bit pixels can be stored in a packed format.
+ sampleModel =
+ new MultiPixelPackedSampleModel(DataBuffer.TYPE_BYTE,
+ width, height,
+ bitsPerPixel);
+ }
+
+ // Create IndexColorModel from the palette.
+ byte r[], g[], b[];
+ if (imageType == VERSION_2_1_BIT ||
+ imageType == VERSION_2_4_BIT ||
+ imageType == VERSION_2_8_BIT) {
+
+
+ size = palette.length/3;
+
+ if (size > 256) {
+ size = 256;
+ }
+
+ int off;
+ r = new byte[(int)size];
+ g = new byte[(int)size];
+ b = new byte[(int)size];
+ for (int i=0; i<(int)size; i++) {
+ off = 3 * i;
+ b[i] = palette[off];
+ g[i] = palette[off+1];
+ r[i] = palette[off+2];
+ }
+ } else {
+ size = palette.length/4;
+
+ if (size > 256) {
+ size = 256;
+ }
+
+ int off;
+ r = new byte[(int)size];
+ g = new byte[(int)size];
+ b = new byte[(int)size];
+ for (int i=0; i<size; i++) {
+ off = 4 * i;
+ b[i] = palette[off];
+ g[i] = palette[off+1];
+ r[i] = palette[off+2];
+ }
+ }
+
+ if (ImageUtil.isIndicesForGrayscale(r, g, b))
+ colorModel =
+ ImageUtil.createColorModel(null, sampleModel);
+ else
+ colorModel = new IndexColorModel(bitsPerPixel, (int)size, r, g, b);
+ } else if (bitsPerPixel == 16) {
+ numBands = 3;
+ sampleModel =
+ new SinglePixelPackedSampleModel(DataBuffer.TYPE_USHORT,
+ width, height,
+ new int[] {redMask, greenMask, blueMask});
+
+ colorModel =
+ new DirectColorModel(colorSpace,
+ 16, redMask, greenMask, blueMask, 0,
+ false, DataBuffer.TYPE_USHORT);
+
+ } else if (bitsPerPixel == 32) {
+ numBands = alphaMask == 0 ? 3 : 4;
+
+ // The number of bands in the SampleModel is determined by
+ // the length of the mask array passed in.
+ int[] bitMasks = numBands == 3 ?
+ new int[] {redMask, greenMask, blueMask} :
+ new int[] {redMask, greenMask, blueMask, alphaMask};
+
+ sampleModel =
+ new SinglePixelPackedSampleModel(DataBuffer.TYPE_INT,
+ width, height,
+ bitMasks);
+
+ colorModel =
+ new DirectColorModel(colorSpace,
+ 32, redMask, greenMask, blueMask, alphaMask,
+ false, DataBuffer.TYPE_INT);
+ } else {
+ numBands = 3;
+ // Create SampleModel
+ int[] bandOffsets = new int[numBands];
+ for (int i = 0; i < numBands; i++) {
+ bandOffsets[i] = numBands -1 -i;
+ }
+
+ sampleModel =
+ new PixelInterleavedSampleModel(DataBuffer.TYPE_BYTE,
+ width, height,
+ numBands,
+ numBands * width,
+ bandOffsets);
+
+ colorModel =
+ ImageUtil.createColorModel(colorSpace, sampleModel);
+ }
+
+ originalSampleModel = sampleModel;
+ originalColorModel = colorModel;
+
+ // Reset to the start of bitmap; then jump to the
+ //start of image data
+ iis.reset();
+ iis.skipBytes(bitmapOffset);
+ gotHeader = true;
+ }
+
+ public Iterator getImageTypes(int imageIndex)
+ throws IOException {
+ checkIndex(imageIndex);
+ readHeader();
+ ArrayList list = new ArrayList(1);
+ list.add(new ImageTypeSpecifier(originalColorModel,
+ originalSampleModel));
+ return list.iterator();
+ }
+
+ public ImageReadParam getDefaultReadParam() {
+ return new ImageReadParam();
+ }
+
+ public IIOMetadata getImageMetadata(int imageIndex)
+ throws IOException {
+ checkIndex(imageIndex);
+ if (metadata == null) {
+ readHeader();
+ }
+ return metadata;
+ }
+
+ public IIOMetadata getStreamMetadata() throws IOException {
+ return null;
+ }
+
+ public boolean isRandomAccessEasy(int imageIndex) throws IOException {
+ checkIndex(imageIndex);
+ readHeader();
+ return metadata.compression == BI_RGB;
+ }
+
+ public BufferedImage read(int imageIndex, ImageReadParam param)
+ throws IOException {
+
+ if (iis == null) {
+ throw new IllegalStateException(I18N.getString("BMPImageReader5"));
+ }
+
+ checkIndex(imageIndex);
+ clearAbortRequest();
+ processImageStarted(imageIndex);
+
+ if (param == null)
+ param = getDefaultReadParam();
+
+ //read header
+ readHeader();
+
+ sourceRegion = new Rectangle(0, 0, 0, 0);
+ destinationRegion = new Rectangle(0, 0, 0, 0);
+
+ computeRegions(param, this.width, this.height,
+ param.getDestination(),
+ sourceRegion,
+ destinationRegion);
+
+ scaleX = param.getSourceXSubsampling();
+ scaleY = param.getSourceYSubsampling();
+
+ // If the destination band is set used it
+ sourceBands = param.getSourceBands();
+ destBands = param.getDestinationBands();
+
+ seleBand = (sourceBands != null) && (destBands != null);
+ noTransform =
+ destinationRegion.equals(new Rectangle(0, 0, width, height)) ||
+ seleBand;
+
+ if (!seleBand) {
+ sourceBands = new int[numBands];
+ destBands = new int[numBands];
+ for (int i = 0; i < numBands; i++)
+ destBands[i] = sourceBands[i] = i;
+ }
+
+ // If the destination is provided, then use it. Otherwise, create new one
+ bi = param.getDestination();
+
+ // Get the image data.
+ WritableRaster raster = null;
+
+ if (bi == null) {
+ if (sampleModel != null && colorModel != null) {
+ sampleModel =
+ sampleModel.createCompatibleSampleModel(destinationRegion.x +
+ destinationRegion.width,
+ destinationRegion.y +
+ destinationRegion.height);
+ if (seleBand)
+ sampleModel = sampleModel.createSubsetSampleModel(sourceBands);
+ raster = Raster.createWritableRaster(sampleModel, new Point());
+ bi = new BufferedImage(colorModel, raster, false, null);
+ }
+ } else {
+ raster = bi.getWritableTile(0, 0);
+ sampleModel = bi.getSampleModel();
+ colorModel = bi.getColorModel();
+
+ noTransform &= destinationRegion.equals(raster.getBounds());
+ }
+
+ byte bdata[] = null; // buffer for byte data
+ short sdata[] = null; // buffer for short data
+ int idata[] = null; // buffer for int data
+
+ // the sampleModel can be null in case of embedded image
+ if (sampleModel != null) {
+ if (sampleModel.getDataType() == DataBuffer.TYPE_BYTE)
+ bdata = (byte[])
+ ((DataBufferByte)raster.getDataBuffer()).getData();
+ else if (sampleModel.getDataType() == DataBuffer.TYPE_USHOR...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 07:35:03
|
Revision: 3300
http://jnode.svn.sourceforge.net/jnode/?rev=3300&view=rev
Author: lsantha
Date: 2007-06-25 00:34:59 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/corba/se/GiopIDL/
trunk/core/src/openjdk/com/com/sun/corba/se/GiopIDL/GIOP.idl
trunk/core/src/openjdk/com/com/sun/corba/se/GiopIDL/messages.idl
trunk/core/src/openjdk/com/com/sun/corba/se/PortableActivationIDL/
trunk/core/src/openjdk/com/com/sun/corba/se/PortableActivationIDL/activation.idl
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/CommandHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/NameServiceStartThread.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/ORBD.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/ProcessMonitorThread.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/RepositoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/ServerMain.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/ServerManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/ServerTableEntry.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/activation/ServerTool.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/copyobject/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/copyobject/CopierManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/copyobject/FallbackObjectCopierImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/copyobject/JavaStreamObjectCopierImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/copyobject/ORBStreamObjectCopierImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/copyobject/ReferenceObjectCopierImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/AnyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/AnyImplHelper.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/AsynchInvoke.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/CORBAObjectImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/ContextImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/ContextListImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/EnvironmentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/ExceptionListImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/NVListImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/NamedValueImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/PrincipalImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/RequestImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/ServerRequestImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/TCUtility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/TypeCodeFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/TypeCodeImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/TypeCodeImplHelper.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/corba/orb_config_design.txt
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyBasicImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyCollectionImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyComplexImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyConstructedImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynAnyUtil.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynArrayImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynEnumImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynFixedImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynSequenceImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynStructImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynUnionImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynValueBoxImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynValueCommonImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/dynamicany/DynValueImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerRead.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerReadGrow.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerReadStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerWrite.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerWriteCollect.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerWriteGrow.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferManagerWriteStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/BufferQueue.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/ByteBufferWithInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDRInputObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDRInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDRInputStreamBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDRInputStream_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDRInputStream_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDRInputStream_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDROutputObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDROutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDROutputStreamBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDROutputStream_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDROutputStream_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CDROutputStream_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CachedCodeBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CodeSetCache.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CodeSetComponentInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/CodeSetConversion.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/EncapsInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/EncapsOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/IDLJavaSerializationInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/IDLJavaSerializationOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/MarkAndResetHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/MarshalInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/MarshalOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/OSFCodeSetRegistry.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/RestorableInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/TypeCodeInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/TypeCodeOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/TypeCodeReader.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/encoding/WrapperInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/CDREncapsCodec.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/ClientRequestInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/CodecFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/IORInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/InterceptorInvoker.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/InterceptorList.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/ORBInitInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/PICurrent.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/PIHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/PINoOpHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/RequestInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/ServerRequestInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/SlotTable.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/interceptors/SlotTableStack.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/FVDCodeBaseImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/IIOPInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/IIOPOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/InputStreamHook.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/ObjectStreamClass.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/ObjectStreamClassCorbaExt.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/ObjectStreamField.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/OptionalDataException.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/OutputStreamHook.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/TypeMismatchException.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/ValueHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/io/ValueUtility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ByteBuffer.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/EncapsulationUtility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/FreezableList.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/GenericIdentifiable.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/GenericTaggedComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/GenericTaggedProfile.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/IORImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/IORTemplateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/IORTemplateListImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/IdentifiableFactoryFinderBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/JIDLObjectKeyTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/NewObjectKeyTemplateBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectAdapterIdArray.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectAdapterIdBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectAdapterIdNumber.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectIdImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectKeyFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectKeyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectKeyTemplateBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectReferenceFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectReferenceProducerBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ObjectReferenceTemplateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/OldJIDLObjectKeyTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/OldObjectKeyTemplateBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/OldPOAObjectKeyTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/POAObjectKeyTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/StubIORImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/TaggedComponentFactoryFinderImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/TaggedProfileFactoryFinderImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/TaggedProfileTemplateFactoryFinderImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/TestAssertions
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/WireObjectKeyTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/AlternateIIOPAddressComponentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/CodeSetsComponentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/IIOPAddressBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/IIOPAddressClosureImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/IIOPAddressImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/IIOPProfileImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/IIOPProfileTemplateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/JavaCodebaseComponentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/JavaSerializationComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/MaxStreamFormatVersionComponentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/ORBTypeComponentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/iiop/RequestPartitioningComponentImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/ior.mdl
trunk/core/src/openjdk/com/com/sun/corba/se/impl/ior/notes
trunk/core/src/openjdk/com/com/sun/corba/se/impl/javax/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/javax/rmi/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/javax/rmi/CORBA/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/javax/rmi/CORBA/StubDelegateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/javax/rmi/CORBA/Util.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/javax/rmi/PortableRemoteObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/DefaultSocketFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/EndPointInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/LegacyServerSocketManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/SocketFactoryAcceptorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/SocketFactoryConnectionImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoListImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/SocketFactoryContactInfoListIteratorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/legacy/connection/USLPort.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/MonitoredAttributeInfoFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/MonitoredAttributeInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/MonitoredObjectFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/MonitoredObjectImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/MonitoringManagerFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/monitoring/MonitoringManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/BindingIteratorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/InterOperableNamingImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/InternalBindingKey.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/InternalBindingValue.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/NamingContextDataStore.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/NamingContextImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/NamingUtils.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/TransientBindingIterator.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/TransientNameServer.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/TransientNameService.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/cosnaming/TransientNamingContext.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/CorbalocURL.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/CorbanameURL.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/IIOPEndpointInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/INSURL.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/INSURLBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/INSURLHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/NamingConstants.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/namingutil/Utility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/InternalBindingKey.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/InternalBindingValue.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/NameServer.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/NameService.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/NamingContextImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/PersistentBindingIterator.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/naming/pcosnaming/ServantManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/NullServantImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/AOMEntry.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/ActiveObjectMap.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/BadServerIdHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/DelegateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/IdAssignmentPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/IdUniquenessPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/ImplicitActivationPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/LifespanPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POACurrent.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediator.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorBase_R.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_NR_UDS.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_NR_USM.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_AOM.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_UDS.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/POAPolicyMediatorImpl_R_USM.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/Policies.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/RequestProcessingPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/ServantRetentionPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/ThreadPolicyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/minor_code_example.txt
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/poa/standard_minor_codes.txt
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/toa/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/toa/TOA.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/toa/TOAFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/toa/TOAImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/oa/toa/TransientObjectManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/AppletDataCollector.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/DataCollectorBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/DataCollectorFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/NormalDataCollector.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/NormalParserAction.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/NormalParserData.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ORBConfiguratorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ORBDataParserImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ORBImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ORBSingleton.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ORBVersionImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ParserAction.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ParserActionBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ParserActionFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ParserDataBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/ParserTable.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/PrefixParserAction.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/PrefixParserData.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/PropertyOnlyDataCollector.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orb/parsing_combinators.txt
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/CacheTable.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/CorbaResourceUtil.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/DenseIntMapImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/HexOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/IIOPInputStream_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/IIOPOutputStream_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/LegacyHookGetFields.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/LegacyHookPutFields.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/LogKeywords.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ORBClassLoader.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ORBConstants.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ORBUtility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ObjectStreamClassUtil_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ObjectStreamClass_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ObjectStreamField.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ObjectUtility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ObjectWriter.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepIdDelegator.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepIdDelegator_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryIdCache_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryIdFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryIdInterface.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryIdStrings.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryIdUtility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryId_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/RepositoryId_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/StackImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/ValueHandlerImpl_1_3_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/closure/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/closure/Constant.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/closure/Future.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/CondVar.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/DebugMutex.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/Mutex.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/ReentrantMutex.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/Sync.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/concurrent/SyncUtil.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/fsm/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/fsm/GuardedAction.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/fsm/NameBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/fsm/StateEngineImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/graph/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/graph/Graph.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/graph/GraphImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/graph/Node.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/graph/NodeData.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_de.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_es.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_fr.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_it.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_ja.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_ko.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_sv.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_CN.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/resources/sunorb_zh_TW.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/threadpool/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/threadpool/ThreadPoolManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/threadpool/TimeoutException.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/orbutil/threadpool/WorkQueueImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/DynamicAccessPermission.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/DynamicMethodMarshallerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/DynamicStubImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/ExceptionHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/ExceptionHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/IDLNameTranslatorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/IDLType.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/IDLTypeException.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/IDLTypesUtil.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/InvocationHandlerFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/JNDIStateFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/PresentationManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/ReflectiveTie.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubConnectImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryDynamicBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryDynamicBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryProxyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryFactoryStaticImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryProxyImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubFactoryStaticImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/StubInvocationHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/presentation/rmi/jndi.properties
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/AddressingDispositionException.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/BootstrapServerRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/CorbaClientDelegateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/CorbaClientRequestDispatcherImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/CorbaInvocationInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/CorbaMessageMediatorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/CorbaServerRequestDispatcherImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/FullServantCacheLocalCRDImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/INSServerRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/InfoOnlyServantCacheLocalCRDImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/JIDLLocalCRDImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/LocalClientRequestDispatcherBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/MinimalServantCacheLocalCRDImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/NotLocalLocalCRDImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/POALocalCRDImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/RequestCanceledException.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/RequestDispatcherRegistryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/ServantCacheLocalCRDBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/SharedCDRClientRequestDispatcherImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/SpecialMethod.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/AddressingDispositionHelper.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/CancelRequestMessage_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/FragmentMessage_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/IORAddressingInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/IORAddressingInfoHelper.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/KeyAddr.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyMessage_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateReplyOrReplyMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/LocateRequestMessage_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/Message.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/MessageHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/Message_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/ProfileAddr.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/ReferenceAddr.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/ReplyMessage_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_0.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_1.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_2.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/TargetAddress.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/protocol/giopmsgheaders/TargetAddressHelper.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/BootstrapResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/CompositeResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/FileResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/INSURLOperationImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/LocalResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/ORBDefaultInitRefResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/ORBInitRefResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/resolver/SplitLocalResolverImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/ByteBufferPoolImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaConnectionCacheBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaContactInfoBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaContactInfoListImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaContactInfoListIteratorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaInboundConnectionCacheImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaOutboundConnectionCacheImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaResponseWaitingRoomImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/CorbaTransportManagerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/DefaultIORToSocketInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/DefaultSocketFactoryImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/EventHandlerBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/ListenerThreadImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/ReadTCPTimeoutsImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/ReaderThreadImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/SelectorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/SharedCDRContactInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/SocketOrChannelAcceptorImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/SocketOrChannelConnectionImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/transport/SocketOrChannelContactInfoImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/IdentityHashtable.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/IdentityHashtableEnumerator.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/JDKBridge.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/JDKClassLoader.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/ORBProperties.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/PackagePrefixChecker.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/RepositoryId.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/RepositoryIdCache.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/SUNVMCID.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/Utility.java
trunk/core/src/openjdk/com/com/sun/corba/se/impl/util/Version.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/CosNaming/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/CosNaming/BootstrapServer.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/Interceptors/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/Interceptors/PIORB.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/POA/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/POA/POAORB.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/corba/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/corba/ORBSingleton.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/iiop/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/iiop/ORB.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/io/
trunk/core/src/openjdk/com/com/sun/corba/se/internal/io/IIOPInputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/io/IIOPOutputStream.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/io/LibraryManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/internal/io/ObjectStreamClass.java
trunk/core/src/openjdk/com/com/sun/corba/se/org/
trunk/core/src/openjdk/com/com/sun/corba/se/org/omg/
trunk/core/src/openjdk/com/com/sun/corba/se/org/omg/CORBA/
trunk/core/src/openjdk/com/com/sun/corba/se/org/omg/CORBA/ORB.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/
trunk/core/src/openjdk/com/com/sun/corba/se/pept/broker/
trunk/core/src/openjdk/com/com/sun/corba/se/pept/broker/Broker.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/encoding/
trunk/core/src/openjdk/com/com/sun/corba/se/pept/encoding/InputObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/encoding/OutputObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/package.html
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/ClientDelegate.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/ClientInvocationInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/ClientRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/MessageMediator.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/ProtocolHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/protocol/ServerRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/Acceptor.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ByteBufferPool.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/Connection.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ConnectionCache.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ContactInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ContactInfoList.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ContactInfoListIterator.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/EventHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/InboundConnectionCache.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ListenerThread.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/OutboundConnectionCache.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ReaderThread.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/ResponseWaitingRoom.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/Selector.java
trunk/core/src/openjdk/com/com/sun/corba/se/pept/transport/TransportManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/activation/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/activation/activation.idl
trunk/core/src/openjdk/com/com/sun/corba/se/spi/copyobject/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/copyobject/CopierManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/copyobject/CopyobjectDefaults.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/copyobject/ObjectCopier.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/copyobject/ObjectCopierFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/copyobject/ReflectiveCopyException.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/encoding/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/encoding/CorbaInputObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/encoding/CorbaOutputObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/extension/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/extension/CopyObjectPolicy.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/extension/RequestPartitioningPolicy.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/extension/ServantCachingPolicy.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/extension/ZeroPortPolicy.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/EncapsulationFactoryBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IOR.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IORFactories.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IORFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IORTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IORTemplateList.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/Identifiable.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IdentifiableBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IdentifiableContainerBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IdentifiableFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/IdentifiableFactoryFinder.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/MakeImmutable.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/ObjectAdapterId.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/ObjectId.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/ObjectKey.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/ObjectKeyFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/ObjectKeyTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/TaggedComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/TaggedComponentBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/TaggedComponentFactoryFinder.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/TaggedProfile.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/TaggedProfileTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/TaggedProfileTemplateBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/WriteContents.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/Writeable.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/AlternateIIOPAddressComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/CodeSetsComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/GIOPVersion.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/IIOPAddress.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/IIOPFactories.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/IIOPProfile.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/IIOPProfileTemplate.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/JavaCodebaseComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/MaxStreamFormatVersionComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/ORBTypeComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iiop/RequestPartitioningComponent.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/iornotes
trunk/core/src/openjdk/com/com/sun/corba/se/spi/ior/package.html
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/Connection.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/GetEndPointInfoAgainException.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/LegacyServerSocketEndPointInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/LegacyServerSocketManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/ORBSocketFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/connection/README.txt
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/interceptor/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/interceptor/IORInfoExt.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/interceptor/ORBInitInfoExt.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/interceptor/RequestInfoExt.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/legacy/interceptor/UnknownType.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/CORBALogDomains.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/LogWrapperBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/LogWrapperFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/Activation.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/IOR.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/Interceptors.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/Naming.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/OMG.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/ORBUtil.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/POA.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/logging/data/Util.mc
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/LongMonitoredAttributeBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoredAttribute.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoredAttributeBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoredAttributeInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoredAttributeInfoFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoredObject.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoredObjectFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoringConstants.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoringFactories.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoringManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/MonitoringManagerFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/StatisticMonitoredAttribute.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/StatisticsAccumulator.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/StringMonitoredAttributeBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/monitoring/package.html
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/NullServant.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/OADefault.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/OADestroyed.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/OAInvocationInfo.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/ObjectAdapter.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/ObjectAdapterBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/oa/ObjectAdapterFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/DataCollector.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ORB.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ORBConfigurator.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ORBData.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ORBVersion.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ORBVersionFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/Operation.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/OperationFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ParserData.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ParserDataFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ParserImplBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/ParserImplTableBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/PropertyParser.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orb/StringPair.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/closure/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/closure/Closure.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/closure/ClosureFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/Action.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/ActionBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/FSM.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/FSMImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/FSMTest.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/Guard.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/GuardBase.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/Input.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/InputImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/State.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/StateEngine.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/StateEngineFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/fsm/StateImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/proxy/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/proxy/CompositeInvocationHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/proxy/DelegateInvocationHandlerImpl.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/proxy/InvocationHandlerFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/proxy/LinkedInvocationHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/NoSuchThreadPoolException.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/NoSuchWorkQueueException.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/ThreadPool.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/ThreadPoolChooser.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/ThreadPoolManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/Work.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/orbutil/threadpool/WorkQueue.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/DynamicMethodMarshaller.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/DynamicStub.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/IDLNameTranslator.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/PresentationDefaults.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/PresentationManager.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/StubAdapter.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/presentation/rmi/StubWrapper.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/ClientDelegateFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/CorbaClientDelegate.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/CorbaMessageMediator.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/CorbaProtocolHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/CorbaServerRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/ForwardException.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/InitialServerRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/LocalClientRequestDispatcher.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/LocalClientRequestDispatcherFactory.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/PIHandler.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/RequestDispatcherDefault.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/protocol/RequestDispatcherRegistry.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/resolver/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/resolver/LocalResolver.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/resolver/Resolver.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/resolver/ResolverDefault.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/CodeSetServiceContext.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/MaxStreamFormatVersionServiceContext.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/ORBVersionServiceContext.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/SendingContextServiceContext.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/ServiceContext.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/ServiceContextData.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/ServiceContextRegistry.java
trunk/core/src/openjdk/com/com/sun/corba/se/spi/servicecontext/ServiceContexts.java
trunk/core/src/op...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 07:24:47
|
Revision: 3299
http://jnode.svn.sourceforge.net/jnode/?rev=3299&view=rev
Author: lsantha
Date: 2007-06-25 00:24:46 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/codemodel/
trunk/core/src/openjdk/com/com/sun/codemodel/internal/
trunk/core/src/openjdk/com/com/sun/codemodel/internal/ClassType.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/CodeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotatable.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationArrayMember.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationStringValue.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationUse.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationValue.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnonymousClass.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArray.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayClass.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayCompRef.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignment.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignmentTarget.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAtom.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JBlock.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JBreak.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JCase.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JCast.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JCatchBlock.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JClass.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JClassAlreadyExistsException.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JClassContainer.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JCodeModel.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JCommentPart.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JConditional.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JContinue.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JDeclaration.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JDefinedClass.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JDirectClass.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JDoLoop.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JDocComment.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JEnumConstant.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JExpr.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JExpression.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JExpressionImpl.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JFieldRef.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JFieldVar.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JForEach.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JForLoop.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JFormatter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JGenerable.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JGenerifiable.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JGenerifiableImpl.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JInvocation.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JJavaName.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JLabel.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JMethod.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JMod.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JMods.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JNarrowedClass.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JNullType.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JOp.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JPackage.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JPrimitiveType.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JResourceFile.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JReturn.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JStatement.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JStringLiteral.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JSwitch.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JThrow.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JTryBlock.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JType.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JTypeVar.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JTypeWildcard.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JVar.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/JWhileLoop.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/TypedAnnotationWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/JBinaryFile.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/JPropertyFile.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/JSerializedObject.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/JStaticFile.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/JStaticJavaFile.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/JTextFile.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/fmt/package.html
trunk/core/src/openjdk/com/com/sun/codemodel/internal/package-info.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/ClassNameComparator.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/EncoderFactory.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/JavadocEscapeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/MS1252Encoder.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/SingleByteEncoder.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/Surrogate.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/util/UnicodeEscapeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/FileCodeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/FilterCodeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/ProgressCodeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/PrologCodeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/SingleStreamCodeWriter.java
trunk/core/src/openjdk/com/com/sun/codemodel/internal/writer/ZipCodeWriter.java
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/ClassType.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/ClassType.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/ClassType.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+/**
+ * This helps enable whether the JDefinedClass is a Class or Interface or
+ * AnnotationTypeDeclaration or Enum
+ *
+ * @author
+ * Bhakti Mehta (bha...@su...)
+ */
+public final class ClassType {
+
+ /**
+ * The keyword used to declare this type.
+ */
+ final String declarationToken;
+
+ private ClassType(String token) {
+ this.declarationToken = token;
+ }
+
+ public static final ClassType CLASS = new ClassType("class");
+ public static final ClassType INTERFACE = new ClassType("interface");
+ public static final ClassType ANNOTATION_TYPE_DECL = new ClassType("@interface");
+ public static final ClassType ENUM = new ClassType("enum");
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/CodeWriter.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/CodeWriter.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/CodeWriter.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,104 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+import java.io.IOException;
+import java.io.OutputStream;
+import java.io.OutputStreamWriter;
+import java.io.Writer;
+import java.nio.charset.CharsetEncoder;
+
+import com.sun.codemodel.internal.util.EncoderFactory;
+import com.sun.codemodel.internal.util.UnicodeEscapeWriter;
+
+/**
+ * Receives generated code and writes to the appropriate storage.
+ *
+ * @author
+ * Kohsuke Kawaguchi (koh...@su...)
+ */
+public abstract class CodeWriter {
+
+ /**
+ * Called by CodeModel to store the specified file.
+ * The callee must allocate a storage to store the specified file.
+ *
+ * <p>
+ * The returned stream will be closed before the next file is
+ * stored. So the callee can assume that only one OutputStream
+ * is active at any given time.
+ *
+ * @param pkg
+ * The package of the file to be written.
+ * @param fileName
+ * File name without the path. Something like
+ * "Foo.java" or "Bar.properties"
+ */
+ public abstract OutputStream openBinary( JPackage pkg, String fileName ) throws IOException;
+
+ /**
+ * Called by CodeModel to store the specified file.
+ * The callee must allocate a storage to store the specified file.
+ *
+ * <p>
+ * The returned stream will be closed before the next file is
+ * stored. So the callee can assume that only one OutputStream
+ * is active at any given time.
+ *
+ * @param pkg
+ * The package of the file to be written.
+ * @param fileName
+ * File name without the path. Something like
+ * "Foo.java" or "Bar.properties"
+ */
+ public Writer openSource( JPackage pkg, String fileName ) throws IOException {
+ final OutputStreamWriter bw = new OutputStreamWriter(openBinary(pkg,fileName));
+
+ // create writer
+ try {
+ return new UnicodeEscapeWriter(bw) {
+ // can't change this signature to Encoder because
+ // we can't have Encoder in method signature
+ private final CharsetEncoder encoder = EncoderFactory.createEncoder(bw.getEncoding());
+ protected boolean requireEscaping(int ch) {
+ // control characters
+ if( ch<0x20 && " \t\r\n".indexOf(ch)==-1 ) return true;
+ // check ASCII chars, for better performance
+ if( ch<0x80 ) return false;
+
+ return !encoder.canEncode((char)ch);
+ }
+ };
+ } catch( Throwable t ) {
+ return new UnicodeEscapeWriter(bw);
+ }
+ }
+
+ /**
+ * Called by CodeModel at the end of the process.
+ */
+ public abstract void close() throws IOException;
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotatable.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotatable.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotatable.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * Annotatable program elements.
+ *
+ * @author Kohsuke Kawaguchi
+ */
+public interface JAnnotatable {
+ /**
+ * Adds an annotation to this program element.
+ * @param clazz
+ * The annotation class to annotate the program element with
+ */
+ JAnnotationUse annotate(JClass clazz);
+
+ /**
+ * Adds an annotation to this program element.
+ *
+ * @param clazz
+ * The annotation class to annotate the program element with
+ */
+ JAnnotationUse annotate(Class <? extends Annotation> clazz);
+
+ /**
+ * Adds an annotation to this program element
+ * and returns a type-safe writer to fill in the values of such annotations.
+ */
+ <W extends JAnnotationWriter> W annotate2(Class<W> clazz);
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationArrayMember.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationArrayMember.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationArrayMember.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,159 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+
+import java.lang.annotation.Annotation;
+import java.util.ArrayList;
+import java.util.List;
+
+/**
+ * Represents an arrays as annotation members
+ *
+ * <p>
+ * This class implements {@link JAnnotatable} to allow
+ * new annotations to be added as a member of the array.
+ *
+ * @author
+ * Bhakti Mehta (bha...@su...)
+ */
+public final class JAnnotationArrayMember extends JAnnotationValue implements JAnnotatable {
+ private final List<JAnnotationValue> values = new ArrayList<JAnnotationValue>();
+ private final JCodeModel owner;
+
+ JAnnotationArrayMember(JCodeModel owner) {
+ this.owner = owner;
+ }
+
+ /**
+ * Adds an array member to this annotation
+ *
+ * @param value Adds a string value to the array member
+ * @return The JAnnotationArrayMember. More elements can be added by calling
+ * the same method multiple times
+ */
+ public JAnnotationArrayMember param(String value) {
+ JAnnotationValue annotationValue = new JAnnotationStringValue(JExpr.lit(value));
+ values.add(annotationValue);
+ return this;
+ }
+
+ public JAnnotationArrayMember param(boolean value) {
+ JAnnotationValue annotationValue = new JAnnotationStringValue(JExpr.lit(value));
+ values.add(annotationValue);
+ return this;
+ }
+
+ /**
+ * Adds an array member to this annotation
+ *
+ * @param value Adds an int value to the array member
+ * @return The JAnnotationArrayMember. More elements can be added by calling
+ * the same method multiple times
+ */
+ public JAnnotationArrayMember param(int value) {
+ JAnnotationValue annotationValue = new JAnnotationStringValue(JExpr.lit(value));
+ values.add(annotationValue);
+ return this;
+ }
+
+ /**
+ * Adds an array member to this annotation
+ *
+ * @param value Adds a float value to the array member
+ * @return The JAnnotationArrayMember. More elements can be added by calling
+ * the same method multiple times
+ */
+ public JAnnotationArrayMember param(float value) {
+ JAnnotationValue annotationValue = new JAnnotationStringValue(JExpr.lit(value));
+ values.add(annotationValue);
+ return this;
+ }
+
+ public JAnnotationArrayMember param(Class value){
+ JAnnotationValue annotationValue = new JAnnotationStringValue(JExpr.lit(value.getName()));
+ values.add(annotationValue);
+ return this;
+ }
+
+ public JAnnotationArrayMember param(JType type){
+ JClass clazz = type.boxify();
+ JAnnotationValue annotationValue = new JAnnotationStringValue ( clazz.dotclass() );
+ values.add(annotationValue);
+ return this;
+ }
+
+ /**
+ * Adds a new annotation to the array.
+ */
+ public JAnnotationUse annotate(Class<? extends Annotation> clazz){
+ return annotate(owner.ref(clazz));
+ }
+
+ /**
+ * Adds a new annotation to the array.
+ */
+ public JAnnotationUse annotate(JClass clazz){
+ JAnnotationUse a = new JAnnotationUse(clazz);
+ values.add(a);
+ return a;
+ }
+
+ public <W extends JAnnotationWriter> W annotate2(Class<W> clazz) {
+ return TypedAnnotationWriter.create(clazz,this);
+ }
+
+ /**
+ * Adds an annotation member to this annotation array
+ * This can be used for e.g @XmlCollection(values= @XmlCollectionItem(type=Foo.class))
+ * @param value
+ * Adds a annotation to the array member
+ * @return
+ * The JAnnotationArrayMember. More elements can be added by calling
+ * the same method multiple times
+ *
+ * @deprecated
+ * use {@link #annotate}
+ */
+ public JAnnotationArrayMember param (JAnnotationUse value ){
+ values.add(value);
+ return this;
+ }
+
+ public void generate(JFormatter f) {
+ f.p('{').nl().i();
+
+ boolean first = true;
+ for (JAnnotationValue aValue : values) {
+ if (!first)
+ f.p(',').nl();
+ f.g(aValue);
+ first = false;
+ }
+ f.nl().o().p('}');
+ }
+}
+
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationStringValue.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationStringValue.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationStringValue.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,50 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+
+
+/**
+ * Captures the value of the annotation.
+ *
+ * @author
+ * Bhakti Mehta (bha...@su...)
+ */
+final class JAnnotationStringValue extends JAnnotationValue {
+
+ /**
+ * The value of the Annotation member
+ */
+ private final JExpression value;
+
+ JAnnotationStringValue(JExpression value) {
+ this.value = value;
+ }
+
+ public void generate(JFormatter f) {
+ f.g(value);
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationUse.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationUse.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationUse.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,293 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+
+import java.lang.annotation.Annotation;
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+/**
+ * Represents an annotation on a program element.
+ *
+ * TODO
+ * How to add enums to the annotations
+ * @author
+ * Bhakti Mehta (bha...@su...)
+ */
+public final class JAnnotationUse extends JAnnotationValue {
+
+ /**
+ * The {@link Annotation} class
+ */
+ private final JClass clazz;
+
+ /**
+ * Map of member values.
+ */
+ private Map<String,JAnnotationValue> memberValues;
+
+ JAnnotationUse(JClass clazz){
+ this.clazz = clazz;
+ }
+
+ private JCodeModel owner() {
+ return clazz.owner();
+ }
+
+ private void addValue(String name, JAnnotationValue annotationValue) {
+ // Use ordered map to keep the code generation the same on any JVM.
+ // Lazily created.
+ if(memberValues==null)
+ memberValues = new LinkedHashMap<String, JAnnotationValue>();
+ memberValues.put(name,annotationValue);
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ *
+ * @param name
+ * The simple name for this annotation
+ *
+ * @param value
+ * The boolean value for this annotation
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ */
+ public JAnnotationUse param(String name, boolean value){
+ addValue(name, new JAnnotationStringValue(JExpr.lit(value)));
+ return this;
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ * @param name
+ * The simple name for this annotation
+ *
+ * @param value
+ * The int member value for this annotation
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ */
+ public JAnnotationUse param(String name, int value){
+ addValue(name, new JAnnotationStringValue(JExpr.lit(value)));
+ return this;
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ * @param name
+ * The simple name for this annotation
+ *
+ * @param value
+ * The String member value for this annotation
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ */
+ public JAnnotationUse param(String name, String value){
+ //Escape string values with quotes so that they can
+ //be generated accordingly
+ addValue(name, new JAnnotationStringValue(JExpr.lit(value)));
+ return this;
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ * For adding class values as param
+ * @see #param(String, Class)
+ * @param name
+ * The simple name for this annotation
+ *
+ * @param value
+ * The annotation class which is member value for this annotation
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ */
+ public JAnnotationUse annotationParam(String name, Class<? extends Annotation> value) {
+ JAnnotationUse annotationUse = new JAnnotationUse(owner().ref(value));
+ addValue(name, annotationUse);
+ return annotationUse;
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ * @param name
+ * The simple name for this annotation
+ *
+ * @param value
+ * The enum class which is member value for this annotation
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ */
+ public JAnnotationUse param(String name, final Enum value) {
+ addValue(name, new JAnnotationValue() {
+ public void generate(JFormatter f) {
+ f.t(owner().ref(value.getDeclaringClass())).p('.').p(value.name());
+ }
+ });
+ return this;
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ * @param name
+ * The simple name for this annotation
+ *
+ * @param value
+ * The JEnumConstant which is member value for this annotation
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ */
+ public JAnnotationUse param(String name, JEnumConstant value){
+ addValue(name, new JAnnotationStringValue(value));
+ return this;
+ }
+
+ /**
+ * Adds a member value pair to this annotation
+ * This can be used for e.g to specify
+ * <pre>
+ * @XmlCollectionItem(type=Integer.class);
+ * <pre>
+ * For adding a value of Class<? extends Annotation>
+ * @link
+ * #annotationParam(java.lang.String, java.lang.Class<? extends java.lang.annotation.Annotation>)
+ * @param name
+ * The simple name for this annotation param
+ *
+ * @param value
+ * The class type of the param
+ * @return
+ * The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ *
+ *
+ *
+ */
+ public JAnnotationUse param(String name, Class value){
+ addValue(name, new JAnnotationStringValue(JExpr.lit(value.getName())));
+ return this;
+ }
+
+ /**
+ * Adds a member value pair to this annotation based on the
+ * type represented by the given JType
+ *
+ * @param name The simple name for this annotation param
+ * @param type the JType representing the actual type
+ * @return The JAnnotationUse. More member value pairs can
+ * be added to it using the same or the overloaded methods.
+ */
+ public JAnnotationUse param(String name, JType type){
+ JClass clazz = type.boxify();
+ addValue(name, new JAnnotationStringValue ( clazz.dotclass() ));
+ return this;
+ }
+
+ /**
+ * Adds a member value pair which is of type array to this annotation
+ * @param name
+ * The simple name for this annotation
+ *
+ * @return
+ * The JAnnotationArrayMember. For adding array values
+ * @see JAnnotationArrayMember
+ *
+ */
+ public JAnnotationArrayMember paramArray(String name){
+ JAnnotationArrayMember arrayMember = new JAnnotationArrayMember(owner());
+ addValue(name, arrayMember);
+ return arrayMember;
+ }
+
+
+// /**
+// * This can be used to add annotations inside annotations
+// * for e.g @XmlCollection(values= @XmlCollectionItem(type=Foo.class))
+// * @param className
+// * The classname of the annotation to be included
+// * @return
+// * The JAnnotationUse that can be used as a member within this JAnnotationUse
+// * @deprecated
+// * use {@link JAnnotationArrayMember#annotate}
+// */
+// public JAnnotationUse annotate(String className) {
+// JAnnotationUse annotationUse = new JAnnotationUse(owner().ref(className));
+// return annotationUse;
+// }
+
+ /**
+ * This can be used to add annotations inside annotations
+ * for e.g @XmlCollection(values= @XmlCollectionItem(type=Foo.class))
+ * @param clazz
+ * The annotation class to be included
+ * @return
+ * The JAnnotationUse that can be used as a member within this JAnnotationUse
+ * @deprecated
+ * use {@link JAnnotationArrayMember#annotate}
+ */
+ public JAnnotationUse annotate(Class <? extends Annotation> clazz) {
+ JAnnotationUse annotationUse = new JAnnotationUse(owner().ref(clazz));
+ return annotationUse;
+ }
+
+ public void generate(JFormatter f) {
+ f.p('@').g(clazz);
+ if(memberValues!=null) {
+ f.p('(');
+ boolean first = true;
+
+ if(isOptimizable()) {
+ // short form
+ f.g(memberValues.get("value"));
+ } else {
+ for (Map.Entry<String, JAnnotationValue> mapEntry : memberValues.entrySet()) {
+ if (!first) f.p(',');
+ f.p(mapEntry.getKey()).p('=').g(mapEntry.getValue());
+ first = false;
+ }
+ }
+ f.p(')');
+ }
+ }
+
+ private boolean isOptimizable() {
+ return memberValues.size()==1 && memberValues.containsKey("value");
+ }
+}
+
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationValue.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationValue.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationValue.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+/**
+ * Things that can be values of an annotation element.
+ *
+ * @author
+ * Bhakti Mehta (bha...@su...)
+ */
+public abstract class JAnnotationValue implements JGenerable {
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationWriter.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationWriter.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnnotationWriter.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+import java.lang.annotation.Annotation;
+
+/**
+ * Base interface for typed annotation writer.
+ *
+ * <p>
+ * Annotation compiler can generate a strongly typed annotation
+ * writer to assist applications to write uses of annotations.
+ * Such typed annotation writer interfaces all derive from
+ * this common interface.
+ *
+ * <p>
+ * The type parameter 'A' represents the
+ * @author Kohsuke Kawaguchi
+ */
+public interface JAnnotationWriter<A extends Annotation> {
+ /**
+ * Gets the underlying annotation use object to which we are writing.
+ */
+ JAnnotationUse getAnnotationUse();
+
+ /**
+ * The type of the annotation that this writer is writing.
+ */
+ Class<A> getAnnotationType();
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnonymousClass.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnonymousClass.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAnonymousClass.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,49 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+/**
+ * Anonymous class quick hack.
+ *
+ * @author
+ * Kohsuke Kawaguchi (koh...@su...)
+ */
+class JAnonymousClass extends JDefinedClass {
+
+ /**
+ * Base interface/class from which this anonymous class is built.
+ */
+ private final JClass base;
+
+ JAnonymousClass( JClass _base) {
+ super(_base.owner(), 0, null);
+ this.base = _base;
+ }
+
+ public String fullName() {
+ return base.fullName();
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArray.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArray.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArray.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,87 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+import java.util.ArrayList;
+import java.util.List;
+
+
+/**
+ * array creation and initialization.
+ */
+public final class JArray extends JExpressionImpl {
+
+ private final JType type;
+ private final JExpression size;
+ private List<JExpression> exprs = null;
+
+ /**
+ * Add an element to the array initializer
+ */
+ public JArray add(JExpression e) {
+ if (exprs == null)
+ exprs = new ArrayList<JExpression>();
+ exprs.add(e);
+ return this;
+ }
+
+ JArray(JType type, JExpression size) {
+ this.type = type;
+ this.size = size;
+ }
+
+ public void generate(JFormatter f) {
+
+ // generally we produce new T[x], but when T is an array type (T=T'[])
+ // then new T'[][x] is wrong. It has to be new T'[x][].
+ int arrayCount = 0;
+ JType t = type;
+
+ while( t.isArray() ) {
+ t = t.elementType();
+ arrayCount++;
+ }
+
+ f.p("new").g(t).p('[');
+ if (size != null)
+ f.g(size);
+ f.p(']');
+
+ for( int i=0; i<arrayCount; i++ )
+ f.p("[]");
+
+ if ((size == null) || (exprs != null))
+ f.p('{');
+ if (exprs != null) {
+ f.g(exprs);
+ } else {
+ f.p(' ');
+ }
+ if ((size == null) || (exprs != null))
+ f.p('}');
+ }
+
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayClass.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayClass.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayClass.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,123 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+import java.util.Iterator;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ * Array class.
+ *
+ * @author
+ * Kohsuke Kawaguchi (koh...@su...)
+ */
+final class JArrayClass extends JClass {
+
+ // array component type
+ private final JType componentType;
+
+
+ JArrayClass( JCodeModel owner, JType component ) {
+ super(owner);
+ this.componentType = component;
+ }
+
+
+ public String name() {
+ return componentType.name()+"[]";
+ }
+
+ public String fullName() {
+ return componentType.fullName()+"[]";
+ }
+
+ public String binaryName() {
+ return componentType.binaryName()+"[]";
+ }
+
+ public void generate(JFormatter f) {
+ f.g(componentType).p("[]");
+ }
+
+ public JPackage _package() {
+ return owner().rootPackage();
+ }
+
+ public JClass _extends() {
+ return owner().ref(Object.class);
+ }
+
+ public Iterator<JClass> _implements() {
+ return Collections.<JClass>emptyList().iterator();
+ }
+
+ public boolean isInterface() {
+ return false;
+ }
+
+ public boolean isAbstract() {
+ return false;
+ }
+
+ public JType elementType() {
+ return componentType;
+ }
+
+ public boolean isArray() {
+ return true;
+ }
+
+
+ //
+ // Equality is based on value
+ //
+
+ public boolean equals(Object obj) {
+ if(!(obj instanceof JArrayClass)) return false;
+
+ if( componentType.equals( ((JArrayClass)obj).componentType ) )
+ return true;
+
+ return false;
+ }
+
+ public int hashCode() {
+ return componentType.hashCode();
+ }
+
+ protected JClass substituteParams(JTypeVar[] variables, List<JClass> bindings) {
+ if( componentType.isPrimitive() )
+ return this;
+
+ JClass c = ((JClass)componentType).substituteParams(variables,bindings);
+ if(c==componentType)
+ return this;
+
+ return new JArrayClass(owner(),c);
+ }
+
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayCompRef.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayCompRef.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JArrayCompRef.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+/**
+ * array component reference.
+ */
+final class JArrayCompRef extends JExpressionImpl implements JAssignmentTarget {
+ /**
+ * JArray expression upon which this component will be accessed.
+ */
+ private final JExpression array;
+
+ /**
+ * Integer expression representing index of the component
+ */
+ private final JExpression index;
+
+ /**
+ * JArray component reference constructor given an array expression
+ * and index.
+ *
+ * @param array
+ * JExpression for the array upon which
+ * the component will be accessed,
+ *
+ * @param index
+ * JExpression for index of component to access
+ */
+ JArrayCompRef(JExpression array, JExpression index) {
+ if ((array == null) || (index == null)) {
+ throw new NullPointerException();
+ }
+ this.array = array;
+ this.index = index;
+ }
+
+ public void generate(JFormatter f) {
+ f.g(array).p('[').g(index).p(']');
+ }
+
+ public JExpression assign(JExpression rhs) {
+ return JExpr.assign(this,rhs);
+ }
+ public JExpression assignPlus(JExpression rhs) {
+ return JExpr.assignPlus(this,rhs);
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignment.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignment.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignment.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,57 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+
+/**
+ * Assignment statements, which are also expressions.
+ */
+public class JAssignment extends JExpressionImpl implements JStatement {
+
+ JAssignmentTarget lhs;
+ JExpression rhs;
+ String op = "";
+
+ JAssignment(JAssignmentTarget lhs, JExpression rhs) {
+ this.lhs = lhs;
+ this.rhs = rhs;
+ }
+
+ JAssignment(JAssignmentTarget lhs, JExpression rhs, String op) {
+ this.lhs = lhs;
+ this.rhs = rhs;
+ this.op = op;
+ }
+
+ public void generate(JFormatter f) {
+ f.g(lhs).p(op + '=').g(rhs);
+ }
+
+ public void state(JFormatter f) {
+ f.g(this).p(';').nl();
+ }
+
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignmentTarget.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignmentTarget.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAssignmentTarget.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,39 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+
+/**
+ * Marker interface for code components that can be placed to
+ * the left of '=' in an assignment.
+ *
+ * A left hand value can always be a right hand value, so
+ * this interface derives from {@link JExpression}.
+ */
+public interface JAssignmentTarget extends JGenerable, JExpression {
+ JExpression assign(JExpression rhs);
+ JExpression assignPlus(JExpression rhs);
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAtom.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAtom.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JAtom.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+
+/**
+ * JAtoms: Simple code components that merely generate themselves.
+ */
+final class JAtom extends JExpressionImpl {
+
+ private final String what;
+
+ JAtom(String what) {
+ this.what = what;
+ }
+
+ public void generate(JFormatter f) {
+ f.p(what);
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/codemodel/internal/JBlock.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/codemodel/internal/JBlock.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/codemodel/internal/JBlock.java 2007-06-25 07:24:46 UTC (rev 3299)
@@ -0,0 +1,451 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.codemodel.internal;
+
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Collections;
+
+/**
+ * A block of Java code, which may contain statements and local declarations.
+ *
+ * <p>
+ * {@link JBlock} contains a large number of factory methods that creates new
+ * statements/declarations. Those newly created statements/declarations are
+ * inserted into the {@link #pos() "current position"}. The position advances
+ * one every time you add a new instruction.
+ */
+public final class JBlock implements JGenerable, JStatement {
+
+ /**
+ * Declarations and statements contained in this block.
+ * Either {@link JStatement} or {@link JDeclaration}.
+ */
+ private final List<Object> content = new ArrayList<Object>();
+
+ /**
+ * Whether or not this block must be braced and indented
+ */
+ private boolean bracesRequired = true;
+ private boolean indentRequired = true;
+
+ /**
+ * Current position.
+ */
+ private int pos;
+
+ public JBlock() {
+ this(true,true);
+ }
+
+ public JBlock(boolean bracesRequired, boolean indentRequired) {
+ this.bracesRequired = bracesRequired;
+ this.indentRequired = indentRequired;
+ }
+
+ /**
+ * Returns a read-only view of {@link JStatement}s and {@link JDeclaration}
+ * in this block.
+ */
+ public List<Object> getContents() {
+ return Collections.unmodifiableList(content);
+ }
+
+ private <T> T insert( T statementOrDeclaration ) {
+ content.add(pos,statementOrDeclarati...
[truncated message content] |
|
From: <ls...@us...> - 2007-06-25 07:22:34
|
Revision: 3298
http://jnode.svn.sourceforge.net/jnode/?rev=3298&view=rev
Author: lsantha
Date: 2007-06-25 00:22:33 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/beans/
trunk/core/src/openjdk/com/com/sun/beans/ObjectHandler.java
trunk/core/src/openjdk/com/com/sun/beans/finder/
trunk/core/src/openjdk/com/com/sun/beans/finder/ClassFinder.java
trunk/core/src/openjdk/com/com/sun/beans/finder/PrimitiveTypeMap.java
Added: trunk/core/src/openjdk/com/com/sun/beans/ObjectHandler.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/beans/ObjectHandler.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/beans/ObjectHandler.java 2007-06-25 07:22:33 UTC (rev 3298)
@@ -0,0 +1,480 @@
+/*
+ * Copyright 2003-2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+
+package com.sun.beans;
+
+import com.sun.beans.finder.ClassFinder;
+
+import java.beans.*;
+import java.util.*;
+
+import org.xml.sax.*;
+
+import static java.util.Locale.ENGLISH;
+
+/**
+ * <b>WARNING</b>: This class is an implementation detail and only meant
+ * for use within the core platform. You should NOT depend upon it! This
+ * API may change drastically between dot dot release, and it may even be
+ * removed.
+ *
+ * @see java.beans.XMLEncoder
+ * @see java.io.ObjectInputStream
+ *
+ * @since 1.4
+ *
+ * @version 1.5 11/20/00
+ * @author Philip Milne
+ */
+public class ObjectHandler extends HandlerBase {
+
+ public static Class typeNameToClass(String typeName) {
+ typeName = typeName.intern();
+ if (typeName == "boolean") return Boolean.class;
+ if (typeName == "byte") return Byte.class;
+ if (typeName == "char") return Character.class;
+ if (typeName == "short") return Short.class;
+ if (typeName == "int") return Integer.class;
+ if (typeName == "long") return Long.class;
+ if (typeName == "float") return Float.class;
+ if (typeName == "double") return Double.class;
+ if (typeName == "void") return Void.class;
+ return null;
+ }
+
+ public static Class typeNameToPrimitiveClass(String typeName) {
+ typeName = typeName.intern();
+ if (typeName == "boolean") return boolean.class;
+ if (typeName == "byte") return byte.class;
+ if (typeName == "char") return char.class;
+ if (typeName == "short") return short.class;
+ if (typeName == "int") return int.class;
+ if (typeName == "long") return long.class;
+ if (typeName == "float") return float.class;
+ if (typeName == "double") return double.class;
+ if (typeName == "void") return void.class;
+ return null;
+ }
+
+ /**
+ * Returns the <code>Class</code> object associated with
+ * the class or interface with the given string name,
+ * using the default class loader.
+ *
+ * @param name fully qualified name of the desired class
+ * @param cl class loader from which the class must be loaded
+ * @return class object representing the desired class
+ *
+ * @exception ClassNotFoundException if the class cannot be located
+ * by the specified class loader
+ *
+ * @deprecated As of JDK version 7, replaced by
+ * {@link ClassFinder#resolveClass(String)}.
+ */
+ @Deprecated
+ public static Class classForName(String name) throws ClassNotFoundException {
+ return ClassFinder.resolveClass(name);
+ }
+
+ /**
+ * Returns the <code>Class</code> object associated with
+ * the class or interface with the given string name,
+ * using the given class loader.
+ *
+ * @param name fully qualified name of the desired class
+ * @param cl class loader from which the class must be loaded
+ * @return class object representing the desired class
+ *
+ * @exception ClassNotFoundException if the class cannot be located
+ * by the specified class loader
+ *
+ * @deprecated As of JDK version 7, replaced by
+ * {@link ClassFinder#resolveClass(String,ClassLoader)}.
+ */
+ @Deprecated
+ public static Class classForName(String name, ClassLoader cl)
+ throws ClassNotFoundException {
+ return ClassFinder.resolveClass(name, cl);
+ }
+
+ private Hashtable environment;
+ private Vector expStack;
+ private StringBuffer chars;
+ private XMLDecoder is;
+ private ClassLoader ldr;
+ private int itemsRead = 0;
+ private boolean isString;
+
+ public ObjectHandler() {
+ environment = new Hashtable();
+ expStack = new Vector();
+ chars = new StringBuffer();
+ }
+
+ public ObjectHandler(XMLDecoder is) {
+ this();
+ this.is = is;
+ }
+
+ /* loader can be null */
+ public ObjectHandler(XMLDecoder is, ClassLoader loader) {
+ this(is);
+ this.ldr = loader;
+ }
+
+
+ public void reset() {
+ expStack.clear();
+ chars.setLength(0);
+ MutableExpression e = new MutableExpression();
+ e.setTarget(classForName2("java.lang.Object"));
+ e.setMethodName("null");
+ expStack.add(e);
+ }
+
+ private Object getValue(Expression exp) {
+ try {
+ return exp.getValue();
+ }
+ catch (Exception e) {
+ if (is != null) {
+ is.getExceptionListener().exceptionThrown(e);
+ }
+ return null;
+ }
+ }
+
+ private void addArg(Object arg) {
+ lastExp().addArg(arg);
+ }
+
+ private Object pop(Vector v) {
+ int last = v.size()-1;
+ Object result = v.get(last);
+ v.remove(last);
+ return result;
+ }
+
+ private Object eval() {
+ return getValue(lastExp());
+ }
+
+ private MutableExpression lastExp() {
+ return (MutableExpression)expStack.lastElement();
+ }
+
+ public Object dequeueResult() {
+ Object[] results = lastExp().getArguments();
+ return results[itemsRead++];
+ }
+
+ private boolean isPrimitive(String name) {
+ return name != "void" && typeNameToClass(name) != null;
+ }
+
+ private void simulateException(String message) {
+ Exception e = new Exception(message);
+ e.fillInStackTrace();
+ if (is != null) {
+ is.getExceptionListener().exceptionThrown(e);
+ }
+ }
+
+ private Class classForName2(String name) {
+ try {
+ return ClassFinder.findClass(name, this.ldr);
+ }
+ catch (ClassNotFoundException e) {
+ if (is != null) {
+ is.getExceptionListener().exceptionThrown(e);
+ }
+ }
+ return null;
+ }
+
+ private HashMap getAttributes(AttributeList attrs) {
+ HashMap attributes = new HashMap();
+ if (attrs != null && attrs.getLength() > 0) {
+ for(int i = 0; i < attrs.getLength(); i++) {
+ attributes.put(attrs.getName(i), attrs.getValue(i));
+ }
+ }
+ return attributes;
+ }
+
+ public void startElement(String name, AttributeList attrs) throws SAXException {
+ name = name.intern(); // Xerces parser does not supply unique tag names.
+ if (this.isString) {
+ parseCharCode(name, getAttributes(attrs));
+ return;
+ }
+ chars.setLength(0);
+
+ HashMap attributes = getAttributes(attrs);
+ MutableExpression e = new MutableExpression();
+
+ // Target
+ String className = (String)attributes.get("class");
+ if (className != null) {
+ e.setTarget(classForName2(className));
+ }
+
+ // Property
+ Object property = attributes.get("property");
+ String index = (String)attributes.get("index");
+ if (index != null) {
+ property = new Integer(index);
+ e.addArg(property);
+ }
+ e.setProperty(property);
+
+ // Method
+ String methodName = (String)attributes.get("method");
+ if (methodName == null && property == null) {
+ methodName = "new";
+ }
+ e.setMethodName(methodName);
+
+ // Tags
+ if (name == "string") {
+ e.setTarget(String.class);
+ e.setMethodName("new");
+ this.isString = true;
+ }
+ else if (isPrimitive(name)){
+ Class wrapper = typeNameToClass(name);
+ e.setTarget(wrapper);
+ e.setMethodName("new");
+ parseCharCode(name, attributes);
+ }
+ else if (name == "class") {
+ e.setTarget(Class.class);
+ e.setMethodName("forName");
+ }
+ else if (name == "null") {
+ // Create an arbitrary expression that has a value of null - for
+ // consistency.
+ e.setTarget(Object.class);
+ e.setMethodName("getSuperclass");
+ e.setValue(null);
+ }
+ else if (name == "void") {
+ if (e.getTarget() == null) { // this check is for "void class="foo" method= ..."
+ e.setTarget(eval());
+ }
+ }
+ else if (name == "array") {
+ // The class attribute means sub-type for arrays.
+ String subtypeName = (String)attributes.get("class");
+ Class subtype = (subtypeName == null) ? Object.class : classForName2(subtypeName);
+ String length = (String)attributes.get("length");
+ if (length != null) {
+ e.setTarget(java.lang.reflect.Array.class);
+ e.addArg(subtype);
+ e.addArg(new Integer(length));
+ }
+ else {
+ Class arrayClass = java.lang.reflect.Array.newInstance(subtype, 0).getClass();
+ e.setTarget(arrayClass);
+ }
+ }
+ else if (name == "java") {
+ e.setValue(is); // The outermost scope is the stream itself.
+ }
+ else if (name == "object") {
+ }
+ else {
+ simulateException("Unrecognized opening tag: " + name + " " + attrsToString(attrs));
+ return;
+ }
+
+ // ids
+ String idName = (String)attributes.get("id");
+ if (idName != null) {
+ environment.put(idName, e);
+ }
+
+ // idrefs
+ String idrefName = (String)attributes.get("idref");
+ if (idrefName != null) {
+ e.setValue(lookup(idrefName));
+ }
+
+ // fields
+ String fieldName = (String)attributes.get("field");
+ if (fieldName != null) {
+ e.setValue(getFieldValue(e.getTarget(), fieldName));
+ }
+ expStack.add(e);
+ }
+
+ private Object getFieldValue(Object target, String fieldName) {
+ try {
+ Class type = target.getClass();
+ if (type == Class.class) {
+ type = (Class)target;
+ }
+ java.lang.reflect.Field f = sun.reflect.misc.FieldUtil.getField(type, fieldName);
+ return f.get(target);
+ }
+ catch (Exception e) {
+ if (is != null) {
+ is.getExceptionListener().exceptionThrown(e);
+ }
+ return null;
+ }
+ }
+
+ private String attrsToString(AttributeList attrs) {
+ StringBuffer b = new StringBuffer();
+ for (int i = 0; i < attrs.getLength (); i++) {
+ b.append(attrs.getName(i)+"=\""+attrs.getValue(i)+"\" ");
+ }
+ return b.toString();
+ }
+
+ public void characters(char buf [], int offset, int len) throws SAXException {
+ chars.append(new String(buf, offset, len));
+ }
+
+ private void parseCharCode(String name, Map map) {
+ if (name == "char") {
+ String value = (String) map.get("code");
+ if (value != null) {
+ int code = Integer.decode(value);
+ for (char ch : Character.toChars(code)) {
+ this.chars.append(ch);
+ }
+ }
+ }
+ }
+
+ public Object lookup(String s) {
+ Expression e = (Expression)environment.get(s);
+ if (e == null) {
+ simulateException("Unbound variable: " + s);
+ }
+ return getValue(e);
+ }
+
+ public void register(String id, Object value) {
+ Expression e = new MutableExpression();
+ e.setValue(value);
+ environment.put(id, e);
+ }
+
+ public void endElement(String name) throws SAXException {
+ name = name.intern(); // Xerces parser does not supply unique tag names.
+ if (name == "string") {
+ this.isString = false;
+ } else if (this.isString) {
+ return;
+ }
+ if (name == "java") {
+ return;
+ }
+ if (isPrimitive(name) || name == "string" || name == "class") {
+ addArg(chars.toString());
+ }
+ if (name == "object" || name == "array" || name == "void" ||
+ isPrimitive(name) || name == "string" || name == "class" ||
+ name == "null") {
+ Expression e = (Expression)pop(expStack);
+ Object value = getValue(e);
+ if (name != "void") {
+ addArg(value);
+ }
+ }
+ else {
+ simulateException("Unrecognized closing tag: " + name);
+ }
+ }
+}
+
+
+class MutableExpression extends Expression {
+ private Object target;
+ private String methodName;
+
+ private Object property;
+ private Vector argV = new Vector();
+
+ private String capitalize(String propertyName) {
+ if (propertyName.length() == 0) {
+ return propertyName;
+ }
+ return propertyName.substring(0, 1).toUpperCase(ENGLISH) + propertyName.substring(1);
+ }
+
+ public MutableExpression() {
+ super(null, null, null);
+ }
+
+ public Object[] getArguments() {
+ return argV.toArray();
+ }
+
+ public String getMethodName() {
+ if (property == null) {
+ return methodName;
+ }
+ int setterArgs = (property instanceof String) ? 1 : 2;
+ String methodName = (argV.size() == setterArgs) ? "set" : "get";
+ if (property instanceof String) {
+ return methodName + capitalize((String)property);
+ }
+ else {
+ return methodName;
+ }
+ }
+
+ public void addArg(Object arg) {
+ argV.add(arg);
+ }
+
+ public void setTarget(Object target) {
+ this.target = target;
+ }
+
+ public Object getTarget() {
+ return target;
+ }
+
+ public void setMethodName(String methodName) {
+ this.methodName = methodName;
+ }
+
+ public void setProperty(Object property) {
+ this.property = property;
+ }
+
+ public void setValue(Object value) {
+ super.setValue(value);
+ }
+
+ public Object getValue() throws Exception {
+ return super.getValue();
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/beans/finder/ClassFinder.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/beans/finder/ClassFinder.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/beans/finder/ClassFinder.java 2007-06-25 07:22:33 UTC (rev 3298)
@@ -0,0 +1,176 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+package com.sun.beans.finder;
+
+/**
+ * This is utility class that provides <code>static</code> methods
+ * to find a class with the specified name using the specified class loader.
+ *
+ * @since 1.7
+ *
+ * @version 1.8 05/05/07
+ * @author Sergey A. Malenkov
+ */
+public final class ClassFinder {
+ /**
+ * Returns the <code>Class</code> object associated
+ * with the class or interface with the given string name,
+ * using the default class loader.
+ * <p>
+ * The <code>name</code> can denote an array class
+ * (see {@link Class#getName} for details).
+ *
+ * @param name fully qualified name of the desired class
+ * @return class object representing the desired class
+ *
+ * @exception ClassNotFoundException if the class cannot be located
+ * by the specified class loader
+ *
+ * @see Class#forName(String)
+ * @see Class#forName(String,boolean,ClassLoader)
+ * @see ClassLoader#getSystemClassLoader()
+ * @see Thread#getContextClassLoader()
+ */
+ public static Class findClass( String name ) throws ClassNotFoundException {
+ try {
+ ClassLoader loader = Thread.currentThread().getContextClassLoader();
+ if ( loader == null ) {
+ // can be null in IE (see 6204697)
+ loader = ClassLoader.getSystemClassLoader();
+ }
+ if ( loader != null ) {
+ return Class.forName( name, false, loader );
+ }
+
+ } catch ( ClassNotFoundException exception ) {
+ // use current class loader instead
+ } catch ( SecurityException exception ) {
+ // use current class loader instead
+ }
+ return Class.forName( name );
+ }
+
+ /**
+ * Returns the <code>Class</code> object associated with
+ * the class or interface with the given string name,
+ * using the given class loader.
+ * <p>
+ * The <code>name</code> can denote an array class
+ * (see {@link Class#getName} for details).
+ * <p>
+ * If the parameter <code>loader</code> is null,
+ * the class is loaded through the default class loader.
+ *
+ * @param name fully qualified name of the desired class
+ * @param loader class loader from which the class must be loaded
+ * @return class object representing the desired class
+ *
+ * @exception ClassNotFoundException if the class cannot be located
+ * by the specified class loader
+ *
+ * @see #findClass(String,ClassLoader)
+ * @see Class#forName(String,boolean,ClassLoader)
+ */
+ public static Class findClass( String name, ClassLoader loader ) throws ClassNotFoundException {
+ if ( loader != null ) {
+ try {
+ return Class.forName( name, false, loader );
+ } catch ( ClassNotFoundException exception ) {
+ // use default class loader instead
+ } catch ( SecurityException exception ) {
+ // use default class loader instead
+ }
+ }
+ return findClass( name );
+ }
+
+ /**
+ * Returns the <code>Class</code> object associated
+ * with the class or interface with the given string name,
+ * using the default class loader.
+ * <p>
+ * The <code>name</code> can denote an array class
+ * (see {@link Class#getName} for details).
+ * <p>
+ * This method can be used to obtain
+ * any of the <code>Class</code> objects
+ * representing <code>void</code> or primitive Java types:
+ * <code>char</code>, <code>byte</code>, <code>short</code>,
+ * <code>int</code>, <code>long</code>, <code>float</code>,
+ * <code>double</code> and <code>boolean</code>.
+ *
+ * @param name fully qualified name of the desired class
+ * @return class object representing the desired class
+ *
+ * @exception ClassNotFoundException if the class cannot be located
+ * by the specified class loader
+ *
+ * @see #resolveClass(String,ClassLoader)
+ */
+ public static Class resolveClass( String name ) throws ClassNotFoundException {
+ return resolveClass( name, null );
+ }
+
+ /**
+ * Returns the <code>Class</code> object associated with
+ * the class or interface with the given string name,
+ * using the given class loader.
+ * <p>
+ * The <code>name</code> can denote an array class
+ * (see {@link Class#getName} for details).
+ * <p>
+ * If the parameter <code>loader</code> is null,
+ * the class is loaded through the default class loader.
+ * <p>
+ * This method can be used to obtain
+ * any of the <code>Class</code> objects
+ * representing <code>void</code> or primitive Java types:
+ * <code>char</code>, <code>byte</code>, <code>short</code>,
+ * <code>int</code>, <code>long</code>, <code>float</code>,
+ * <code>double</code> and <code>boolean</code>.
+ *
+ * @param name fully qualified name of the desired class
+ * @param loader class loader from which the class must be loaded
+ * @return class object representing the desired class
+ *
+ * @exception ClassNotFoundException if the class cannot be located
+ * by the specified class loader
+ *
+ * @see #findClass(String,ClassLoader)
+ * @see PrimitiveTypeMap#getType(String)
+ */
+ public static Class resolveClass( String name, ClassLoader loader ) throws ClassNotFoundException {
+ Class type = PrimitiveTypeMap.getType( name );
+ return ( type == null )
+ ? findClass( name, loader )
+ : type;
+ }
+
+ /**
+ * Disable instantiation.
+ */
+ private ClassFinder() {
+ }
+}
Added: trunk/core/src/openjdk/com/com/sun/beans/finder/PrimitiveTypeMap.java
===================================================================
--- trunk/core/src/openjdk/com/com/sun/beans/finder/PrimitiveTypeMap.java (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/beans/finder/PrimitiveTypeMap.java 2007-06-25 07:22:33 UTC (rev 3298)
@@ -0,0 +1,70 @@
+/*
+ * Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Sun designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Sun in the LICENSE file that accompanied this code.
+ *
+ * This code 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 General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
+ * CA 95054 USA or visit www.sun.com if you need additional information or
+ * have any questions.
+ */
+package com.sun.beans.finder;
+
+import java.util.HashMap;
+import java.util.Map;
+
+/**
+ * This utility class associates
+ * name of primitive type with appropriate class.
+ *
+ * @since 1.7
+ *
+ * @version 1.7 05/05/07
+ * @author Sergey A. Malenkov
+ */
+final class PrimitiveTypeMap {
+ /**
+ * Returns primitive type class by its name.
+ *
+ * @param name the name of primitive type
+ * @return found primitive type class,
+ * or <code>null</code> if not found
+ */
+ static Class getType( String name ) {
+ return map.get( name );
+ }
+
+ private static final Map<String, Class> map = new HashMap<String, Class>( 9 );
+
+ static {
+ map.put( boolean.class.getName(), boolean.class );
+ map.put( char.class.getName(), char.class );
+ map.put( byte.class.getName(), byte.class );
+ map.put( short.class.getName(), short.class );
+ map.put( int.class.getName(), int.class );
+ map.put( long.class.getName(), long.class );
+ map.put( float.class.getName(), float.class );
+ map.put( double.class.getName(), double.class );
+ map.put( void.class.getName(), void.class );
+ }
+
+ /**
+ * Disable instantiation.
+ */
+ private PrimitiveTypeMap() {
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-25 07:21:17
|
Revision: 3297
http://jnode.svn.sourceforge.net/jnode/?rev=3297&view=rev
Author: lsantha
Date: 2007-06-25 00:21:13 -0700 (Mon, 25 Jun 2007)
Log Message:
-----------
Openjdk integration.
Added Paths:
-----------
trunk/core/src/openjdk/com/com/sun/accessibility/
trunk/core/src/openjdk/com/com/sun/accessibility/internal/
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_de.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_en.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_es.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_fr.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_it.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ja.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ko.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_sv.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_CN.properties
trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_TW.properties
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility.properties 1.6 05/11/15
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.6 11/15/05
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=alert
+awtcomponent=AWT component
+checkbox=check box
+colorchooser=color chooser
+columnheader=column header
+combobox=combo box
+canvas=canvas
+desktopicon=desktop icon
+desktoppane=desktop pane
+dialog=dialog
+directorypane=directory pane
+glasspane=glass pane
+filechooser=file chooser
+filler=filler
+frame=frame
+internalframe=internal frame
+label=label
+layeredpane=layered pane
+list=list
+listitem=list item
+menubar=menu bar
+menu=menu
+menuitem=menu item
+optionpane=option pane
+pagetab=page tab
+pagetablist=page tab list
+panel=panel
+passwordtext=password text
+popupmenu=popup menu
+progressbar=progress bar
+pushbutton=push button
+radiobutton=radio button
+rootpane=root pane
+rowheader=row header
+scrollbar=scroll bar
+scrollpane=scroll pane
+separator=separator
+slider=slider
+splitpane=split pane
+swingcomponent=swing component
+table=table
+text=text
+tree=tree
+togglebutton=toggle button
+toolbar=tool bar
+tooltip=tool tip
+unknown=unknown
+viewport=viewport
+window=window
+#
+# accessible relations
+#
+labelFor=label for
+labeledBy=labeled by
+memberOf=member of
+controlledBy=controlledBy
+controllerFor=controllerFor
+#
+# accessible states
+#
+active=active
+armed=armed
+busy=busy
+checked=checked
+collapsed=collapsed
+editable=editable
+expandable=expandable
+expanded=expanded
+enabled=enabled
+focusable=focusable
+focused=focused
+iconified=iconified
+modal=modal
+multiline=multiple line
+multiselectable=multiselectable
+opaque=opaque
+pressed=pressed
+resizable=resizable
+selectable=selectable
+selected=selected
+showing=showing
+singleline=single line
+transient=transient
+visible=visible
+vertical=vertical
+horizontal=horizontal
+#
+# accessible actions
+#
+toggle expand=toggle expand
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=flows to
+flowsFrom=flows from
+subwindowOf=subwindow of
+parentWindowOf=parent window of
+embeds=embeds
+embeddedBy=embedded by
+childNodeOf=child node of
+
+#
+# accessible roles
+#
+header=header
+footer=footer
+paragraph=paragraph
+ruler=ruler
+editbar=editbar
+progressMonitor=progress monitor
+
+#
+# accessible states
+#
+managesDescendants=manages descendants
+indeterminate=indeterminate
+truncated=truncated
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML container
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_de.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_de.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_de.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_de.properties 1.10 06/04/18
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.10 04/18/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=Warnmeldung
+awtcomponent=AWT-Komponente
+checkbox=Kontrollk\u00e4stchen
+colorchooser=Farbauswahl
+columnheader=Spaltenkopf
+combobox=Kombinationsfeld
+canvas=Leinwand
+desktopicon=Desktop-Symbol
+desktoppane=Desktop-Bereich
+dialog=Dialogfeld
+directorypane=Verzeichnisbereich
+glasspane=Glasbereich
+filechooser=Dateiauswahl
+filler=F\u00fcllbereich
+frame=Rahmen
+internalframe=Innerer Rahmen
+label=Beschriftung
+layeredpane=\u00dcberlagertes Teilfenster
+list=Liste
+listitem=Listenelement
+menubar=Men\u00fcleiste
+menu=Men\u00fc
+menuitem=Men\u00fceintrag
+optionpane=Optionsbereich
+pagetab=Registerkarte
+pagetablist=Register
+panel=Steuerbereich
+passwordtext=Passworttext
+popupmenu=Popup-Men\u00fc
+progressbar=Fortschrittsanzeige
+pushbutton=Schaltfl\u00e4che
+radiobutton=Optionsfeld
+rootpane=Root-Bereich
+rowheader=Zeilenkopf
+scrollbar=Bildlaufleiste
+scrollpane=Bildlaufbereich
+separator=Trennzeichen
+slider=Schieberegler
+splitpane=Geteilter Anzeigebereich
+swingcomponent=Swing-Komponente
+table=Tabelle
+text=Text
+tree=Baumstruktur
+togglebutton=Umschaltfl\u00e4che
+toolbar=Symbolleiste
+tooltip=QuickInfo
+unknown=Unbekannt
+viewport=Anzeigeschnittstelle
+window=Fenster
+#
+# accessible relations
+#
+labelFor=Beschriftung f\u00fcr
+labeledBy=beschriftet von
+memberOf=Mitglied von
+controlledBy=Gesteuert von
+controllerFor=Steuerung f\u00fcr
+#
+# accessible states
+#
+active=aktiv
+armed=aktiviert
+busy=belegt
+checked=markiert
+collapsed=ausgeblendet
+editable=editierbar
+expandable=erweiterbar
+expanded=eingeblendet
+enabled=aktiviert
+focusable=fokussierbar
+focused=fokussiert
+iconified=minimiert
+modal=modal
+multiline=mehrzeilig
+multiselectable=mehrfach ausw\u00e4hlbar
+opaque=verdeckt
+pressed=gedr\u00fcckt
+resizable=skalierbar
+selectable=w\u00e4hlbar
+selected=ausgew\u00e4hlt
+showing=angezeigt
+singleline=einzeilig
+transient=tempor\u00e4r
+visible=sichtbar
+vertical=vertikal
+horizontal=horizontal
+#
+# accessible actions
+#
+toggle expand=ein-/ausblenden
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=flie\u00dft zu
+flowsFrom=flie\u00dft von
+subwindowOf=Unterfenster von
+parentWindowOf=\u00fcbergeordnetes Fenster von
+embeds=bettet ein
+embeddedBy=eingebettet in
+childNodeOf=untergeordneter Knoten von
+
+#
+# accessible roles
+#
+header=Kopfzeile
+footer=Fu\u00dfzeile
+paragraph=Absatz
+ruler=Lineal
+editbar=Bearbeitungsleiste
+progressMonitor=Fortschrittsmonitor
+
+#
+# accessible states
+#
+managesDescendants=verwaltet abgeleitete Objekte
+indeterminate=unbestimmt
+truncated=gek\u00fcrzt
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML-Container
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_en.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_en.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_en.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,144 @@
+# @(#)accessibility_en.properties 1.5 05/11/15
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.5 11/15/05
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=alert
+awtcomponent=AWT component
+checkbox=check box
+colorchooser=color chooser
+columnheader=column header
+combobox=combo box
+canvas=canvas
+desktopicon=desktop icon
+desktoppane=desktop pane
+dialog=dialog
+directorypane=directory pane
+glasspane=glass pane
+filechooser=file chooser
+filler=filler
+frame=frame
+internalframe=internal frame
+label=label
+layeredpane=layered pane
+list=list
+listitem=list item
+menubar=menu bar
+menu=menu
+menuitem=menu item
+optionpane=option pane
+pagetab=page tab
+pagetablist=page tab list
+panel=panel
+passwordtext=password text
+popupmenu=popup menu
+progressbar=progress bar
+pushbutton=push button
+radiobutton=radio button
+rootpane=root pane
+rowheader=row header
+scrollbar=scroll bar
+scrollpane=scroll pane
+separator=separator
+slider=slider
+splitpane=split pane
+swingcomponent=swing component
+table=table
+text=text
+tree=tree
+togglebutton=toggle button
+toolbar=tool bar
+tooltip=tool tip
+unknown=unknown
+viewport=viewport
+window=window
+#
+# accessible relations
+#
+labelFor=label for
+labeledBy=labeled by
+memberOf=member of
+controlledBy=controlledBy
+controllerFor=controllerFor
+#
+# accessible states
+#
+active=active
+armed=armed
+busy=busy
+checked=checked
+collapsed=collapsed
+editable=editable
+expandable=expandable
+expanded=expanded
+enabled=enabled
+focusable=focusable
+focused=focused
+iconified=iconified
+modal=modal
+multiline=multiple line
+multiselectable=multiselectable
+opaque=opaque
+pressed=pressed
+resizable=resizable
+selectable=selectable
+selected=selected
+showing=showing
+singleline=single line
+transient=transient
+visible=visible
+vertical=vertical
+horizontal=horizontal
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=flows to
+flowsFrom=flows from
+subwindowOf=subwindow of
+parentWindowOf=parent window of
+embeds=embeds
+embeddedBy=embedded by
+childNodeOf=child node of
+
+#
+# accessible roles
+#
+header=header
+footer=footer
+paragraph=paragraph
+ruler=ruler
+editbar=editbar
+progressMonitor=progress monitor
+
+#
+# accessible states
+#
+managesDescendants=manages descendants
+indeterminate=indeterminate
+truncated=truncated
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML container
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_es.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_es.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_es.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_es.properties 1.11 06/04/18
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.11 04/18/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=alerta
+awtcomponent=Componente AWT
+checkbox=casilla de verificaci\u00f3n
+colorchooser=selector de color
+columnheader=cabecera de columna
+combobox=cuadro combinado
+canvas=superficie
+desktopicon=icono de escritorio
+desktoppane=tablero de escritorio
+dialog=cuadro de di\u00e1logo
+directorypane=tablero de directorio
+glasspane=tablero de cristal
+filechooser=selector de archivos
+filler=rellenador
+frame=marco
+internalframe=marco interno
+label=etiqueta
+layeredpane=tablero en capas
+list=lista
+listitem=elemento de lista
+menubar=barra de men\u00fas
+menu=men\u00fa
+menuitem=elemento de men\u00fa
+optionpane=tablero de opciones
+pagetab=pesta\u00f1a de p\u00e1gina
+pagetablist=lista de pesta\u00f1as de p\u00e1gina
+panel=panel
+passwordtext=texto de contrase\u00f1a
+popupmenu=men\u00fa emergente
+progressbar=barra de progreso
+pushbutton=bot\u00f3n de acci\u00f3n
+radiobutton=bot\u00f3n de radio
+rootpane=tablero ra\u00edz
+rowheader=cabecera de filas
+scrollbar=barra de desplazamiento
+scrollpane=tablero de desplazamiento
+separator=separador
+slider=deslizador
+splitpane=tablero de divisi\u00f3n
+swingcomponent=componente swing
+table=tabla
+text=texto
+tree=\u00e1rbol
+togglebutton=bot\u00f3n conmutador
+toolbar=barra de herramientas
+tooltip=consejo de herramienta
+unknown=desconocido
+viewport=puerto de vista
+window=ventana
+#
+# accessible relations
+#
+labelFor=etiqueta para
+labeledBy=etiquetado por
+memberOf=miembro de
+controlledBy=controlado por
+controllerFor=controlador de
+#
+# accessible states
+#
+active=activo
+armed=armado
+busy=ocupado
+checked=marcado
+collapsed=contra\u00eddo
+editable=editable
+expandable=ampliable
+expanded=ampliado
+enabled=habilitado
+focusable=enfocable
+focused=enfocado
+iconified=convertido en icono
+modal=modal
+multiline=l\u00ednea m\u00faltiple
+multiselectable=multiseleccionable
+opaque=opaco
+pressed=pulsado
+resizable=redimensionable
+selectable=seleccionable
+selected=seleccionado
+showing=mostrando
+singleline=l\u00ednea \u00fanica
+transient=temporal
+visible=visible
+vertical=vertical
+horizontal=horizontal
+#
+# accessible actions
+#
+toggle expand=activar/desactivar ampliaci\u00f3n
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=llega a
+flowsFrom=procede de
+subwindowOf=ventana subordinada de
+parentWindowOf=ventana superior de
+embeds=incluye
+embeddedBy=se incluye en
+childNodeOf=nodo secundario de
+
+#
+# accessible roles
+#
+header=cabecera
+footer=pie
+paragraph=p\u00e1rrafo
+ruler=regla
+editbar=barra de edici\u00f3n
+progressMonitor=monitor de progresi\u00f3n
+
+#
+# accessible states
+#
+managesDescendants=gestiona objetos subordinados
+indeterminate=indeterminado
+truncated=truncado
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=Contenedor HTML
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_fr.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_fr.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_fr.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_fr.properties 1.10 06/04/18
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.10 04/18/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=alerte
+awtcomponent=Composant AWT
+checkbox=case \u00e0 cocher
+colorchooser=s\u00e9lecteur de couleurs
+columnheader=en-t\u00eate de colonne
+combobox=bo\u00eete de dialogue mixte
+canvas=canevas
+desktopicon=ic\u00f4ne de bureau
+desktoppane=sous-fen\u00eatre de bureau
+dialog=bo\u00eete de dialogue
+directorypane=sous-fen\u00eatre de r\u00e9pertoires
+glasspane=sous-fen\u00eatre de grossissement
+filechooser=s\u00e9lecteur de fichiers
+filler=\u00e9l\u00e9ment de remplissage
+frame=cadre
+internalframe=cadre interne
+label=\u00e9tiquette
+layeredpane=sous-fen\u00eatre superpos\u00e9e
+list=liste
+listitem=\u00e9l\u00e9ment de liste
+menubar=barre de menus
+menu=menu
+menuitem=option de menu
+optionpane=sous-fen\u00eatre d''options
+pagetab=onglet de page
+pagetablist=liste d''onglets de page
+panel=panneau
+passwordtext=texte de mot de passe
+popupmenu=menu contextuel
+progressbar=barre de progression
+pushbutton=bouton poussoir
+radiobutton=bouton radio
+rootpane=sous-fen\u00eatre racine
+rowheader=en-t\u00eate de ligne
+scrollbar=barre de d\u00e9filement
+scrollpane=sous-fen\u00eatre de d\u00e9filement
+separator=s\u00e9parateur
+slider=curseur
+splitpane=sous-fen\u00eatre divis\u00e9e
+swingcomponent=composant de bascule
+table=tableau
+text=texte
+tree=arbre
+togglebutton=bouton de basculement
+toolbar=barre d''outils
+tooltip=info-bulle
+unknown=inconnu
+viewport=cl\u00f4ture
+window=fen\u00eatre
+#
+# accessible relations
+#
+labelFor=\u00e9tiquette de
+labeledBy=libell\u00e9(e) par
+memberOf=membre de
+controlledBy=contr\u00f4l\u00e9 par
+controllerFor=contr\u00f4leur pour
+#
+# accessible states
+#
+active=actif(ve)
+armed=arm\u00e9(e)
+busy=occup\u00e9(e)
+checked=coch\u00e9e
+collapsed=r\u00e9duit(e)
+editable=modifiable
+expandable=extensible
+expanded=d\u00e9velopp\u00e9(e)
+enabled=activ\u00e9(e)
+focusable=zone d''entr\u00e9e possible
+focused=avec zone d''entr\u00e9e
+iconified=r\u00e9duit(e) \u00e0 une ic\u00f4ne
+modal=modal(e)
+multiline=ligne multiple
+multiselectable=multis\u00e9lectionnable
+opaque=opaque
+pressed=enfonc\u00e9
+resizable=redimensionnable
+selectable=s\u00e9lectionnable
+selected=s\u00e9lectionn\u00e9(e)
+showing=montrant
+singleline=ligne unique
+transient=transitoire
+visible=visible
+vertical=vertical(e)
+horizontal=horizontal(e)
+#
+# accessible actions
+#
+toggle expand=basculer le d\u00e9veloppement
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=flux vers
+flowsFrom=flux depuis
+subwindowOf=sous-fen\u00eatre de
+parentWindowOf=fen\u00eatre parente de
+embeds=incorpore
+embeddedBy=incorpor\u00e9 par
+childNodeOf=n\u0153ud enfant de
+
+#
+# accessible roles
+#
+header=en-t\u00eate
+footer=pied de page
+paragraph=paragraphe
+ruler=r\u00e8gle
+editbar=barre d'\u00e9dition
+progressMonitor=contr\u00f4le de la progression
+
+#
+# accessible states
+#
+managesDescendants=g\u00e8re les descendants
+indeterminate=ind\u00e9termin\u00e9
+truncated=tronqu\u00e9
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=Conteneur HTML
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_it.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_it.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_it.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_it.properties 1.10 06/04/18
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.10 04/18/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=allarme
+awtcomponent=componente AWT
+checkbox=casella di controllo
+colorchooser=selezione colori
+columnheader=intestazione colonna
+combobox=casella
+canvas=area di disegno
+desktopicon=icona del desktop
+desktoppane=sottofinestra del desktop
+dialog=finestra di dialogo
+directorypane=sottofinestra della directory
+glasspane=sottofinestra trasparente
+filechooser=selezione file
+filler=utilit\u00e0 riempimento
+frame=cornice
+internalframe=cornice interna
+label=etichetta
+layeredpane=sottofinestra a livelli
+list=elenco
+listitem=voce di elenco
+menubar=barra dei menu
+menu=menu
+menuitem=voce di menu
+optionpane=sottofinestra delle opzioni
+pagetab=scheda pagina
+pagetablist=elenco schede pagina
+panel=pannello
+passwordtext=testo della password
+popupmenu=menu a comparsa
+progressbar=barra di avanzamento
+pushbutton=pulsante
+radiobutton=pulsante di scelta
+rootpane=sottofinestra root
+rowheader=intestazione di riga
+scrollbar=barra di scorrimento
+scrollpane=scorri sottofinestra
+separator=separatore
+slider=cursore
+splitpane=sottofinestra doppia
+swingcomponent=componente swing
+table=tabella
+text=testo
+tree=albero
+togglebutton=interruttore
+toolbar=barra degli strumenti
+tooltip=descrizione comandi
+unknown=sconosciuto
+viewport=viewport
+window=finestra
+#
+# accessible relations
+#
+labelFor=etichetta per
+labeledBy=etichetta di
+memberOf=membro di
+controlledBy=controllato da
+controllerFor=controllore per
+#
+# accessible states
+#
+active=attivo
+armed=abilitato
+busy=occupato
+checked=verificato
+collapsed=ingrandito
+editable=modificabile
+expandable=espandibile
+expanded=espanso
+enabled=attivato
+focusable=attivabile in primo piano
+focused=in primo piano
+iconified=ridotto a icona
+modal=modale
+multiline=a righe multiple
+multiselectable=multi-selezionabile
+opaque=nascosto
+pressed=premuto
+resizable=ridimensionabile
+selectable=selezionabile
+selected=selezionato
+showing=visualizzato
+singleline=a riga singola
+transient=transitorio
+visible=visibile
+vertical=verticale
+horizontal=orizzontale
+#
+# accessible actions
+#
+toggle expand=abilita/disabilita espansione
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=va verso
+flowsFrom=proviene da
+subwindowOf=sottofinestra di
+parentWindowOf=finestra di livello superiore di
+embeds=incorpora
+embeddedBy=incorporato da
+childNodeOf=nodo figlio di
+
+#
+# accessible roles
+#
+header=intestazione
+footer=pi\u00e8 di pagina
+paragraph=paragrafo
+ruler=righello
+editbar=barra di modifica
+progressMonitor=stato avanzamento
+
+#
+# accessible states
+#
+managesDescendants=gestisce i discendenti
+indeterminate=indeterminato
+truncated=troncato
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=Contenitore HTML
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ja.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ja.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ja.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_ja.properties 1.8 06/04/10
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.8 04/10/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=\u8b66\u544a
+awtcomponent=AWT \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8
+checkbox=\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9
+colorchooser=\u30ab\u30e9\u30fc\u30c1\u30e5\u30fc\u30b6
+columnheader=\u5217\u30d8\u30c3\u30c0
+combobox=\u30b3\u30f3\u30dc\u30dc\u30c3\u30af\u30b9
+canvas=\u30ad\u30e3\u30f3\u30d0\u30b9
+desktopicon=\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u30a2\u30a4\u30b3\u30f3
+desktoppane=\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u533a\u753b
+dialog=\u30c0\u30a4\u30a2\u30ed\u30b0
+directorypane=\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u533a\u753b
+glasspane=\u30ac\u30e9\u30b9\u533a\u753b
+filechooser=\u30d5\u30a1\u30a4\u30eb\u30c1\u30e5\u30fc\u30b6
+filler=\u30d5\u30a3\u30e9\u30fc
+frame=\u30d5\u30ec\u30fc\u30e0
+internalframe=\u5185\u90e8\u30d5\u30ec\u30fc\u30e0
+label=\u30e9\u30d9\u30eb
+layeredpane=\u968e\u5c64\u5316\u3055\u308c\u305f\u533a\u753b
+list=\u30ea\u30b9\u30c8
+listitem=\u30ea\u30b9\u30c8\u9805\u76ee
+menubar=\u30e1\u30cb\u30e5\u30fc\u30d0\u30fc
+menu=\u30e1\u30cb\u30e5\u30fc
+menuitem=\u30e1\u30cb\u30e5\u30fc\u9805\u76ee
+optionpane=\u30aa\u30d7\u30b7\u30e7\u30f3\u533a\u753b
+pagetab=\u30da\u30fc\u30b8\u30bf\u30d6
+pagetablist=\u30da\u30fc\u30b8\u30bf\u30d6\u30ea\u30b9\u30c8
+panel=\u30d1\u30cd\u30eb
+passwordtext=\u30d1\u30b9\u30ef\u30fc\u30c9\u30c6\u30ad\u30b9\u30c8
+popupmenu=\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u30e1\u30cb\u30e5\u30fc
+progressbar=\u9032\u6357\u30d0\u30fc
+pushbutton=\u30d7\u30c3\u30b7\u30e5\u30dc\u30bf\u30f3
+radiobutton=\u30e9\u30b8\u30aa\u30dc\u30bf\u30f3
+rootpane=\u30eb\u30fc\u30c8\u533a\u753b
+rowheader=\u884c\u30d8\u30c3\u30c0
+scrollbar=\u30b9\u30af\u30ed\u30fc\u30eb\u30d0\u30fc
+scrollpane=\u30b9\u30af\u30ed\u30fc\u30eb\u533a\u753b
+separator=\u30bb\u30d1\u30ec\u30fc\u30bf
+slider=\u30b9\u30e9\u30a4\u30c0
+splitpane=\u5206\u5272\u533a\u753b
+swingcomponent=Swing \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8
+table=\u30c6\u30fc\u30d6\u30eb
+text=\u30c6\u30ad\u30b9\u30c8
+tree=\u30c4\u30ea\u30fc
+togglebutton=\u30c8\u30b0\u30eb\u30dc\u30bf\u30f3
+toolbar=\u30c4\u30fc\u30eb\u30d0\u30fc
+tooltip=\u30c4\u30fc\u30eb\u30d2\u30f3\u30c8
+unknown=\u672a\u77e5
+viewport=\u30d3\u30e5\u30fc\u30dd\u30fc\u30c8
+window=\u30a6\u30a3\u30f3\u30c9\u30a6
+#
+# accessible relations
+#
+labelFor=\u30e9\u30d9\u30eb\u5143
+labeledBy=\u30e9\u30d9\u30eb\u5148
+memberOf=\u6240\u5c5e\u30e1\u30f3\u30d0
+controlledBy=\u5236\u5fa1\u5bfe\u8c61
+controllerFor=\u5236\u5fa1\u5143
+#
+# accessible states
+#
+active=\u30a2\u30af\u30c6\u30a3\u30d6
+armed=\u4f5c\u52d5\u6e96\u5099\u5b8c\u4e86
+busy=\u30d3\u30b8\u30fc
+checked=\u30c1\u30a7\u30c3\u30af
+collapsed=\u77ed\u7e2e
+editable=\u7de8\u96c6\u53ef\u80fd
+expandable=\u5c55\u958b\u53ef\u80fd
+expanded=\u5c55\u958b
+enabled=\u6709\u52b9
+focusable=\u30d5\u30a9\u30fc\u30ab\u30b9\u53ef\u80fd
+focused=\u30d5\u30a9\u30fc\u30ab\u30b9
+iconified=\u30a2\u30a4\u30b3\u30f3\u5316
+modal=\u30e2\u30fc\u30c0\u30eb
+multiline=\u8907\u6570\u884c
+multiselectable=\u8907\u6570\u9078\u629e\u53ef\u80fd
+opaque=\u4e0d\u900f\u660e
+pressed=\u62bc\u4e0b
+resizable=\u30b5\u30a4\u30ba\u5909\u66f4\u53ef\u80fd
+selectable=\u9078\u629e\u53ef\u80fd
+selected=\u9078\u629e
+showing=\u8868\u793a
+singleline=\u5358\u4e00\u884c
+transient=\u4e00\u6642
+visible=\u53ef\u8996
+vertical=\u5782\u76f4
+horizontal=\u6c34\u5e73
+#
+# accessible actions
+#
+toggle expand=\u30c8\u30b0\u30eb\u5c55\u958b
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=\u30d5\u30ed\u30fc\u5148
+flowsFrom=\u30d5\u30ed\u30fc\u5143
+subwindowOf=\u30b5\u30d6\u30a6\u30a3\u30f3\u30c9\u30a6
+parentWindowOf=\u89aa\u30a6\u30a3\u30f3\u30c9\u30a6
+embeds=\u57cb\u3081\u8fbc\u307f
+embeddedBy=\u57cb\u3081\u8fbc\u307f\u5143
+childNodeOf=\u5b50\u30ce\u30fc\u30c9
+
+#
+# accessible roles
+#
+header=\u30d8\u30c3\u30c0
+footer=\u30d5\u30c3\u30bf
+paragraph=\u30d1\u30e9\u30b0\u30e9\u30d5
+ruler=\u30eb\u30fc\u30e9
+editbar=\u7de8\u96c6\u30d0\u30fc
+progressMonitor=\u9032\u6357\u30e2\u30cb\u30bf
+
+#
+# accessible states
+#
+managesDescendants=\u5b50\u5b6b\u3092\u7ba1\u7406
+indeterminate=\u4e0d\u78ba\u5b9a
+truncated=\u4e0d\u5b8c\u5168
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML \u30b3\u30f3\u30c6\u30ca
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ko.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ko.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_ko.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_ko.properties 1.8 06/04/10
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.8 04/10/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=\uacbd\uace0
+awtcomponent=AWT \uad6c\uc131\uc694\uc18c
+checkbox=\ud655\uc778\ub780
+colorchooser=\uc0c9\uc0c1 \uc120\ud0dd\uae30
+columnheader=\uc5f4 \uba38\ub9ac\uae00
+combobox=\ucf64\ubcf4 \uc0c1\uc790
+canvas=\uce94\ubc84\uc2a4
+desktopicon=\ub370\uc2a4\ud06c\ud0d1 \uc544\uc774\ucf58
+desktoppane=\ub370\uc2a4\ud06c\ud0d1 \ud45c\uc2dc \uc601\uc5ed
+dialog=\ub300\ud654 \uc0c1\uc790
+directorypane=\ub514\ub809\ud1a0\ub9ac \ud45c\uc2dc \uc601\uc5ed
+glasspane=\uae00\ub798\uc2a4 \ud45c\uc2dc \uc601\uc5ed
+filechooser=\ud30c\uc77c \uc120\ud0dd\uae30
+filler=\ud544\ub7ec
+frame=\ud504\ub808\uc784
+internalframe=\ub0b4\ubd80 \ud504\ub808\uc784
+label=\ub808\uc774\ube14
+layeredpane=\uacc4\uce35 \ud45c\uc2dc \uc601\uc5ed
+list=\ubaa9\ub85d
+listitem=\ubaa9\ub85d \ud56d\ubaa9
+menubar=\uba54\ub274 \ud45c\uc2dc\uc904
+menu=\uba54\ub274
+menuitem=\uba54\ub274 \ud56d\ubaa9
+optionpane=\uc635\uc158 \ud45c\uc2dc \uc601\uc5ed
+pagetab=\ud398\uc774\uc9c0 \ud0ed
+pagetablist=\ud398\uc774\uc9c0 \ud0ed \ubaa9\ub85d
+panel=\ud328\ub110
+passwordtext=\uc554\ud638 \ud14d\uc2a4\ud2b8
+popupmenu=\ud31d\uc5c5 \uba54\ub274
+progressbar=\uc9c4\ud589 \ub9c9\ub300
+pushbutton=\ub204\ub984 \ubc84\ud2bc
+radiobutton=\ub77c\ub514\uc624 \ubc84\ud2bc
+rootpane=\ub8e8\ud2b8 \ud45c\uc2dc \uc601\uc5ed
+rowheader=\ud589 \uba38\ub9ac\uae00
+scrollbar=\uc2a4\ud06c\ub864 \ub9c9\ub300
+scrollpane=\uc2a4\ud06c\ub864 \ud45c\uc2dc \uc601\uc5ed
+separator=\uad6c\ubd84\uc790
+slider=\uc2ac\ub77c\uc774\ub354
+splitpane=\ubd84\ud560 \ud45c\uc2dc \uc601\uc5ed
+swingcomponent=swing \uad6c\uc131\uc694\uc18c
+table=\ud14c\uc774\ube14
+text=\ud14d\uc2a4\ud2b8
+tree=\ud2b8\ub9ac
+togglebutton=\ud1a0\uae00 \ubc84\ud2bc
+toolbar=\ub3c4\uad6c \ubaa8\uc74c
+tooltip=\ub3c4\uad6c \ud301
+unknown=\uc54c\uc218 \uc5c6\uc74c
+viewport=\ubdf0\ud3ec\ud2b8
+window=\ucc3d
+#
+# accessible relations
+#
+labelFor=\ub808\uc774\ube14 \ub300\uc0c1
+labeledBy=\ub808\uc774\ube14 \uc9c0\uc815\uc790
+memberOf=\ub2e4\uc74c\uc758 \uad6c\uc131\uc6d0
+controlledBy=\uc81c\uc5b4\uc790
+controllerFor=\uc81c\uc5b4\uae30 \ub300\uc0c1
+#
+# accessible states
+#
+active=\ud65c\uc131
+armed=\ud06c\uae30
+busy=\uc0ac\uc6a9 \uc911
+checked=\uc120\ud0dd\ub428
+collapsed=\ucd95\uc18c\ub428
+editable=\ud3b8\uc9d1 \uac00\ub2a5
+expandable=\ud655\uc7a5 \uac00\ub2a5
+expanded=\ud655\uc7a5\ub428
+enabled=\ud65c\uc131\ud654\ub428
+focusable=\ud3ec\ucee4\uc2a4 \uac00\ub2a5
+focused=\ud3ec\ucee4\uc2a4 \uc9c0\uc815\ub428
+iconified=\uc544\uc774\ucf58\ud654\ub428
+modal=\ubaa8\ub2ec
+multiline=\ubcf5\uc218 \ud589
+multiselectable=\ubcf5\uc218\ub85c \uc120\ud0dd \uac00\ub2a5
+opaque=\ubd88\ud22c\uba85
+pressed=\ub204\ub984
+resizable=\ud06c\uae30 \uc870\uc815 \uac00\ub2a5
+selectable=\uc120\ud0dd \uac00\ub2a5
+selected=\uc120\ud0dd\ub428
+showing=\ud45c\uc2dc
+singleline=\ub2e8\uc120
+transient=\uc77c\uc2dc
+visible=\uac00\uc2dc
+vertical=\uc218\uc9c1
+horizontal=\uc218\ud3c9
+#
+# accessible actions
+#
+toggle expand=\ud1a0\uae00 \ud655\uc7a5
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=(\uc73c)\ub85c \ud750\ub984
+flowsFrom=\uc5d0\uc11c \ud750\ub984
+subwindowOf=\ud558\uc704 \ucc3d
+parentWindowOf=\uc0c1\uc704 \ucc3d
+embeds=\uc744(\ub97c) \ud3ec\ud568
+embeddedBy=\uc5d0 \ud3ec\ud568
+childNodeOf=\ud558\uc704 \ub178\ub4dc
+
+#
+# accessible roles
+#
+header=\uba38\ub9ac\ub9d0
+footer=\uaf2c\ub9ac\ub9d0
+paragraph=\ub2e8\ub77d
+ruler=\ub208\uae08\uc790
+editbar=\ud3b8\uc9d1 \ub3c4\uad6c
+progressMonitor=\uc9c4\ud589 \ubaa8\ub2c8\ud130
+
+#
+# accessible states
+#
+managesDescendants=\ud558\uc704 \ud56d\ubaa9 \uad00\ub9ac
+indeterminate=\ubd80\uc815
+truncated=\uc0dd\ub7b5
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML \ucee8\ud14c\uc774\ub108
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_sv.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_sv.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_sv.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_sv.properties 1.12 06/04/18
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.12 04/18/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=varning
+awtcomponent=AWT-komponent
+checkbox=kryssruta
+colorchooser=f\u00e4rgv\u00e4ljare
+columnheader=kolumnrubrik
+combobox=kombinationsruta
+canvas=bakgrund
+desktopicon=skrivbordsikon
+desktoppane=skrivbordsruta
+dialog=dialogruta
+directorypane=katalogruta
+glasspane=glasruta
+filechooser=filv\u00e4ljare
+filler=utfyllnad
+frame=ram
+internalframe=intern ram
+label=etikett
+layeredpane=staplad ruta
+list=lista
+listitem=listelement
+menubar=menylist
+menu=meny
+menuitem=menyalternativ
+optionpane=alternativruta
+pagetab=sidflik
+pagetablist=sidflikslista
+panel=panel
+passwordtext=l\u00f6senordstext
+popupmenu=snabbmeny
+progressbar=statuslist
+pushbutton=knapp
+radiobutton=envalsknapp
+rootpane=grundruta
+rowheader=radhuvud
+scrollbar=bl\u00e4ddringslist
+scrollpane=bl\u00e4dderruta
+separator=avskiljare
+slider=skjutreglage
+splitpane=delad ruta
+swingcomponent=swing-komponent
+table=tabell
+text=text
+tree=tr\u00e4d
+togglebutton=v\u00e4xlingsknapp
+toolbar=verktygsrad
+tooltip=knappbeskrivning
+unknown=ok\u00e4nd
+viewport=vyport
+window=f\u00f6nster
+#
+# accessible relations
+#
+labelFor=etikett f\u00f6r
+labeledBy=etikett av
+memberOf=medlem i
+controlledBy=kontrolleratAv
+controllerFor=styrenhetF\u00f6r
+#
+# accessible states
+#
+active=aktiv
+armed=anv\u00e4nd
+busy=upptagen
+checked=markerad
+collapsed=inf\u00e4lld
+editable=redigerbar
+expandable=ut\u00f6kningsbar
+expanded=ut\u00f6kad
+enabled=aktiverad
+focusable=fokuseringsbar
+focused=fokuserad
+iconified=minimerad
+modal=tillst\u00e5ndsberoende
+multiline=flera linjer
+multiselectable=multivalbar
+opaque=ogenomskinlig
+pressed=nedtryckt
+resizable=storleks\u00e4ndringsbar
+selectable=markeringsbar
+selected=vald
+showing=visa
+singleline=en rad
+transient=flytande
+visible=synlig
+vertical=vertikal
+horizontal=horisontell
+#
+# accessible actions
+#
+toggle expand=v\u00e4xla ut\u00f6ka
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=fl\u00f6dar till
+flowsFrom=fl\u00f6dar fr\u00e5n
+subwindowOf=delf\u00f6nster av
+parentWindowOf=\u00f6verordnat f\u00f6nster f\u00f6r
+embeds=b\u00e4ddar in
+embeddedBy=b\u00e4ddas in av
+childNodeOf=underordnad nod f\u00f6r
+
+#
+# accessible roles
+#
+header=sidhuvud
+footer=sidfot
+paragraph=stycke
+ruler=linjal
+editbar=redigeringslist
+progressMonitor=f\u00f6rloppsindikator
+
+#
+# accessible states
+#
+managesDescendants=hanterar efterf\u00f6ljare
+indeterminate=obest\u00e4mt
+truncated=avklippt
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML-container
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_CN.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_CN.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_CN.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_zh_CN.properties 1.8 06/04/10
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.8 04/10/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=\u8b66\u62a5
+awtcomponent=AWT \u7ec4\u4ef6
+checkbox=\u590d\u9009\u6846
+colorchooser=\u989c\u8272\u9009\u62e9\u5668
+columnheader=\u5217\u6807\u9898
+combobox=\u7ec4\u5408\u6846
+canvas=\u753b\u5e03
+desktopicon=\u684c\u9762\u56fe\u6807
+desktoppane=\u684c\u9762\u7a97\u683c
+dialog=\u5bf9\u8bdd
+directorypane=\u76ee\u5f55\u7a97\u683c
+glasspane=\u73bb\u7483\u7a97\u683c
+filechooser=\u6587\u4ef6\u9009\u62e9\u5668
+filler=\u6f0f\u6597
+frame=\u5e27
+internalframe=\u5185\u90e8\u5e27
+label=\u6807\u7b7e
+layeredpane=\u5206\u5c42\u7a97\u683c
+list=\u5217\u8868
+listitem=\u5217\u8868\u9879
+menubar=\u83dc\u5355\u680f
+menu=\u83dc\u5355
+menuitem=\u83dc\u5355\u9879
+optionpane=\u9009\u9879\u7a97\u683c
+pagetab=\u9875\u6807\u7b7e
+pagetablist=\u9875\u6807\u7b7e\u5217\u8868
+panel=\u9762\u677f
+passwordtext=\u5bc6\u7801\u6587\u672c
+popupmenu=\u5f39\u51fa\u5f0f\u83dc\u5355
+progressbar=\u8fdb\u5ea6\u6761
+pushbutton=\u6309\u94ae
+radiobutton=\u5355\u9009\u6309\u94ae
+rootpane=\u6839\u7a97\u683c
+rowheader=\u884c\u6807\u9898
+scrollbar=\u6eda\u52a8\u6761
+scrollpane=\u6eda\u52a8\u7a97\u683c
+separator=\u5206\u9694\u6761
+slider=\u6ed1\u5757
+splitpane=\u62c6\u5206\u7a97\u683c
+swingcomponent=\u65cb\u8f6c\u7ec4\u4ef6
+table=\u8868
+text=\u6587\u672c
+tree=\u6811
+togglebutton=\u5207\u6362\u6309\u94ae
+toolbar=\u5de5\u5177\u680f
+tooltip=\u5de5\u5177\u63d0\u793a
+unknown=\u672a\u77e5
+viewport=\u89c6\u53e3
+window=\u7a97\u53e3
+#
+# accessible relations
+#
+labelFor=\u6807\u7b7e\u5c5e\u4e8e
+labeledBy=\u6807\u7b7e\u5236\u4f5c\u8005
+memberOf=\u5c5e\u4e8e
+controlledBy=\u63a7\u5236\u8005
+controllerFor=\u63a7\u5236\u5bf9\u8c61
+#
+# accessible states
+#
+active=\u6d3b\u52a8
+armed=\u5f85\u547d
+busy=\u5fd9
+checked=\u5df2\u9009\u4e2d
+collapsed=\u5df2\u6536\u7f29
+editable=\u53ef\u7f16\u8f91
+expandable=\u53ef\u5c55\u5f00
+expanded=\u5df2\u5c55\u5f00
+enabled=\u5df2\u542f\u7528
+focusable=\u53ef\u96c6\u4e2d
+focused=\u5df2\u96c6\u4e2d
+iconified=\u56fe\u6807\u5f0f
+modal=\u6a21\u6001
+multiline=\u591a\u884c
+multiselectable=\u591a\u9009\u62e9
+opaque=\u4e0d\u900f\u660e
+pressed=\u5df2\u6309\u4e0b
+resizable=\u5927\u5c0f\u53ef\u8c03
+selectable=\u53ef\u9009\u62e9
+selected=\u5df2\u9009\u5b9a
+showing=\u6b63\u5728\u663e\u793a
+singleline=\u5355\u884c
+transient=\u77ac\u65f6
+visible=\u53ef\u89c1
+vertical=\u5782\u76f4
+horizontal=\u6c34\u5e73
+#
+# accessible actions
+#
+toggle expand=\u5207\u6362\u5c55\u5f00
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=\u6d41\u5411
+flowsFrom=\u6d41\u81ea
+subwindowOf=\u5b50\u7a97\u53e3
+parentWindowOf=\u7236\u7a97\u53e3
+embeds=\u5d4c\u5165\u9879
+embeddedBy=\u5d4c\u5165\u8005
+childNodeOf=\u5b50\u8282\u70b9
+
+#
+# accessible roles
+#
+header=\u9875\u7709
+footer=\u9875\u811a
+paragraph=\u6bb5\u843d
+ruler=\u6807\u5c3a
+editbar=\u7f16\u8f91\u680f
+progressMonitor=\u8fdb\u5ea6\u76d1\u89c6\u5668
+
+#
+# accessible states
+#
+managesDescendants=\u7ba1\u7406\u5b50\u5b59
+indeterminate=\u4e0d\u786e\u5b9a
+truncated=\u5df2\u622a\u65ad
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML \u5bb9\u5668
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
Added: trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_TW.properties
===================================================================
--- trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_TW.properties (rev 0)
+++ trunk/core/src/openjdk/com/com/sun/accessibility/internal/resources/accessibility_zh_TW.properties 2007-06-25 07:21:13 UTC (rev 3297)
@@ -0,0 +1,148 @@
+# @(#)accessibility_zh_TW.properties 1.9 06/04/10
+#
+# This properties file is used to create a PropertyResourceBundle
+# It contains Locale specific strings used be the Accessibility package.
+#
+# When this file is read in, the strings are put into the
+# defaults table. This is an implementation detail of the current
+# workings of Accessibility. DO NOT DEPEND ON THIS.
+# This may change in future versions of Accessibility as we improve
+# localization support.
+#
+# @version 1.9 04/10/06
+# @author Lynn Monsanto
+
+#
+# accessible roles
+#
+alert=\u8b66\u793a
+awtcomponent=AWT \u5143\u4ef6
+checkbox=\u6838\u53d6\u65b9\u584a
+colorchooser=\u8272\u5f69\u9078\u64c7\u5668
+columnheader=\u76f4\u6b04\u6a19\u984c
+combobox=\u4e0b\u62c9\u5f0f\u6e05\u55ae\u65b9\u584a
+canvas=\u756b\u5e03
+desktopicon=\u684c\u9762\u5716\u793a
+desktoppane=\u684c\u9762\u7a97\u683c
+dialog=\u5c0d\u8a71\u65b9\u584a
+directorypane=\u76ee\u9304\u7a97\u683c
+glasspane=\u6aa2\u8996\u7a97\u683c
+filechooser=\u6a94\u6848\u9078\u64c7\u5668
+filler=\u586b\u5145\u7269
+frame=\u6846\u67b6
+internalframe=\u5167\u90e8\u6846\u67b6
+label=\u6a19\u7c64
+layeredpane=\u5206\u5c64\u7a97\u683c
+list=\u6e05\u55ae
+listitem=\u6e05\u55ae\u9805\u76ee
+menubar=\u529f\u80fd\u8868\u5217
+menu=\u529f\u80fd\u8868
+menuitem=\u529f\u80fd\u8868\u9805\u76ee
+optionpane=\u9078\u9805\u7a97\u683c
+pagetab=\u9801\u9762\u6a19\u7c64
+pagetablist=\u9801\u9762\u6a19\u7c64\u6e05\u55ae
+panel=\u9762\u677f
+passwordtext=\u5bc6\u78bc\u6587\u5b57
+popupmenu=\u8e66\u73fe\u5f0f\u529f\u80fd\u8868
+progressbar=\u9032\u5ea6\u5217
+pushbutton=\u4e0b\u58d3\u6309\u9215
+radiobutton=\u55ae\u9078\u9215
+rootpane=root \u7a97\u683c
+rowheader=\u5217\u6a19\u984c
+scrollbar=\u6372\u8ef8
+scrollpane=\u6372\u52d5\u7a97\u683c
+separator=\u5206\u9694\u5143
+slider=\u6ed1\u52d5\u8ef8
+splitpane=\u5206\u5272\u7a97\u683c
+swingcomponent=Swing \u5143\u4ef6
+table=\u8868\u683c
+text=\u6587\u5b57
+tree=\u6a39\u72c0\u7d50\u69cb
+togglebutton=\u5207\u63db\u6309\u9215
+toolbar=\u5de5\u5177\u5217
+tooltip=\u5de5\u5177\u63d0\u793a
+unknown=\u672a\u77e5
+viewport=\u6aa2\u8996\u5340
+window=\u8996\u7a97
+#
+# accessible relations
+#
+labelFor=\u6a19\u793a\u5c0d\u8c61
+labeledBy=\u6a19\u793a\u8005
+memberOf=\u6240\u5c6c\u6210\u54e1
+controlledBy=\u63a7\u5236\u8005
+controllerFor=\u63a7\u5236\u5c0d\u8c61
+#
+# accessible states
+#
+active=\u4f5c\u7528\u4e2d
+armed=\u5df2\u914d\u5099
+busy=\u5fd9\u788c\u4e2d
+checked=\u5df2\u6838\u9078
+collapsed=\u5df2\u6536\u7e2e
+editable=\u53ef\u7de8\u8f2f
+expandable=\u53ef\u64f4\u5c55
+expanded=\u5df2\u64f4\u5c55
+enabled=\u5df2\u555f\u52d5
+focusable=\u53ef\u805a\u7126
+focused=\u5df2\u805a\u7126
+iconified=\u5df2\u5716\u793a\u5316
+modal=\u6a21\u614b
+multiline=\u591a\u884c
+multiselectable=\u53ef\u591a\u91cd\u9078\u53d6
+opaque=\u4e0d\u900f\u660e
+pressed=\u5df2\u6309\u4e0b
+resizable=\u53ef\u8abf\u6574\u5927\u5c0f
+selectable=\u53ef\u9078\u53d6
+selected=\u5df2\u9078\u53d6
+showing=\u986f\u793a
+singleline=\u55ae\u884c
+transient=\u66ab\u6642\u7684
+visible=\u53ef\u898b\u7684
+vertical=\u5782\u76f4
+horizontal=\u6c34\u5e73
+#
+# accessible actions
+#
+toggle expand=\u5207\u63db\u64f4\u5c55
+
+# new relations, roles and states for J2SE 1.5.0
+
+#
+# accessible relations
+#
+flowsTo=\u6d41\u52d5\u81f3
+flowsFrom=\u6d41\u52d5\u81ea
+subwindowOf=\u5b50\u8996\u7a97
+parentWindowOf=\u7236\u7cfb\u8996\u7a97
+embeds=\u5167\u5d4c
+embeddedBy=\u5167\u5d4c\u8005
+childNodeOf=\u5b50\u7bc0\u9ede
+
+#
+# accessible roles
+#
+header=\u9801\u9996
+footer=\u9801\u5c3e
+paragraph=\u6bb5\u843d
+ruler=\u6a19\u5c3a
+editbar=\u7de8\u8f2f\u5217
+progressMonitor=\u9032\u5ea6\u76e3\u8996\u5668
+
+#
+# accessible states
+#
+managesDescendants=\u7ba1\u7406\u5b50\u4ee3
+indeterminate=\u4e0d\u78ba\u5b9a
+truncated=\u5df2\u622a\u65b7
+
+# new for J2SE 1.6.0
+
+#
+# accessible roles
+#
+htmlcontainer=HTML \u5bb9\u5668
+
+#
+# END OF MATERIAL TO LOCALIZE
+#
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-23 05:10:38
|
Revision: 3296
http://jnode.svn.sourceforge.net/jnode/?rev=3296&view=rev
Author: lsantha
Date: 2007-06-22 22:10:37 -0700 (Fri, 22 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/src/classpath/java/java/lang/System.java
Modified: trunk/core/src/classpath/java/java/lang/System.java
===================================================================
--- trunk/core/src/classpath/java/java/lang/System.java 2007-06-23 05:04:10 UTC (rev 3295)
+++ trunk/core/src/classpath/java/java/lang/System.java 2007-06-23 05:10:37 UTC (rev 3296)
@@ -44,6 +44,7 @@
import java.io.InputStream;
import java.io.PrintStream;
+import java.io.Console;
import java.util.AbstractCollection;
import java.util.Collection;
import java.util.Collections;
@@ -1086,4 +1087,23 @@
} // class EnvironmentSet<String>
+ //jnode
+ private static volatile Console cons = null;
+ /**
+ * Returns the unique {@link java.io.Console Console} object associated
+ * with the current Java virtual machine, if any.
+ *
+ * @return The system console, if any, otherwise <tt>null</tt>.
+ *
+ * @since 1.6
+ */
+ public static Console console() {
+ if (cons == null) {
+ synchronized (System.class) {
+ cons = sun.misc.SharedSecrets.getJavaIOAccess().console();
+ }
+ }
+ return cons;
+ }
+
} // class System
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <ls...@us...> - 2007-06-23 05:04:11
|
Revision: 3295
http://jnode.svn.sourceforge.net/jnode/?rev=3295&view=rev
Author: lsantha
Date: 2007-06-22 22:04:10 -0700 (Fri, 22 Jun 2007)
Log Message:
-----------
Openjdk integration.
Modified Paths:
--------------
trunk/core/descriptors/org.classpath.core.xml
Modified: trunk/core/descriptors/org.classpath.core.xml
===================================================================
--- trunk/core/descriptors/org.classpath.core.xml 2007-06-23 05:03:35 UTC (rev 3294)
+++ trunk/core/descriptors/org.classpath.core.xml 2007-06-23 05:04:10 UTC (rev 3295)
@@ -13,6 +13,9 @@
<library name="jnode-core.jar">
<export name="sun.misc.*"/>
+ <export name="sun.security.util.Debug"/>
+ <export name="sun.security.action.GetPropertyAction"/>
+ <export name="sun.security.jca.*"/>
<export name="sun.nio.cs.StreamEncoder"/>
<export name="sun.nio.cs.StreamDecoder"/>
@@ -110,6 +113,9 @@
<export name="javax.naming.NameAlreadyBoundException"/>
<export name="javax.naming.NamingException"/>
<export name="javax.naming.NameNotFoundException"/>
+ <export name="javax.naming.CompositeName"/>
+ <export name="javax.naming.NameImpl"/>
+ <export name="javax.naming.NameImplEnumerator"/>
<export name="javax.xml.parsers.*"/>
<export name="javax.xml.transform.*"/>
@@ -121,6 +127,9 @@
<export name="javax.security.auth.x500.*"/>
+ <export name="javax.crypto.spec.SecretKeySpec"/>
+ <export name="javax.crypto.SecretKey"/>
+
<export name="org.xml.sax.*"/>
<export name="org.jnode.java.io.*"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|