aboutsummaryrefslogtreecommitdiff
path: root/libjava/java
AgeCommit message (Collapse)AuthorFilesLines
2003-03-312003-03-31 Michael Koch <konqueror@gmx.de>Michael Koch7-1/+81
* java/rmi/server/LoaderHandler.java (loadClass): Deprecated. (getSecurityContext): Deprecated. * java/rmi/server/LogStream.java (getDefaultStream): Deprecated. (setDefaultStream): Deprecated. (getOutputStream): Deprecated. (setOutputStream): Deprecated. (write): Deprecated. (toString): Deprecated. (parseLevel): Deprecated. * java/rmi/server/Operation.java (Operation): Deprecated. (getOperation): Deprecated. (toString): Deprecated. * java/rmi/server/RemoteCall.java (getOutputStream): Deprecated. (releaseOutputStream): Deprecated. (getInputStream): Deprecated. (releaseInputStream): Deprecated. (getResultStream): Deprecated. (executeCall): Deprecated. (done): Deprecated. * java/rmi/server/RemoteRef.java (invoke): Deprecated. (newCall): Deprecated. (done): Deprecated. * java/rmi/server/RemoteStub.java (setRef): Deprecated. * java/rmi/server/Skeleton.java: No need to import java.lang.Exception explicitly. (dispatch): Deprecated. (getOperations): Deprecated. From-SVN: r65079
2003-03-31VMID.java, [...]: Reformatted.Michael Koch7-147/+188
2003-03-31 Michael Koch <konqueror@gmx.de> * java/rmi/dgc/VMID.java, java/rmi/registry/RegistryHandler.java, java/rmi/server/LogStream.java, java/rmi/server/Operation.java, java/rmi/server/RemoteCall.java, java/rmi/server/RemoteRef.java, java/rmi/server/RemoteStub.java: Reformatted. From-SVN: r65078
2003-03-31String.java (data, [...]): Documented.Tom Tromey1-9/+30
* java/lang/String.java (data, boffset, count): Documented. (String(byte[],String)): Reformatted. (String(byte[])): Likewise. (lastIndexOf(int)): Likewise. (lastIndexOf(String)): Likewise. (substring(int)): Renamed argument to match Classpath. (String(StringBuffer)): Don't share buffer if it is nearly empty. From-SVN: r65070
2003-03-30String.java: Miscellaneous minor formatting changes to match Classpath more ↵Tom Tromey1-72/+72
closely. * java/lang/String.java: Miscellaneous minor formatting changes to match Classpath more closely. From-SVN: r65055
2003-03-30natString.cc (hashCode): Use cachedHashCode.Eric Blake2-15/+167
2003-03-29 Eric Blake <ebb9@email.byu.edu> Tom Tromey <tromey@redhat.com> * java/lang/natString.cc (hashCode): Use cachedHashCode. (init()): Removed. (charAt): Put index in exception. (contentEquals): New method. Include StringBuffer.h. * java/lang/String.java (cachedHashCode): New field. (String()): Follow classpath implementation. (init()): Removed. (contentEquals): Declare. (subSequence): Don't declare IndexOutIfBoundsException in throws clause. (matches, replaceFirst, replaceAll, split): New methods from Classpath. Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r65037
2003-03-30String.java: Reordered to follow Classpath; merged in javadoc.Tom Tromey1-128/+809
* java/lang/String.java: Reordered to follow Classpath; merged in javadoc. From-SVN: r65036
2003-03-29MessageFormat.java: Removed some whitespace.Tom Tromey1-1/+1
* java/text/MessageFormat.java: Removed some whitespace. * Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. * gnu/javax/rmi/PortableServer.java, gnu/javax/rmi/CORBA/DelegateFactory.java, gnu/javax/rmi/CORBA/GetDelegateInstanceException.java, gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java, gnu/javax/rmi/CORBA/StubDelegateImpl.java, gnu/javax/rmi/CORBA/UtilDelegateImpl.java, gnu/javax/rmi/CORBA/ValueHandlerImpl.java, javax/rmi/BAD_OPERATION.java, javax/rmi/ORB.java, javax/rmi/PortableRemoteObject.java, javax/rmi/CORBA/ClassDesc.java, javax/rmi/CORBA/ObjectImpl.java, javax/rmi/CORBA/PortableRemoteObjectDelegate.java, javax/rmi/CORBA/Stub.java, javax/rmi/CORBA/StubDelegate.java, javax/rmi/CORBA/SystemException.java, javax/rmi/CORBA/Tie.java, javax/rmi/CORBA/Util.java, javax/rmi/CORBA/UtilDelegate.java, javax/rmi/CORBA/ValueHandler.java: New files from Classpath. From-SVN: r65024
2003-03-29natClass.cc (newInstance): Put method name in exception.Tom Tromey1-6/+6
* java/lang/natClass.cc (newInstance): Put method name in exception. (getConstructor): Likewise. (getDeclaredConstructor): Likewise. (getPrivateMethod): Likewise. From-SVN: r65021
2003-03-29Proxy.java: New version from Classpath.Tom Tromey2-13/+6
* java/lang/reflect/Proxy.java: New version from Classpath. * java/lang/Package.java: New version from Classpath. From-SVN: r65007
2003-03-28File.java: Import needed classes instead of whole packages...Michael Koch3-64/+94
2003-03-28 Michael Koch <konqueror@gmx.de> * java/io/File.java: Import needed classes instead of whole packages, merged class documentation with classpath, moved constants and variables to top of class. * java/io/PrintStream.java: Merged class documentation with classpath, moved constants and variables to top of class. * java/io/RandomAccessFile.java (RandomAccessFile): Merged with classpath. (read): Merged with classpath). (read*): Reformatted. From-SVN: r64974
2003-03-282003-03-28 Michael Koch <konqueror@gmx.de>Michael Koch2-28/+14
* java/io/FileDescriptor.java (finalize): Throws Throwable, not IOException. * java/io/ObjectOutputStream.java (PutField.put): Doesnt throws anything. From-SVN: r64970
2003-03-282003�03-28 Michael Koch <konqueror@gmx.de>Michael Koch2-20/+37
* java/io/FileOutputStream.java: Merged class documentation and authors with classpath. (FileOutputStream): Partly merged with classpath. (write): Merged with classpath. (getChannel): Make it synchronized instead of explicit block in this method. * java/io/RandomAccessFile.java: Merged class documentation and authors with classpath. From-SVN: r64963
2003-03-26natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url.Tom Tromey1-0/+6
* java/lang/natRuntime.cc (insertSystemProperties): Set gnu.classpath.home.url. * Makefile.in: Rebuilt. * Makefile.am: Define LIBDIR. From-SVN: r64905
2003-03-252003-03-25 Michael Koch <konqueror@gmx.de>Michael Koch2-12/+125
* java/io/FileInputStream.java (read): Renamed b to buf and off to offset. * java/io/FileOutputStream.java (ch): Documentation added. (FileOutputStream): Documentation added. (getFD): Documentation added. (write): Documentation added. (close): Documentation added. (getChannel): Documentation added. From-SVN: r64845
2003-03-242003-03-24 Michael Koch <konqueror@gmx.de>Michael Koch8-50/+113
* java/io/DataOutputStream.java (write): Merged from classpath. * java/io/File.java: Merged copyrigth with classpath. * java/io/FileInputStream.java (getChannel): Made it synchronized instead of using a synchronized block. * java/io/FileOutputStream.java: Reformatted. * java/io/InputStreamReader.java (InputStreamReader): Renamed enc to encoding_name. (close): Merged documentation from classpath. (getEncoding): Merged documentation from classpath. (ready): Merged documentation from classpath. (read): Merged documentation from classpath. * java/io/LineNumberReader.java (lineNumber): Made it private. (LineNumberReader): Use Constant instead of a direct value. * java/io/OutputStreamWriter.java (OutputStreamWriter): Renamed enc to encoding_scheme, merged documentation from classpath. (close): Merged documentation from classpath. (flush): Merged documentation from classpath. (write): Merged documentation from classpath. * java/io/PrintStream.java: Reformatted. From-SVN: r64806
2003-03-24ActivationInstantiator.java: Reformatted.Michael Koch3-10/+9
2003-03-24 Michael Koch <konqueror@gmx.de> * java/rmi/activation/ActivationInstantiator.java: Reformatted. * java/rmi/activation/Activator.java: Reformatted. * java/rmi/registry/RegistryHandler.java: Remerged from classpath. From-SVN: r64800
2003-03-24Date.java: Fixed documentation starting tag to make javadoc happy.Michael Koch3-2/+5
2003-03-24 Michael Koch <konqueror@gmx.de> * java/util/Date.java: Fixed documentation starting tag to make javadoc happy. * java/util/regex/Pattern.java (Pattern): Implements Serializable. * java/util/PatternSyntaxException.java (serialVersionUID): New member variable. From-SVN: r64799
2003-03-242003-03-24 Michael Koch <koqnueror@gmx.de>Michael Koch3-6/+159
* java/awt/ContainerOrderFocusTraversalPolicy.java (getFirstComponent): Implemented. (getLastComponent): Implemented. (getDefaultComponent): Implemented. (setImplicitDownCycleTraversal): Fixed implementation. * java/awt/Robot.java (Robot): Added documentation. * java/awt/Toolkit.java (getFontList): Deprecated. (getFontMetrics): Deprecated. (getPrintJob): Added documentation. (getSystemSelection): Added documentation. (getLockingKeyState): Added documentation. (setLockingKeyState): Added documentation. (createCustomCursor): Added documentation. (getBestCursorSize): Added documentation. (getMaximumCursorColors): Added documentation. (isFrameStateSupported): Added documentation. From-SVN: r64798
2003-03-24RandomAccessFile.java: More little merges with libgcj.Michael Koch1-42/+403
2003-03-24 Michael Koch <konqueror@gmx.de> * java/io/RandomAccessFile.java: More little merges with libgcj. From-SVN: r64796
2003-03-24natInetAddressNoNet.cc: Include stddef.h.Michael Koch3-1/+6
2003-03-24 Michael Koch <konqueror@gmx.de> * java/net/natInetAddressNoNet.cc: Include stddef.h. * java/net/natPlainDatagramSocketImplNoNet.cc: Fixed inlcude of java/net/DatagramPacket.h. * java/net/natPlainSocketImplNoNet.cc: Include some missing classes. From-SVN: r64795
2003-03-242003-03-24 Michael Koch <konqueror@gmx.de>Michael Koch2-4/+8
* java/awt/dnd/DropTarget.java (DropTargetAutoScroller): According to the online documentation, this is protected, but in reality it is public. * java/awt/dnd/DropTargetContext.java (TransferableProxy): According to the online documentation, this is protected, but in reality it is public. From-SVN: r64794
2003-03-24DataInputStream.java (): Wrapped documentation line.Michael Koch9-437/+728
2003-03-24 Michael Koch <konqueror@gmx.de> * java/io/DataInputStream.java (): Wrapped documentation line. (): Fixed @return tag. * java/io/DataOutputStream.java (written): Moved to top of class. (all methods): Merged documentation from classpath. * java/io/File.java: Merged copyright year with classpath. * java/io/FileInputStream.java (all methods): Merged documentation from classpath. * java/io/LineNumberReader.java (getLineNumber): Fixed @return tag. * java/io/ObjectInputStream.java. Reformatted. * java/io/ObjectOutputStream.java: Reformatted, fixed some @see tags. * java/io/OutputStreamWriter.java: Deleted empty line. * java/io/Writer.java: Reformatted. From-SVN: r64780
2003-03-242003-03-24 Michael Koch <konqueror@gmx.de>Michael Koch1-2/+2
* java/awt/Frame.java (DEFAULT_CURSOR): Fixed @deprecated tag. (setCursor): Fixed @deprecated tag. From-SVN: r64779
2003-03-24BeanContextEvent.java: Reformated.Michael Koch1-47/+54
2003-03-24 Michael Koch <konqueror@gmx.de> * java/beans/beancontext/BeanContextEvent.java: Reformated. From-SVN: r64778
2003-03-24natStringBuffer.cc (regionMatches): New function.Eric Blake3-505/+690
2003-03-23 Eric Blake <ebb9@email.byu.edu> * java/lang/natStringBuffer.cc (regionMatches): New function. * java/lang/String.java (count): Now package-private. * java/lang/StringBuffer.java: Merged with Classpath. From-SVN: r64770
2003-03-23BufferedOutputStream.java: Reformated.Michael Koch26-969/+729
2003-03-23 Michael Koch <konqueror@gmx.de> * java/io/BufferedOutputStream.java: Reformated. * java/io/BufferedReader.java: Reformated. * java/io/ByteArrayOutputStream.java (size): Fixed @see tag. * java/io/CharArrayWriter.java (size): Fixed @see tag. * java/io/DataInput.java: Reformated. * java/io/DataOutput.java: Reformated. * java/io/DataOutputStream.java: Merged copyright years with classpath. * java/io/Externalizable.java: Reformated. * java/io/FileFilter.java: Reformated. * java/io/FileInputStream.java: Merged copyright years with classpath. * java/io/FileOutputStream.java: Merged copyright years with classpath. * java/io/FilePermission.java (FilePermission): Replaced @XXX with FIXME:. * java/io/FileWriter.java: Reformated. * java/io/FilenameFilter.java: Reformated. * java/io/FilterInputStream.java: Reformated. * java/io/FilterOutputStream.java: Reformated. * java/io/FilterReader.java: Reformated. * java/io/FilterWriter.java: Reformated. * java/io/LineNumberInputStream.java (LineNumberInputStream): Replaced @code with HTML tags to make javadoc happy. (getLineNumber): Fixed @return tag. * java/io/ObjectInput.java: Reformated. * java/io/ObjectOutput.java: Reformated. * java/io/ObjectStreamClass.java: Reformated. * java/io/PrintStream.java: Merged copyright years with classpath. * java/io/PushbackReader.java (PushbackReader): Replaced @code with @param. * java/io/SerializablePermission.java: Reformated. * java/io/StreamTokenizer.java (resetSyntax): Fixed @see tag. From-SVN: r64748
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch14-138/+208
* java/rmi/activation/Activatable.java (serialVersionUID): New member variable. * java/rmi/activation/ActivationGroup.java (serialVersionUID): New member variable. * java/rmi/activation/ActivationGroupDesc.java (serialVersionUID): New member variable. * java/rmi/registry/Registry.java: Reformated. (Registry): Deprecated. * java/rmi/server/LoaderHandler.java Reformated. (LoaderHandler): Deprecated. * java/rmi/server/LogStream.java Reformated. (LogStream): Deprecated. * java/rmi/server/Operation.java (Operation): Deprecated. * java/rmi/server/RMIFailureHandler.java: Reformated. * java/rmi/server/RMISocketFactory.java: Reformated. * java/rmi/server/RemoteCall.java (RemoteCall): Deprecated. * java/rmi/server/RemoteStub.java: Reformated. * java/rmi/server/Skeleton.java Reformated. (Skeleton): Deprecated. From-SVN: r64655
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch1-1/+137
* java/io/LineNumberReader.java (LineNumberReader): Merged documentation with classpath. (getLineNumber): Likewise. (setLineNumber): Likewise. (mark): Likewise. (reset): Likewise. (read): Likewise. (readLine): Likewise. (skip): Likewise. From-SVN: r64654
2003-03-212003-03-21 Michael Koch <konqueror@gmx.de>Michael Koch1-110/+9
* java/rmi/RMISecurityManager.java (checkAccept): Removed. (checkAccess): Likewise. (checkAccess): Likewise. (checkAwtEventQueueAccess): Likewise. (checkConnect): Likewise. (checkCreateClassLoader): Likewise. (checkDelete): Likewise. (checkExec): Likewise. (checkExit): Likewise. (checkLink): Likewise. (checkListen): Likewise. (checkMemberAccess): Likewise. (checkMulticast): Likewise. (checkPackageAccess): Likewise. (checkPackageDefinition): Likewise. (checkPermission): Likewise. (checkPrintJobAccess): Likewise. (checkPropertiesAccess): Likewise. (checkPropertyAccess): Likewise. (checkRead): Likewise. (checkSecurityAccess): Likewise. (checkSetFactory): Likewise. (checkSystemClipboardAccess): Likewise. (checkTopLevelWindow): Likewise. (checkWrite): Likewise. From-SVN: r64653
2003-03-20InetAddress.java, [...]: Merged copyright statements with classpath for ↵Michael Koch5-39/+180
easier merging. 2003-03-20 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java, java/net/JarURLConnection.java, java/net/PlainDatagramSocketImpl.java, java/net/PlainSocketImpl.java, java/net/URLConnection.java: Merged copyright statements with classpath for easier merging. From-SVN: r64611
2003-03-202003-03-20 Michael Koch <konqueror@gmx.de>Michael Koch3-7/+37
* java/io/FileInputStream.java (getChannel): New implementation. * java/io/FileOutputStream.java (ch): New member variable. (getChannel): Implemented. * java/io/RandomAccessFile.java (RandomAccessFile): Throws FileNotFoundException instead of IOException. (getChannel): New method. (ch): New member variable. From-SVN: r64609
2003-03-20DataOutputStream.java, [...]: Merged copyright statements with classpath for ↵Michael Koch9-63/+317
easier merging. 2003-03-20 Michael Koch <konqueror@gmx.de> * java/io/DataOutputStream.java, java/io/File.java, java/io/FileInputStream.java, java/io/FileOutputStream.java, java/io/InputStreamReader.java, java/io/LineNumberReader.java, java/io/OutputStreamWriter.java, java/io/PrintStream.java, java/io/RandomAccessFile.java: Merged copyright statements with classpath for easier merging. From-SVN: r64608
2003-03-19Process.java: Merged from classpath.Michael Koch1-2/+2
2003-03-19 Michael Koch <konqueror@gmx.de> * java/lang/Process.java: Merged from classpath. From-SVN: r64575
2003-03-192003-03-19 Michael Koch <konqueror@gmx.de>Michael Koch2-1/+46
* java/io/FileOutputStream.java (FileOutputStream): New constructor, merged from classpath. * java/io/FileWriter.java (FileWriter): New constructor, merged from classpath. From-SVN: r64574
2003-03-182003-03-18 Michael Koch <konqueror@gmx.de>Michael Koch4-203/+216
* java/awt/ScrollPane.java (ScrollPane): Rewrote for new ScrollPaneAdjustable. (getViewportSize): Likewise. (addNotify): Likewise. (removeNotify): Likewise. * java/awt/ScrollPaneAdjustable.java (ScrollPaneAdjustable): No longer extends Scrollbar. * java/beans/beancontext/BeanContextServices.java: Reformated. (getService): Added throws TooManyListenersException; * java/beans/beancontext/BeanContextServicesSupport.java: Reformated. From-SVN: r64538
2003-03-18BufferedOutputStream.java, [...]: More merges from classpath.Michael Koch5-808/+790
2003-03-18 Michael Koch <konqueror@gmx.de> * java/io/BufferedOutputStream.java, java/io/DataInput.java, java/io/DataInputStream.java, java/io/DataOutput.java, java/io/Externalizable.java: More merges from classpath. From-SVN: r64528
2003-03-18configure.in: Fixed links to platform dependant java.net files.Michael Koch4-2392/+0
2003-03-18 Michael Koch <konqueror@gmx.de> * configure.in: Fixed links to platform dependant java.net files. * configure: Regenerated. * java/net/natInetAddress.cc, java/net/natNetworkInterface.cc, java/net/natPlainDatagramSocketImpl.cc, java/net/natPlainSocketImpl.cc: Removed. From-SVN: r64527
2003-03-18configure.in: Create links to architecture dependent files...Michael Koch12-0/+4719
2003-03-18 Michael Koch <konqueror@gmx.de> * configure.in: Create links to architecture dependent files, introduced PLATFORMNET variable (set to NoNet for newlib usage). * configure: Regenerated. * java/net/natInetAddressNoNet.cc, java/net/natInetAddressPosix.cc, java/net/natInetAddressWin32.cc, java/net/natNetworkInterfaceNoNet.cc, java/net/natNetworkInterfacePosix.cc, java/net/natNetworkInterfaceWin32.cc, java/net/natPlainDatagramSocketImplNoNet.cc, java/net/natPlainDatagramSocketImplPosix.cc, java/net/natPlainDatagramSocketImplWin32.cc, java/net/natPlainSocketImplNoNet.cc, java/net/natPlainSocketImplPosix.cc, java/net/natPlainSocketImplWin32.cc: New files. From-SVN: r64526
2003-03-18BufferedReader.java, [...]: Merged from classpath.Michael Koch24-1239/+1245
2003-03-18 Michael Koch <konqueror@gmx.de> * java/io/BufferedReader.java, java/io/BufferedWriter.java, java/io/ByteArrayOutputStream.java, java/io/FileFilter.java, java/io/FilePermission.java, java/io/FileReader.java, java/io/FileWriter.java, java/io/FilenameFilter.java, java/io/FilterInputStream.java, java/io/FilterOutputStream.java, java/io/FilterReader.java, java/io/FilterWriter.java, java/io/ObjectInput.java, java/io/ObjectInputValidation.java, java/io/ObjectOutput.java, java/io/ObjectStreamField.java, java/io/PipedInputStream.java, java/io/PipedReader.java, java/io/PrintWriter.java, java/io/PushbackReader.java, java/io/Reader.java, java/io/SerializablePermission.java, java/io/StringReader.java, java/io/Writer.java: Merged from classpath. From-SVN: r64525
2003-03-17ScrollPaneAdjustable.java: Compile fixes.Michael Koch1-4/+11
2003-03-17 Michael Koch <konqueror@gmx.de> * java/awt/ScrollPaneAdjustable.java: Compile fixes. From-SVN: r64494
2003-03-172003-03-17 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+2
* java/net/DatagramSocket.java (connect): Fixed comment. * java/nio/ByteBuffer.java (hasArray): Fixed comment. From-SVN: r64487
2003-03-17Beans.java: Explicitely import classes not packages.Michael Koch6-50/+88
2003-03-17 Michael Koch <konqueror@gmx.de> * java/beans/Beans.java: Explicitely import classes not packages. * java/beans/FeatureDescriptor.java (preferred): New member variable. (isPreferred): New method. (setPreferred): New method. * java/beans/PropertyEditorManager.java: Explicitely import used classes. * java/beans/beancontext/BeanContextChild.java: Added line wrapping. * java/beans/beancontext/BeanContextChildSupport.java: Reindented. * java/beans/beancontext/BeanContextEvent.java: Reindented. From-SVN: r64486
2003-03-172003-03-17 Michael Koch <konqueror@gmx.de>Michael Koch4-13/+221
* java/awt/Dialog.java (Dialog): New constructor, changed implementations, added documentation. * java/awt/ScrollPaneAdjustable.java (ScrollPaneAdjustable): Extends Object, implements Adjustable and Serializable. (serialVersionUID): New member variable. (sp): New member variable. (orientation): New member variable. (value): New member variable. (minimum): New member variable. (maximum): New member variable. (visibleAmount): New member variable. (unitIncrement): New member variable. (blockIncrement): New member variable. (AdjustmentListener): New member variable. (ScrollPaneAdjustable): New implementation. (addAdjustmentListener): New method. (removeAdjustmentListener): New method. (getAdjustmentListeners): New method. (getBlockIncrement): New method. (getMaximum): New method. (getMinimum): New method. (getOrientation): New method. (getUnitIncrement): New method. (getValue): New method. (getVisibleAmount): New method. (setBlockIncrement): New method. (setMaximum): Implemented. (setMinimum): Implemented. (setUnitIncrement): New method. (setValue): New method. (setVisibleAmount): Implemented. (paramString): New stubbed method. * java/awt/Window.java (show): Call setVisible(). (hide): Call setVisible(). (processEvent): Add cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED. (processWindowFocusEvent): New method. (processWindowStateEvent): New method. (postEvent): Deprecated. (applyResourceBundle): Deprecated. * java/awt/datatransfer/DataFlavor.java (DataFlavor): Doesn't thow ClassNotFoundException. From-SVN: r64485
2003-03-17resolve.cc (ncode): Use _Jv_platform_ffi_abi.Tom Tromey1-24/+15
* resolve.cc (ncode): Use _Jv_platform_ffi_abi. Include platform.h. * java/lang/natRuntime.cc (insertSystemProperties): Use _Jv_platform_path_separator. (nativeGetLibname): Use _Jv_platform_file_separator. (_load): Use _Jv_platform_onload_names. (onload_names): New global. * include/win32.h (_Jv_platform_file_separator): New define. (_Jv_platform_path_separator): Likewise. (_Jv_platform_onload_names): Likewise. (_Jv_platform_ffi_abi): Likewise. * include/posix.h (_Jv_platform_file_separator): New define. (_Jv_platform_path_separator): Likewise. (_Jv_platform_onload_names): Likewise. (_Jv_platform_ffi_abi): Likewise. From-SVN: r64461
2003-03-15* java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.Hans Boehm1-3/+3
From-SVN: r64386
2003-03-14ObjectInputStream.java (readObject): Cleaned up the class hierarchy loop.Jeroen Frijters3-110/+90
2003-02-14 Jeroen Frijters <jeroen@sumatra.nl> * java/io/ObjectInputStream.java (readObject): Cleaned up the class hierarchy loop. (readFields(Object,ObjectStreamField[],boolean)): Changed argument list to Object,ObjectStreamClass, moved callReadMethod code up into readObject and added Class argument to all setXxxField calls. (callReadMethod): Changed Class argument to ObjectStreamClass to be consistent with ObjectOutputStream and to facilitate caching the Method in the future. (setBooleanField): Added Class argument. (setByteField): Likewise. (setCharField): Likewise. (setDoubleField): Likewise. (setFloatField): Likewise. (setIntField): Likewise. (setLongField): Likewise. (setShortField): Likewise. (setObjectField): Likewise. * java/io/ObjectOutputStream.java (writeObject): Cleaned up the class hierarchy loop. (defaultWriteObject): Call writeFields with new argument list. (writeFields(Object,ObjectStreamField[],boolean): Changed argument list to Object,ObjectStreamClass, moved callWriteMethod up into writeObject and added Class argument to all getXxxField calls. (callWriteMethod): Added ObjectStreamClass argument to be able to get the proper class to call getMethod on (each class can have (or not have) its own writeObject method). (getBooleanField): Added Class argument. (getByteField): Likewise. (getCharField): Likewise. (getDoubleField): Likewise. (getFloatField): Likewise. (getIntField): Likewise. (getLongField): Likewise. (getShortField): Likewise. (getObjectField): Likewise. * java/io/ObjectStreamClass.java (hasReadMethod): Added method to facilitate caching the Method object in the future. From-SVN: r64351
2003-03-112003-03-11 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+12
* gnu/java/nio/ByteBufferImpl.java (putInt): Use limit() instead of limit. * gnu/java/nio/CharBufferImpl.java (slice): Fixed implementation. (subSequence): Better bounds checking. * gnu/java/nio/MappedByteFileBuffer.java: Import all needed classes directly. * java/nio/ByteBuffer.java (hashCode): New dummy method. * java/nio/CharBuffer.java (array_offset): New member variable. (hasArray): Fixed documentation. (arrayOffset): Return array_offset. From-SVN: r64165
2003-03-10[multiple changes]Andrew Haley1-1/+5
2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com> * include/jvm.h: removed declaration of _Jv_ThisExecutable() setter; made return value of getter const char* instead of char* * prims.cc: removed all references to _Jv_ThisExecutable(). These are in the platform-specific sections now. * posix.cc: define platform-specific _Jv_ThisExecutable(). Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases * win32.cc: define platform-specific _Jv_ThisExecutable() using GetModuleFilename() * java/lang/natRuntime.cc: set gnu.gcj.progname property to argv[0] instead of _Jv_ThisExecutable() 2003-03-10 Ranjit Mathew <rmathew@hotmail.com> * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag that is set if we are using addr2name.awk instead of addr2line. (NameFinder): Set usingAddr2name if using addr2name.awk. (getExternalLabel): New native method to convert a method name to an external label. (lookup): Convert name given by addr2line to an external label before demangling. * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string constant representing the prefix attached to method names to convert them to an external label. (gnu::gcj::runtime::NameFinder::getExternalLabel): Define using LABEL_PREFIX. From-SVN: r64111
2003-03-102003-03-10 Michael Koch <konqueror@gmx.de>Michael Koch1-3/+14
* java/nio/ByteOrder.java (nativeOrder): Working implementation, added documentation. (toString): Added documentation. From-SVN: r64085
2003-03-10DatagramSocket.java, [...]: Fixed some documentation tags to make javadoc ↵Michael Koch5-22/+22
and friends happy. 2003-03-10 Michael Koch <konqueror@gmx.de> * java/net/DatagramSocket.java, java/net/MulticastSocket.java, java/net/Socket.java, java/net/URL.java, java/net/URLConnection.java: Fixed some documentation tags to make javadoc and friends happy. From-SVN: r64083