aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2003-03-17ScrollPaneAdjustable.java: Compile fixes.Michael Koch2-4/+16
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 Koch3-2/+9
* 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 Koch7-50/+105
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 Koch5-13/+269
* 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-17And now the version for the javax.print.attribute addition.Michael Koch2-0/+9
From-SVN: r64474
2003-03-172003-03-17 Michael KochMichael Koch4-0/+195
* javax/print/attribute/Attribute.java, javax/print/attribute/AttributeSet.java, javax/print/attribute/PrintRequestAttributeSet.java: New files. * Makefile.am (javax_source_files): Added new files: javax/print/attribute/Attribute.java javax/print/attribute/AttributeSet.java javax/print/attribute/PrintRequestAttributeSet.java * Makefile.in: Regenerated. From-SVN: r64473
2003-03-172003-03-17 Michael KochMichael Koch6-9/+348
* javax/print/attribute/Attribute.java, javax/print/attribute/AttributeSet.java, javax/print/attribute/PrintRequestAttributeSet.java: New files. * Makefile.am (awt_java_source_files): Added new files: javax/print/attribute/Attribute.java javax/print/attribute/AttributeSet.java javax/print/attribute/PrintRequestAttributeSet.java * Makefile.in: Regenerated. From-SVN: r64472
2003-03-17resolve.cc (ncode): Use _Jv_platform_ffi_abi.Tom Tromey5-32/+63
* 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 Boehm2-3/+7
From-SVN: r64386
2003-03-14ObjectInputStream.java (readObject): Cleaned up the class hierarchy loop.Jeroen Frijters4-110/+130
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-12configure.in: Avoid trailing /.Andreas Schwab3-74/+87
2003-03-10 Andreas Schwab <schwab@suse.de> boehm-gc: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libf2c: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libffi: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libjava: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libobjc: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libstdc++-v3: * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * aclocal.m4, configure: Rebuilt. zlib: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. From-SVN: r64267
2003-03-11initfield.java: New file.Tom Tromey3-0/+31
* libjava.lang/initfield.java: New file. * libjava.lang/initfield.out: New file. From-SVN: r64184
2003-03-112003-03-11 Michael Koch <konqueror@gmx.de>Michael Koch6-9/+45
* 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 Haley8-36/+127
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-10Makefile.in: Rebuilt.Tom Tromey3-5/+12
* Makefile.in: Rebuilt. * Makefile.am (GCJ_WITH_FLAGS): Added -Wno-deprecated. (JC1FLAGS): Removed -Wno-deprecated. From-SVN: r64097
2003-03-10* libjava.jacks/jacks.xfail: Updated to reflect reality.Tom Tromey2-13/+38
From-SVN: r64093
2003-03-102003-03-10 Michael Koch <konqueror@gmx.de>Michael Koch2-3/+20
* java/nio/ByteOrder.java (nativeOrder): Working implementation, added documentation. (toString): Added documentation. From-SVN: r64085
2003-03-10Forgot to add them to the commit command line beforeMichael Koch2-0/+6
From-SVN: r64084
2003-03-10DatagramSocket.java, [...]: Fixed some documentation tags to make javadoc ↵Michael Koch6-22/+31
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
2003-03-10BeanContextServicesSupport.java, [...]: New files.Michael Koch3-0/+731
2003-03-10 Michael Koch <koqnueror@gmx.de> * java/beans/beancontext/BeanContextServicesSupport.java, java/beans/beancontext/BeanContextSupport.java: New files. * Makefile.am (awt_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r64080
2003-03-102003-03-10 Michael Koch <konqueror@gmx.de>Michael Koch6-368/+518
* java/awt/FocusTraversalPolicy.java (FocusTraversalPolicy): Documentation added. (getComponentAfter): Documentation added. (getComponentBefore): Documentation added. (getFirstComponent): Documentation added. (getLastComponent): Documentation added. (getDefaultComponent): Documentation added. (getInitialComponent): Documentation added. * java/awt/ScrollPaneAdjustable.java (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): Rewrote. (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. (setUnitIncrement): New method. (setMaximum): Implemented. (setMinimum): Implemented. (setValue): New method. (setVisibleAmount): Implemented. (paramString): New method. * java/awt/Window.java (show): Use setVisible(true) instead of super.show(). (hide): Use sevVisible(false) instead of super.hide(). (processWindowEvent): Added cases for WINDOW_GAINED_FOCUS, WINDOW_LOST_FOCUS and WINDOW_STATE_CHANGED. (postEvent): Deprecated. (applyResourceBundle): Deprecated. (processWindowFocusEvent): New method. (processWindowStateEvent): New method. * java/awt/datatransfer/DataFlavor.java: Reindented. * java/awt/font/TextHitInfo.java (charIndex): New member variable. (leadingEdge): New member variable. (TextHitInfo): New constructor. (getCharIndex): Implemented. (isLeadingEdge): Implemented. (getInsertionIndex): Implemented. (hashCode): Access charIndex directly. (equals): Reformated. (leading): Implemented. (trailing): Implemented. (beforeOffset): Implemented. (afterOffset): Implemented. (getOtherHit): Implemented. (getOffsetHit): Implemented. (toString): Implemented. * java/awt/image/BufferedImage.java (BufferedImage): Implements WritableRenderedImage. (observers): New member variable. (addTileObserver): New method. (removeTileObserver): New method. From-SVN: r64078
2003-03-09re PR libgcj/9934 (Bugs in natFileDescriptorPosix.cc:available())Tom Tromey2-2/+8
PR libgcj/9934: * java/io/natFileDescriptorPosix.cc (available): Fixed arguments to lseek. Return 0 if we can't compute the value. From-SVN: r64053
2003-03-07No changelog, just replaced one tabulator with some spacesMichael Koch1-1/+1
to merge with classpath. From-SVN: r63929
2003-03-04NetworkInterface.java: Merged with classpath.Michael Koch2-2/+5
2003-03-03 Michael Koch <konqueror@gmx.de> * java/net/NetworkInterface.java: Merged with classpath. From-SVN: r63769
2003-03-03verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end of bytecode.Tom Tromey2-10/+22
* verify.cc (handle_jsr_insn): Don't fail if `jsr' appears at end of bytecode. (handle_ret_insn): Fail if returning to jsr that appears at end of bytecode. From-SVN: r63744
2003-03-032003-03-03 Michael Koch <konqueror@gmx.de>Michael Koch3-9/+24
* Makefile.am (ordinary_java_source_files): Added gnu/java/nio/MappedByteFileBuffer.java. (nat_source_files): Added gnu/java/nio/natMappedByteFileBuffer.cc. * Makefile.in: Regenerated. From-SVN: r63721
2003-03-032003-03-03 Michael Koch <konqueror@gmx.de>Michael Koch5-12/+30
* java/net/DatagramSocket.java (connect): Merged comment from classpath. (receive): Merged documentation from classpath. * java/net/Socket.java (setSoTimeout): Clarified documentation. * java/net/URL.java (getPath): Merged from classpath. (getUserInfo): Merged from classpath. (getQuery): Merged from classpath. * java/net/URLStreamHandler.java (toExternalForm): Merged from classpath. From-SVN: r63714
2003-03-02* libjava.mauve/xfails: Remove all AcuniaPropertiesTest failuresMark Wielaard2-7/+4
From-SVN: r63702
2003-03-02Properties.java (load): Only skip line if the first character is a comment, ↵Mark Wielaard2-3/+12
whitespaces don't count. * java/util/Properties.java (load): Only skip line if the first character is a comment, whitespaces don't count. From-SVN: r63700
2003-03-02NetPermission.java: Merged copyright with classpath.Michael Koch2-1/+6
2003-03-02 Michael Koch <konqueror@gmx.de> * java/net/NetPermission.java: Merged copyright with classpath. From-SVN: r63690
2003-03-02Package.java: Remerged from classpath.Michael Koch2-78/+109
2003-03-02 Michael Koch <konqueror@gmx.de> * java/lang/Package.java: Remerged from classpath. From-SVN: r63689
2003-03-02Removed accidentical commits.Michael Koch1-8/+0
From-SVN: r63686
2003-03-02Package.java: Little merge with libgcj.Michael Koch1-0/+8
2003-03-02 Michael Koch <konqueror@gmx.de> * java/lang/Package.java: Little merge with libgcj. From-SVN: r63685
2003-03-022003-03-02 Michael Koch <konqueror@gmx.de>Michael Koch5-5/+27
* java/net/HttpURLConnection.java (HTTP_SERVER_ERROR): Deprecated. * java/net/MulticastSocket.java (send): Replaced checkMulticast with appropriate checkPermission call, deprecated. * java/net/URLDecoder.java (decode): Deprecated. * java/net/URLEncoder.java (encode): Deprecated. From-SVN: r63679
2003-03-022003-03-02 Michael Koch <konqueror@gmx.de>Michael Koch3-5/+9
* javax/swing/text/Caret.java (getMagicCaretPosition): Fixed typo in method name. * javax/swing/text/DefaultCaret.java (getMagicCaretPosition): Fixed typo in method name. From-SVN: r63673
2003-03-022003-03-02 Michael Koch <konqueror@gmx.de>Michael Koch6-8/+39
* java/awt/List.java (setMultipleSelections): Deprecated. (delItem): Deprecated. * java/awt/MenuComponent.java (getPeer): Deprecated. * java/awt/ScrollPane.java (addNotify): getPeer() is deprecated. Use isDisplayable() instead. * java/awt/dnd/MouseDragGestureRecognizer.java (mouseClicked): Added comment. (mousePressed): Added comment. (mouseReleased): Added comment. (mouseEntered): Added comment. (mouseExited): Added comment. (mouseDragged): Added comment. (mouseMoved): Added comment. * java/awt/event/KeyEvent.java (KeyEvent): Deprecated. (setModifiers): Deprecated. From-SVN: r63672
2003-03-022003-03-02 Michael Koch <konqueror@gmx.de>Michael Koch3-44/+85
* gnu/java/nio/FileChannelImpl.java (fd): Type FileDescriptor instead of int. (lengthInternal): Removed. (FileChannelImpl): Fixed arguments, check type of file object. (size): Made it native. (implPosition): New native method. (implTruncate): New native method. (position): Implemented. (truncate): Implemented. (nio_mmap_file): Changed arguments. (nio_munmap_file): Changed arguments. (nio_msync): Changed arguments. * gnu/java/nio/natFileChannelImpl.cc (lengthInternal): Removed. (size): New method. (implPosition): New method. (implTruncate): New method. (nio_mmap_file): Changed arguments. (nio_munmap_file): Changed arguments. (nio_msync): Changed arguments. From-SVN: r63668
2003-03-02DropTargetContext.java: Compile fix: Forgot to commit import.Michael Koch2-0/+6
2003-03-02 Michael Koch <konqueror@gmx.de> * java/awt/dnd/DropTargetContext.java: Compile fix: Forgot to commit import. From-SVN: r63667
2003-03-02Component.java, [...]: Fixed typos.Michael Koch3-3/+9
2003-03-02 Michael Koch <konqueror@gmx.de> * java/awt/Component.java, java/awt/ScrollPane.java: Fixed typos. From-SVN: r63666
2003-03-02DnDEventMulticaster.java: New file.Michael Koch9-51/+354
2003-03-02 Michael Koch <konqueror@gmx.de> * java/awt/dnd/DnDEventMulticaster.java: New file. * java/awt/dnd/DragSource.java (flavorMap): New member variable. (dragSourceListener): New member variable. (dragSourceMotionListener): New member variable. (getFlavorMap): Implemented. (createDragGestureRecognizer): Implemented. (addDragSourceListener): Implemented. (removeDragSourceListener): Implemented. (getDragSourceListeners): Implemented. (addDragSourceMotionListener): Implemented. (removeDragSourceMotionListener): Implemented. (getDragSourceMotionListeners): Implemented. (getListeners): Implemented. * java/awt/dnd/DragSourceContext.java (peer): New member variable. (cursor): New member variable. (transferable): New member variable. (trigger): New member variable. (dragSourceListener): New member variable. (image): New member variable. (offset): New member variable. (DragSourceContext): Implemented. (getDragSource): Implemented. (getComponent): Implemented. (getTrigger): Implemented. (getSourceActions): Implemented. (setCursor): Implemented. (getCursor): Implemented. (addDragSourceListener): Implemented. (removeDragSourceListener): Implemented. (getTransferable): Implemented. * java/awt/dnd/DropTarget.java (DropTargetAutoScroller.component): New member variable. (DropTargetAutoScroller.point): New member variable. (DropTargetAutoScroller.DropTargetAutoScroller): Implemented. (DropTargetAutoScroller.updateLocation): Implemented. (active): Renamed from isActive, defaults to true now. (component): New member variable. (flavorMap): New member variable. (actions): New member variable. (dropTargetContext): New member variable. (dropTargetListener): New member variable. (DropTarget): Implemented. (getComponent): Implemented. (setComponent): Implemented. (setDefaultActions): Implemented. (getDefaultActions): Implemented. (setActive): Use active instead of isActive. (isActive): Use active instead of isActive. (addDropTargetListener): Implemented. (removeDropTargetListener): Implemented. (getFlavorMap): Implemented. (setFlavorMap): Implemented. (getDropTargetContext): Implemented. (createDropTargetContext): Implemented. (createDropTargetAutoScroller): Implemented. * java/awt/dnd/DropTargetContext.java (TransferableProxy.getTransferDataFlavors): Implemented. (TransferableProxy.isDataFlavorSupported): Implemented. (TransferableProxy.getTransferData): Implemented. (dropTarget): New member variable. (dtcp): New member variable. (DropTargetContext): New package private constructor. (getDropTarget): Implemented. (getComponent): Implemented. (addNotify): Implemented. (removeNotify): Implemented. (getCurrentDataFlavorsAsList): Implemented. (isDataFlavorSupported): Implemented. * java/awt/dnd/MouseDragGestureRecognizer.java (registerListeners): Implemented. (unregisterListeners): Implemented. * Makefile.am (awt_java_source_files): Added java/awt/dnd/DnDEventMulticaster.java. * Makefile.in: Regenerated. From-SVN: r63665
2003-03-022003-03-02 Michael Koch <konqueror@gmx.de>Michael Koch6-100/+258
* java/awt/Component.java (eventTypeEnabled): New method. (dispatchEventImpl): Moved checks for event to eventTypeEnabled. * java/awt/Container.java (changeSupport): New member variable. (addPropertyChangeListener): New methods. * java/awt/ContainerOrderFocusTraversalPolicy.java (ContainerOrderFocusTraversalPolicy): Added comment. (getComponentAfter): Throw exception, documentation added. (getComponentBefore): Throw exception, documentation added. (getFirstComponent): Throw exception, documentation added. (getLastComponent): Throw exception, documentation added. (getDefaultComponent): Throw exception, documentation added. * java/awt/EventQueue.java: Reindented. * java/awt/FocusTraversalPolicy.java: (FocusTraversalPolicy): Added comment. (getComponentAfter): Documentation added. (getComponentBefore): Documentation added. (getFirstComponent): Documentation added. (getLastComponent): Documentation added. (getDefaultComponent): Documentation added. (getInitialComponent): Documentation added. * java/awt/ScrollPane.java (wheelScrollingEnabled): New member variable. (ScrollPane): Initialize wheelScollingEnabled. (eventTypeEnabled): New method. (isWheelScrollingEnabled): New method. (setWheelScrollingEnabled): New method. From-SVN: r63663
2003-03-022003-03-02 Michael Koch <konqueror@gmx.de>Michael Koch2-15/+29
* java/net/DatagramSocket.java (closed): New member variable. (close): Use closed variable. (getInetAddress): No need to call isConnected(). (getPort): No need to call isConnected(). (disconnect): Reset remoteAddress and remotePort, fixed typo. (isClosed): Reimplemented. From-SVN: r63662
2003-03-02configure.in: Added check for memory mapping of files.Michael Koch4-0/+279
2003-03-02 Michael Koch <konqueror@gmx.de> * configure.in: Added check for memory mapping of files. * configure: Regenerated. * config.h.in: Regenerated. From-SVN: r63661
2003-03-02posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined.Jason Thorpe2-0/+10
* posix-threads.cc: Include <unistd.h> if HAVE_UNISTD_H is defined. (_Jv_ThreadSetPriority): Test for _POSIX_THREAD_PRIORITY_SCHEDULING. From-SVN: r63647
2003-03-02File.java (normalizePath): Remove trailing separator on Windows only if path ↵Ranjit Mathew3-20/+170
is not of the form "x:\". 2003-03-01 Ranjit Mathew <rmathew@hotmail.com> * java/io/File.java (normalizePath): Remove trailing separator on Windows only if path is not of the form "x:\". * java/io/natFileWin32.cc (WIN32_EPOCH_MILLIS): New constant. (java::io::File::attr): Change formatting a bit and use WIN32_EPOCH_MILLIS instead of magic numbers. (java::io::File::isAbsolute): Path must have at least 3 characters for a UNC network path. (java::io::File::init_native): Define. (java::io::File::performCreate): Likewise. (java::io::File::performSetReadOnly): Likewise. (java::io::File::performSetLastModified): Likewise. (java::io::File::performListRoots): Likewise. From-SVN: r63646
2003-03-02natObject.cc: Don't include assert.h.Tom Tromey2-25/+33
* java/lang/natObject.cc: Don't include assert.h. (heavy_lock_obj_finalization_proc): Use JvAssert. (remove_all_heavy): Likewise. (_Jv_MonitorEnter): Likewise. (_Jv_MonitorExit): Likewise. (wait): Likewise. From-SVN: r63636
2003-03-01File (getAbsolutePath): Prefix drive specifier on Windows for paths starting ↵Ranjit Mathew4-11/+71
with a '\'. 2003-03-01 Ranjit Mathew <rmathew@hotmail.com> * java/io/File (getAbsolutePath): Prefix drive specifier on Windows for paths starting with a '\'. (toURL): Make URL more consistent with what Sun's JDK returns. * java/io/natFileWin32.cc (java::io::File::isAbsolute): Return true only if the path is a UNC network path or it starts with a drive specifier. * java/net/URLStreamHandler.java (parseURL): Correct minor typo. Be prepared to handle either '/' or '\\' in the file path for Windows if using the "file" protocol. Canonicalise the file path if using a relative path in the given context and the "file" protocol. From-SVN: r63635
2003-03-01natWin32Process.cc (startProcess): Double-quote each program array element ↵Mohan Embar2-8/+14
passed to CreateProcess. 2003-03-01 Mohan Embar <gnustuff@thisiscool.com> * java/lang/natWin32Process.cc (startProcess): Double-quote each program array element passed to CreateProcess. From-SVN: r63633
2003-03-01* java/rmi/registry/RegistryHandler.java: Deprecate.Tom Tromey2-1/+11
From-SVN: r63630
2003-03-01AccessibleEditableText.java, [...]: New versions from Classpath.Tom Tromey3-4/+8
* javax/accessibility/AccessibleEditableText.java, javax/accessibility/AccessibleHyperlink.java: New versions from Classpath. From-SVN: r63629