aboutsummaryrefslogtreecommitdiff
path: root/libjava
AgeCommit message (Collapse)AuthorFilesLines
2002-11-03initexc.java (fail): Static initializers must be able to complete normally.Tom Tromey2-1/+6
* libjava.lang/initexc.java (fail): Static initializers must be able to complete normally. From Eric Blake. From-SVN: r58765
2002-11-02Class.h: Move JV_STATE_ERROR before JV_STATE_DONE.Tom Tromey3-5/+8
* java/lang/Class.h: Move JV_STATE_ERROR before JV_STATE_DONE. * java/lang/natClass.cc (initializeClass): Don't return just because self==thread. From-SVN: r58763
2002-11-02initexc.java: New file.Tom Tromey3-0/+40
* libjava.lang/initexc.java: New file. * libjava.lang/initexc.out: New file. From-SVN: r58761
2002-11-02For PR java/8415:Tom Tromey3-5/+9
* java/lang/reflect/natMethod.cc (getType): Use _Jv_FindClass. * prims.cc (_Jv_FindClassFromSignature): Indentation fix. From-SVN: r58757
2002-11-02Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS.Andreas Schwab3-6/+15
* Makefile.am (AM_MAKEFLAGS): Don't pass JC1FLAGS, CC and CXX, do pass GCJFLAGS. (FLAGS_TO_PASS): Define. * Makefile.in: Regenerated. From-SVN: r58752
2002-11-02For PR java/8415:Tom Tromey3-0/+20
* libjava.lang/pr8415.java: New file. * libjava.lang/pr8415.out: New file. From-SVN: r58732
2002-11-01mauve.exp (find_mauve_sources): New proc.Tom Tromey2-2/+23
* libjava.mauve/mauve.exp (find_mauve_sources): New proc. (test_mauve): Use it. (test_mauve_sim): Likewise. From-SVN: r58725
2002-11-01ByteOrder.java: New file.Michael Koch21-8/+1166
2002-11-01 Michael Koch <konqueror@gmx.de> * java/nio/ByteOrder.java: New file. * java/nio/channels/DatagramChannel.java: (DatagramChannel): New constructor. * java/nio/channels/Pipe.java: New file. * java/nio/channels/SelectableChannel.java: New file. * java/nio/channels/SelectionKey.java: New file. * java/nio/channels/Selector.java: New file. * java/nio/channels/ServerSocketChannel.java (ServerSocketChannel): New constructor. * java/nio/channels/SocketChannel.java (SocketChannel): New constructor. * java/nio/channels/Pipe.java: New file. * java/nio/channels/spi/AbstractChannel.java: New file. * java/nio/channels/spi/AbstractInterruptibleChannel.java: New file. * java/nio/channels/spi/AbstractSelectableChannel.java: License added (AbstractSelectableChannel): New stubbed method. * java/nio/channels/spi/AbstractSelectionKey.java: New file. * java/nio/channels/spi/AbstractSelector.java: New file. * java/nio/channels/spi/SelectorProvider.java: New file. * java/nio/charset/Charset.java: New file. * java/nio/charset/CoderMalfunctionError.java: New file. * java/nio/charset/CodingErrorAction.java: New file. * java/nio/charset/spi/CharsetProvider.java (charsetForName): Uncommented. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r58713
2002-11-012002-11-01 Michael Koch <konqueror@gmx.de>Michael Koch6-30/+215
* java/net/InetAddress.java: (isAnyLocalAddress): Implemented. (isLoopbackAddress): Implemented, comment added. (isLinkLocalAddress): Implemented, documentation added. (isSiteLocalAddress): Implemented, documentation added. (isMCGlobal): Implemented, documentation added. (isMCNodeLocal): Implemented, documentation added. (isMCLinkLocal): Implemented, documentation added. (isMCSiteLocal): Implemented, documentation added. (isMCOrgLocal): Implemented, documentation added. (getHostName): Documentation added. (getCanonicalHostName): Implemented, documentation added. (getAddress): Documentation added. (hashCode): Documentation added. (equals): Documentation added. (toString): Fixed implementation. (getByAddress): Use Inet4Address and Inet6Address. (lookup): New linewrap. (getByName): SecurityManager check added, support Inet4Address and Inet6address, comments added. (getAllByName): SecurityManager check added, comments added. * java/net/Inet6Address.java: (Inet6Address): Initialize parent class with addr instead of null. * java/net/URL.java (equals): Documentation added. (getFile): Documentation added. (hashCode): Documentation added. * java/net/natInetAddress.cc: (aton): Fix IPv6 support. * java/net/natPlainDatagramSocketImpl.cc: (peek): Throw PortUnreachableException when suitable. (peekData): Throw PortUnreachableException when suitable. (send): Throw PortUnreachableException when suitable. (receive): Throw PortUnreachableException when suitable. From-SVN: r58704
2002-10-31ZipFile.java (readLeShort): Take and use DataInput as argument.Mark Wielaard2-39/+71
* java/util/zip/ZipFile.java (readLeShort): Take and use DataInput as argument. (readLeShort): Likewise and use byte[]. (readLeInt): Likewise. (readEntries): Use new versions of methods and use byte[] for reading a complete zip entry. Add ZipFile name to exceptions. (entries): Add ZipFile name to exceptions. (getEntry): Likewise. (checkLocalHeader): Use new versions of methods and add ZipFile name to exceptions. From-SVN: r58697
2002-10-31GridBagLayout.java (setConstraints): New stubbed method addedMark Anderson2-0/+9
2002-10-31 Mark Anderson <mark@panonet.net> * java/awt/GridBagLayout.java (setConstraints): New stubbed method added From-SVN: r58686
2002-10-29configure.in: Disable hash sync when not using threads.Krister Walfridsson3-2/+7
* configure.in: Disable hash sync when not using threads. * configure: Regenerated. From-SVN: r58641
2002-10-25natRuntime.cc (_Jv_SetDLLSearchPath): New function.Tom Tromey3-2/+49
* java/lang/natRuntime.cc (_Jv_SetDLLSearchPath): New function. (_Jv_FindSymbolInExecutable): Removed argument name. (insertSystemProperties): Call _Jv_SetDLLSearchPath if java.library.path is set. * gij.cc (help): Document --showversion. (version): Don't exit. (main): Handle --showversion. Exit if --version given. From-SVN: r58520
2002-10-24Primes.java: Removed.Tom Tromey3-264/+5
* libjava.lang/Primes.java: Removed. * libjava.lang/Primes.out: Removed. From-SVN: r58498
2002-10-23jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment.Tom Tromey2-8/+14
* jni.cc (_Jv_JNI_AllocObject): Removed old FIXME comment. (array_from_valist): Correctly handle promotion for jint, jlong, jfloat, and jdouble. From-SVN: r58476
2002-10-23For PR java/6388:Tom Tromey3-0/+20
* libjava.lang/pr6388.java: New file. * libjava.lang/pr6388.out: New file. From-SVN: r58475
2002-10-23natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ↵Ranjit Mathew2-3/+12
) to find file length and... 2002-10-23 Ranjit Mathew <rmathew@hotmail.com> * java/io/natFileWin32.cc (attr): Use FindFirstFile( ) instead of GetFileAttributesEx( ) to find file length and modification times, as the latter is not present on Windows 95. From-SVN: r58466
2002-10-21Fix date, grrr.Michael Koch1-2/+1
From-SVN: r58346
2002-10-212002-10-11 Michael Koch <konqueror@gmx.de>Michael Koch4-48/+65
* java/net/URL.java (URL): Activate SecurityManager checks. (equals): Use URLStreamHandler implementation instead of doing it alone. This allows special protocol stream handlers to change default behaviour. (hashCode): Use URLStreamHandler implementation instead of doing it alone. This allows special protocol stream handlers to change default behaviour. * java/net/URLStreamHandler.java (equals): Implemented default URL equality check. (hostsEqual): Implemented default URL equality check. (hashCode): Implemented default URL hashCode algorithm. * java/net/natPlainDatagramSocketImpl.cc: No lines longer then 80 characters. From-SVN: r58345
2002-10-21aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): addedAdam Megacz7-259/+357
2002-10-20 Adam Megacz <adam@xwt.org> * aclocal.m4 (CHECK_FOR_BROKEN_MINGW_LD): added * configure.in: enabled hash sync on Win32 * include/win32-threads.h (_Jv_ThreadId_t): added. * java/lang/natObject.cc (_Jv_MonitorEnter, _Jv_MonitorExit, heavy_lock_obj_finalization_proc, wait, notify, notifyAll): removed some posix-isms, use Thread::sleep() instead of usleep, added code to clear bottom three bits if platform has a broken linker. * include/win32-threads.h (_Jv_ThreadId_t): added. From-SVN: r58344
2002-10-20natRuntime.cc (insertSystemProperties): Added GCJ runtime property ↵Ranjit Mathew2-0/+10
"gnu.gcj.progname" containing the name used to... 2002-10-19 Ranjit Mathew <rmathew@hotmail.com> * java/lang/natRuntime.cc (insertSystemProperties): Added GCJ runtime property "gnu.gcj.progname" containing the name used to invoke the current Java program (similar to argv[0] for C programs). From-SVN: r58343
2002-10-16re PR libgcj/8234 (ZipInputStream chokes when InputStream.read() returns ↵Tom Tromey3-0/+8
small chunks) Fix for PR libgcj/8234: * java/util/zip/natInflater.cc (reset): Reset avail_in. * java/util/zip/natDeflater.cc (reset): Reset avail_in. From-SVN: r58205
2002-10-15cvs commit fubar.Andrew Haley1-0/+1
From-SVN: r58178
2002-10-15Fix bad checkin.Andrew Haley1-1/+1
From-SVN: r58177
2002-10-15EvaluationOrder.java (EvaluationOrder): New.Andrew Haley3-0/+30
2002-10-15 Andrew Haley <aph@redhat.com> * libjava.lang/EvaluationOrder.java (EvaluationOrder): New. * libjava.lang/EvaluationOrder.out (EvaluationOrder): New. From-SVN: r58176
2002-10-14StaticConstructor.java: New.Andrew Haley3-0/+34
2002-10-14 Andrew Haley <aph@redhat.com> * libjava.lang/StaticConstructor.java: New. * libjava.lang/StaticConstructor.out: New. From-SVN: r58131
2002-10-13* mauve-libgcj: Enable Mauve tests that compile now.Mark Wielaard2-16/+9
From-SVN: r58100
2002-10-13* libjava.mauve/xfails: Remove tests that now XPASS.Mark Wielaard2-3/+4
From-SVN: r58099
2002-10-11re PR libgcj/8142 ('$' in class names vs. dlopen 'dynamic string tokens')Mark Wielaard2-1/+14
Fix for PR libgcj/8142 * java/lang/natClassLoader.cc (findClass): Skip inner classes when loading native modules. From-SVN: r58066
2002-10-102002-10-10 Michael Koch <konqueror@gmx.de>Michael Koch4-0/+36
* javax/swing/AbstractListModel.java (getListDataListeners): New stubbed method. javax/swing/DefaultBoundedRangeModel.java (getChangeListeners): New stubbed method. javax/swing/DefaultSingleSelectionModel.java (getChangeListeners): New stubbed method. From-SVN: r58011
2002-10-10cvsignore: New file to ignore files generated during build.Michael Koch3-1/+8
2002-10-10 Michael Koch <konqueror@gmx.de> * gcj/.cvsignore: New file to ignore files generated during build. * include/.cvsignore: New file to ignore files generated during build. From-SVN: r58003
2002-10-102002-10-08 Michael Koch <konqueror@gmx.de>Michael Koch9-18/+299
* java/net/HttpURLConnection.java (getPermission): New method. (getErrorStream): New stub method. (getHeaderFieldDate): New stub method. * java/net/Inet4Address.java: (isLinkLocalAddress): Typo fixed. * java/net/InetAddress.java: (readResolve): New stubbed method (for serialization). (isAnyLocalAddress): New stubbed method. (isLoopbackAddress): New stubbed method. (isLinkLocalAddress): New stubbed method. (isSiteLocalAddress): New stubbed method. (isMCGlobal): New stubbed method. (isMCNodeGlobal): New stubbed method. (isMCLinkLocal): New stubbed method. (isMCSiteLocal): New stubbed method. (isMCOrgLocal): New stubbed method. (getCanonicalHostName): New stubbed method. (getByAddress): Create instances of Inet4Address/Inet6Address, instead of InetAddress, documentation added. * java/net/MulticastSocket.java (getInterface): Removed FIXME. (getNetworkInterface): New method. (setNetworkInterface): New method. * java/net/NetworkInterface.java: (toString): Use property "line.separator" instead of "\n". * java/net/URLConnection.java (getContent): New stubbed method. * java/net/URLStreamHandler.java: (equals): New stubbed method. (hostsEqual): New stubbed method. (hashCode): New stubbed method. * java/net/natNetworkInterface.cc: (getRealNetworkInterfaces): Create Inet4Address object instead of InetAddress. From-SVN: r58002
2002-10-08interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long ↵Ulrich Weigand2-1/+6
temporary to implement insn_iushr shifts. * interpret.cc (_Jv_InterpMethod::run): Use UINT32 instead of unsigned long temporary to implement insn_iushr shifts. From-SVN: r57936
2002-10-08configure.host [s390*-*]: Enable Java interpreter.Ulrich Weigand3-0/+88
* configure.host [s390*-*]: Enable Java interpreter. Enable hash synchronization. Add sysdeps dir. * sysdep/s390/locks.h: New file. From-SVN: r57927
2002-10-07Thread.java (setDaemon): Check startable_flag, not isAlive().Mark Wielaard2-1/+6
* java/lang/Thread.java (setDaemon): Check startable_flag, not isAlive(). From-SVN: r57906
2002-10-07Buffer.java: New stub file.Michael Koch5-4/+56
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/Buffer.java: New stub file. * java/nio/charset/spi/CharsetProvider.java: Commented out all usages of class Charset. * Makefile.am (java_native_source_files): Added java/nio/Buffer.java. * Makefile.in: Regenerated. From-SVN: r57901
2002-10-07ByteBuffer.java: removed import of not commited class.Michael Koch2-2/+5
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/ByteBuffer.java: removed import of not commited class. From-SVN: r57900
2002-10-07ByteBuffer.java, [...]: New files, forgot to add these dummies.Michael Koch5-1/+100
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/ByteBuffer.java, java/nio/MappedByteBuffer.java: New files, forgot to add these dummies. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r57899
2002-10-07AlreadyConnectedException.java, [...]: New file.Michael Koch18-0/+987
2002-10-07 Michael Koch <konqueror@gmx.de> * java/nio/channels/AlreadyConnectedException.java, java/nio/channels/ClosedChannelException.java, java/nio/channels/ReadableByteChannel.java, java/nio/channels/InterruptibleChannel.java, java/nio/channels/Channel.java, java/nio/channels/ByteChannel.java, java/nio/channels/GatheringByteChannel.java, java/nio/channels/ScatteringByteChannel.java, java/nio/channels/WritableByteChannel.java, java/nio/charset/CharacterCodingException.java, java/nio/charset/IllegalCharsetNameException.java, java/nio/charset/MalformedInputException.java, java/nio/charset/UnmappableCharacterException.java, java/nio/charset/UnsupportedCharsetException.java, java/nio/charset/spi/CharsetProvider.java: New file. These files are exceptions or interfaces, no real or abstract classes. * Makefile.am (java_native_source_files): Added new files. * Makefile.in: Regenerated. From-SVN: r57885
2002-10-052002-10-05 Michael Koch <konqueror@gmx.de>Michael Koch7-3/+800
* java/net/InetAddress.java (getByAddress): Fixed documentation. (getByAddress): New method. * java/net/Inet4Address.java: New file. * java/net/URL.java (URL): Documentation added. (getContent): Documentation added. (getContent): New stubbed method. (getQuery): New method. (openConnection): Documentation added. (openStream): Documentation added. (setURLStreamHandlerFactory): Documentation added. * java/net/URI.java: New stub file. * Makefile.am (java_native_source_files): Added java/net/Inet4Address.java, java/net/Inet6Address.java and java/net/URI.java. * Makefile.in: Regenerated. From-SVN: r57841
2002-10-04[multiple changes]Mark Wielaard10-11/+46
2002-10-04 C. Scott Ananian <cananian@lesser-magoo.lcs.mit.edu> * java/lang/ProtectionDomain.java (linesep): Remove field. (toString): Use System.getProperty("line.separator"). 2002-10-04 Michael Koch <konqueror@gmx.de> * java/security/Identity.java: Added serialVersionUID. * java/security/KeyPair.java: Added serialVersionUID. * java/security/Provider.java: Added serialVersionUID. * java/security/SecureRandom.java: Added serialVersionUID. * java/security/SecureRandomSpi.java: Added serialVersionUID. * java/security/SignedObject.java: Added serialVersionUID. * java/security/cert/Certificate.java: Added serialVersionUID. 2002-10-04 Mark Wielaard <mark@klomp.org> * java/security/Security.java: Use java.home or gnu.classpath.home to load providers. (loadProviders): Extra dir argument. (getProvider): Return null when not found. From-SVN: r57827
2002-10-04* java/lang/Throwable.java: Remerge with Classpath.Mark Wielaard2-14/+12
From-SVN: r57823
2002-10-042002-10-04 Michael Koch <konqueror@gmx.de>Michael Koch2-2/+50
* java/net/InetAddress.java: (isMulticastAddress): Added documentation. (getHostAddress): Added documentation. (toString): Added documentation. (getByAddress): Fixed documentation. (getByName): Added documentation. (getAllByName): Added documentation. (getLocalHost): Added documentation. From-SVN: r57814
2002-10-04BeanContextChildSupport.java: Added serialVersionUID.Michael Koch5-5/+20
2002-10-04 Michael Koch <konqueror@gmx.de> * java/beans/beancontext/BeanContextChildSupport.java: Added serialVersionUID. * java/text/Collator.java: (compare): Made documentation HTML-aware. * javax/naming/BinaryRefAddr.java: Added serialVersionUID. * javax/naming/Name.java: Added serialVersionUID. From-SVN: r57813
2002-10-03natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some ↵Adam Megacz2-0/+9
functionality that isn't supported yet on WIN32. 2002-10-03 Adam Megacz <adam@xwt.org> * natNetworkInterface.cc (getRealNetworkInterfaces): ifdef out some functionality that isn't supported yet on WIN32. From-SVN: r57794
2002-10-03Makefile.in: Rebuilt.Tom Tromey3-6/+40
* Makefile.in: Rebuilt. * Makefile.am (awt_java_source_files): Added new files. From-SVN: r57781
2002-10-03InetAddress.java (class InetAddress): Removed final keyword.Michael Koch2-2/+31
2002-10-03 Michael Koch <konqueror@gmx.de> * java/net/InetAddress.java (class InetAddress): Removed final keyword. (equals): Fixed typo. (getByAddress): New method. From-SVN: r57779
2002-10-03Autoscroll.java: New file, merge from Classpath.Michael Koch13-4/+1182
2002-10-03 Michael Koch <konqueror@gmx.de> * java/awt/dnd/Autoscroll.java: New file, merge from Classpath. * java/awt/dnd/DragSourceAdapter.java: (dragExit): Fixed typos in argument type. (dragDropEnd): Fixed typos in argument type. * java/awt/dnd/DragSourceDropEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTarget.java: Added stubs, merge from Classpath. * java/awt/dnd/DropTargetAdapter.java: New file, merge from Classpath. * java/awt/dnd/DropTargetContext.java: New file, merge from Classpath. * java/awt/dnd/DropTargetDragEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetDropEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetEvent.java: New file, merge from Classpath. * java/awt/dnd/DropTargetListener.java: New file, merge from Classpath. * java/awt/dnd/MouseDragGestureRecognizer.java: New file, merge from Classpath. * java/awt/dnd/peer/DropTargetContextPeer.java: New file, merge from Classpath. From-SVN: r57777
2002-10-032002-10-03 Michael Koch <konqueror@gmx.de>Michael Koch6-19/+46
* java/net/DatagramPacket.java (setLength): Fixed typo and be HTML-aware. * java/net/InetSocketAddress.java (InetSocketAddress): Correct initialization of hostname, fixed typo. (equals): Added comment about equality of InetSocketAddress objects. * java/net/ServerSocket.java (accept): Added checks. (isClosed): New stubbed method. * java/net/SocketOptions.java: Reindention. * java/net/SocketPermission (SocketPermission): Documentation fixed. From-SVN: r57776
2002-10-03Array_3.java (baz): New.Andrew Haley2-0/+24
2002-10-03 Andrew Haley <aph@redhat.com> * libjava.lang/Array_3.java (baz): New. (main): Call baz. From-SVN: r57774