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 @@
/* ServantLocatorPOA.java --
Copyright (C) 2005 Free Software Foundation, Inc.
Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -59,12 +59,12 @@ import org.omg.PortableServer.ServantLocatorPackage.CookieHolder;
* You do not need to derive your servant locator from this stub,
* it is enough to implement the {@link ServantLocator} interface.
* But you may choose to do this if you need its functional
* {@link #_ids()} method or want to keep default behavior during per-
* or post- invokcations.
* {@link org.omg.PortableServer.ServantActivatorPOA.delegator#_ids()}
* method or want to keep default behaviour during pre- or post- invokcations.
* </p>
* @author Audrius Meskauskas, Lithuania (AudriusA@Bioinformatics.org)
*/
public class ServantLocatorPOA
public abstract class ServantLocatorPOA
extends Servant
implements ServantLocatorOperations, InvokeHandler
{
@@ -73,40 +73,6 @@ public class ServantLocatorPOA
*/
final ServantLocatorPOA THIS = this;
/**
* It is your responsibility to take the preinvoke actions, if any,
* and also supply an appropriate servant for the current invocation.
*
* The default method instructs POA that the servant cannot be
* provided by locator. The OBJ_ADAPTER exception will be
* thrown by POA, unless it uses the available default servant for all
* invocations.
*
* @specnote in GNU Classpath, returning null means that the
* locator does not supply the servant.
*
* @see ServantLocatorOperations#preinvoke
*/
public Servant preinvoke(byte[] Object_Id, POA poa, String method,
CookieHolder cookie_holder
)
throws org.omg.PortableServer.ForwardRequest
{
return null;
}
/**
* It is your responsibility to take the postinvoke actions, if any,
* by overriding this method. The default method does nothing.
*
* @see ServantLocatorOperations#postinvoke
*/
public void postinvoke(byte[] Object_Id, POA poa, String method,
java.lang.Object cookie, Servant servant
)
{
}
/**
* Our implementation will not call this method. After setting your
* manager to POA, it will call incarnate and etherialize directly.