Imported GNU Classpath 0.90

Imported GNU Classpath 0.90
       * scripts/makemake.tcl: LocaleData.java moved to gnu/java/locale.

       * sources.am: Regenerated.
       * gcj/javaprims.h: Regenerated.
       * Makefile.in: Regenerated.
       * gcj/Makefile.in: Regenerated.
       * include/Makefile.in: Regenerated.
       * testsuite/Makefile.in: Regenerated.

       * gnu/java/lang/VMInstrumentationImpl.java: New override.
       * gnu/java/net/local/LocalSocketImpl.java: Likewise.
       * gnu/classpath/jdwp/VMMethod.java: Likewise.
       * gnu/classpath/jdwp/VMVirtualMachine.java: Update to latest
       interface.
       * java/lang/Thread.java: Add UncaughtExceptionHandler.
       * java/lang/reflect/Method.java: Implements GenericDeclaration and
       isSynthetic(),
       * java/lang/reflect/Field.java: Likewise.
       * java/lang/reflect/Constructor.java
       * java/lang/Class.java: Implements Type, GenericDeclaration,
       getSimpleName() and getEnclosing*() methods.
       * java/lang/Class.h: Add new public methods.
       * java/lang/Math.java: Add signum(), ulp() and log10().
       * java/lang/natMath.cc (log10): New function.
       * java/security/VMSecureRandom.java: New override.
       * java/util/logging/Logger.java: Updated to latest classpath
       version.
       * java/util/logging/LogManager.java: New override.

From-SVN: r113887
This commit is contained in:
Mark Wielaard
2006-05-18 17:29:21 +00:00
parent eaec4980e1
commit 4f9533c772
1640 changed files with 126485 additions and 104808 deletions
@@ -1,5 +1,5 @@
/* ServantActivatorPOA.java --
Copyright (C) 2005 Free Software Foundation, Inc.
Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -58,11 +58,11 @@ import org.omg.CORBA.portable.ResponseHandler;
* You do not need to derive your servant activator from this stub,
* it is enough to implement the {@link ServantActivator} interface.
* But you may choose to do this if you need the functional
* {@link #_all_interfaces()} method or want to keep default behavior during
* the incarnation or etherialization.
* {@link #_all_interfaces(POA, byte[])} method or want to keep default
* behavior during the incarnation or etherialization.
* </p>
*/
public class ServantActivatorPOA
public abstract class ServantActivatorPOA
extends Servant
implements InvokeHandler, ServantActivatorOperations
{
@@ -97,42 +97,6 @@ public class ServantActivatorPOA
}
}
/**
* It is your responsibility to handle the incarnation event and
* supply the servant.
* The default method instructs POA that the servant cannot be
* provided by activator. The OBJ_ADAPTER exception will be
* thrown by POA, unless the servant is provided as one of the
* parameters in the activation method, or the default servant is set.
*
* @see ServantActivatorOperations#incarnate
*
* @specnote in GNU Classpath, returning null means that the
* activator does not supply the servant. The servant can still be supplied
* as one of parameters in some POA activation methods or as a default
* servant.
*
* @throws ForwardRequest
*/
public Servant incarnate(byte[] Object_Id, POA poa)
throws ForwardRequest
{
return null;
}
/**
* It is your responsibility to handle the etherialization event.
* Override this method if using the class. The default method
* does nothing.
*
* @see ServantActivatorOperations#incarnate
*/
public void etherealize(byte[] Object_Id, POA poa, Servant servant,
boolean cleanup, boolean remains
)
{
}
/**
* Our implementation will not call this method. After setting your
* manager to POA, it will call incarnate and etherialize directly.