summaryrefslogtreecommitdiffstats
path: root/libjava
Commit message (Collapse)AuthorAgeFilesLines
* 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>tromey2003-01-282-13/+25
| | | | | | | | * java/awt/Component.java (processPaintEvent): Dispose of Graphics object when finished. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62052 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava/configure.host: Disable can_unwind_signal on darwin.tromey2003-01-282-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62048 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.loader/TestEarlyGC.java: Added comment explainingtromey2003-01-282-0/+15
| | | | | | | bytecode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62047 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-28 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-283-52/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes PR java/9254: * include/win32-threads.h (_Jv_Mutex_t): Convert to a struct additionally containing id of the owner thread as well as the number of nested times the thread has acquired the mutex. (_Jv_MutexInit): Initialise owner thread id and refcount to 0. (_Jv_MutexDestroy): Reset owner thread id and refcount to 0. (_Jv_MutexUnlock): Check if really the owner thread, reset owner thread id to 0 before leaving, if leaving for the last time. (_Jv_MutexLock): Set owner thread id in the mutex and increment refcount. (_Jv_ThreadYield): Yield using a call to Sleep(0). * win32-threads.cc (_Jv_CondWait): Check if really owner of the passed mutex. Pass handle of the broadcast event, instead of a pointer to it in Win32 ResetEvent( ) call. Remove incorrect return values. (_Jv_CondDestroy): Close both event handles and delete critical section. (_Jv_CondNotify): Check if really the owner thread. (_Jv_CondNotifyAll): Check if really the owner thread. (_Jv_InitThreads): Change daemon_cond to a manual-reset event. (really_start): Use SetEvent( ) to signal daemon_cond. (_Jv_ThreadWait): Remove SignalObjectAndWait( ) and use WaitForSingleObject( ) instead to wait for daemon_cond to be signalled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62033 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-27 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-285-322/+359
| | | | | | | | | | | * configure.in: Specifically define HAVE_BACKTRACE if building for MinGW. * include/win32.h: Remove HAVE_BACKTRACE definition. * gnu/gcj/runtime/natStackTrace.cc: Include platform.h. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62000 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jacks/jacks.xfail: More lexer tests now pass.tromey2003-01-282-43/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61995 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/consthrow.java: New file.tromey2003-01-283-0/+13
| | | | | | | * libjava.compile/consthrow.xfail: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61959 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (toolexecdir, toolexecmainlibdir, toolexeclibdir):aoliva2003-01-285-345/+389
| | | | | | | | | | Set and AC_SUBST. Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. (toolexecmainlib_DATA): Renamed from toolexeclib_DATA. * Makefile.in, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61931 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.lang/pr8823.xfail: New file, add "xfail-byte".ghazi2003-01-282-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61917 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-242-2/+10
| | | | | | | | | Fixes PR java/9253: * java/io/natFileWin32.cc (performList): Append only "*.*" if the canonical file path already has a "\" at the end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61736 138bc75d-0d04-0410-961f-82ee72b054a4
* * defineclass.cc (handleMethodsEnd): Precompute code for statictromey2003-01-245-21/+73
| | | | | | | | | | | | | | | | | method. (handleCodeAttribute): Likewise. * resolve.cc (ncode): Use run_class for unsynchronized static methods. * include/java-interp.h (class _Jv_InterpMethod): Declare run_class. * interpret.cc (run_synch_class): Initialize class. (run) [insn_invokestatic]: Don't initialize class. [insn_anewarray]: Likewise. [insn_multianewarray]: Likewise. (run_class): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61727 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (findLoadedClass): Removed erroneoustromey2003-01-242-3/+7
| | | | | | | comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61725 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-2413-13/+31
| | | | | | | | | | | | | | | | | | | | * libjava.jni/calls.c (Java_calls_docall): Define with JNIEXPORT and JNICALL method attributes. * libjava.jni/field.c (Java_field_fetch): Likewise. * libjava.jni/final_method.c (Java_final_1method_meth): Likewise. * libjava.jni/findclass.c (Java_findclass_doit): Likewise. * libjava.jni/invoke.c (Java_invoke_val): Likewise. * libjava.jni/martin.c (Java_martin_myNative): Likewise. * libjava.jni/noclass.c (Java_noclass_find_1it): Likewise. * libjava.jni/overload.c (Java_overload_over__I): Likewise. (Java_overload_over__II): Likewise. * libjava.jni/register.c (JNI_OnLoad): Likewise. * libjava.jni/simple_int.c (Java_simple_1int_nat): Likewise. * libjava.jni/throwit.c (Java_throwit_throwit): Likewise. * libjava.jni/virtual.c (Java_virtual_equals): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61720 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix misapplied patch.aph2003-01-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61601 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-22 Andrew Haley <aph@redhat.com>aph2003-01-223-1/+20
| | | | | | | | * x86_64-signal.h: Add simple handler for x86_64 32-bit mode. * configure.host (CHECKREFSPEC): Define for x86_64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61600 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/natResourceBundle.cc (getCallingClassLoader): Starttromey2003-01-212-2/+10
| | | | | | | search at 2, not 3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61574 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-21 Vladimir Puskas <vpuskas@eunet.yu>tromey2003-01-213-8/+17
| | | | | | | | | | | * java/io/natFileWin32.cc (isAbsolute): Check path length before looking at any characters. * java/io/natFilePosix.cc (_stat): Only compute `buf' if it will be used. (isAbsolute): Check path's length as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61566 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.jacks/jacks.xfail: All 8.4.3 tests and 9.4-modifier-10tromey2003-01-212-5/+5
| | | | | | | now pass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61557 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.mark2003-01-208-33/+102
| | | | | | | | | | | | | | | (nat_source_files): Add natVMObjectStreamClass.cc. * Makefile.in: Regenerated. * gcj/javaprims.h (namespace java): Regenerated. * java/io/ObjectStreamClass.java (getClassUID): Call VMObjectStreamClass.hasClassInitializer(). (hasClassInitializer): Removed. * java/io/VMObjectStreamClass.java: New class. * java/io/natVMObjectStreamClass.cc: New file. * java/lang/Class.h: Make java::io::VMObjectStreamClass friend class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61501 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/SocketImpl.java (toString): Don't explicitly callmark2003-01-162-2/+8
| | | | | | | toString() on possible null address. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61404 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-16 Michael Koch <konqueror@gmx.de>mkoch2003-01-162-5/+10
| | | | | | | | * java/net/MulticastSocket.java (setInterface): Reindented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61379 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-15 Scott Gilbertson <scottg@mantatest.com>tromey2003-01-156-19/+52
| | | | | | | | | | | | | | | * gnu/gcj/xlib/natGC.cc (fillPolygon): New method. * gnu/gcj/xlib/GC.java (fillPolygon): Declare. * gnu/awt/xlib/XGraphics.java (fillPolygon): Added translateX and translateY arguments. Implement. * gnu/awt/j2d/IntegerGraphicsState.java (fillPolygon): Pass down translation arguments. (drawPolyline, drawPolygon): Fix incorrect tests. * gnu/awt/j2d/DirectRasterGraphics.java (fillPolygon): Added translateX and translateY arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61369 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-15 Scott Gilbertson <scottg@mantatest.com>tromey2003-01-153-3/+13
| | | | | | | | | * Makefile.in: Rebuilt. * Makefile.am (xlib_includes): New macro. (INCLUDES): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61366 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-15 Scott Gilbertson <scottg@mantatest.com>tromey2003-01-153-12/+35
| | | | | | | | | * gnu/awt/xlib/XToolkit.java (getColorModel): Implemented. * gnu/awt/xlib/XGraphicsConfiguration.java (getPixel): Work with 16-bit display mode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61362 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-15 Scott Gilbertson <scottg@mantatest.com>tromey2003-01-152-21/+34
| | | | | | | | | | | * java/awt/CardLayout.java (show): Rewrote. (gotoComponent): Removed `target' argument. Simplified code. Don't pre-compute `choice' unless `what' is FIRST or LAST. Changed all callers. (NONE): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61357 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-14 Michael Koch <konqueror@gmx.de>mkoch2003-01-144-1/+17
| | | | | | | | | | | | * java/net/InetSocketAddress.java (serialVersionUID): New member variable. * java/net/NetPermission.java (NetPermission): Dont implement java.io.Serialization directly. * java/net/SocketAddress.java: (serialVersionUID): Documentation added. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61305 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-14 Michael Koch <konqueror@gmx.de>mkoch2003-01-1416-33/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/awt/Label.java (Label): Implements javax.accessibility.Accessible; * java/awt/List.java (List): Implements javax.accessibility.Accessible; * java/awt/ScrollPane.java (ScrollPane): Implements javax.accessibility.Accessible; * java/awt/Scrollbar.java (Scrollbar): Implements javax.accessibility.Accessible; * java/awt/TextComponent.java (setCaretPosition): Throw exception, documentation added. * java/awt/Toolkit.java: Added some newlines in method documentations. (createButton): Exception documentation added. (createTextField): Exception documentation added. (createLabel): Exception documentation added. (createList): Exception documentation added. (createCheckbox): Exception documentation added. (createScrollbar): Exception documentation added. (createScrollPane): Exception documentation added. (createTextArea): Exception documentation added. (createChoice): Exception documentation added. (createFrame): Exception documentation added. (createWindow): Exception documentation added. (createDialog): Exception documentation added. (createMenuBar): Exception documentation added. (createMenu): Exception documentation added. (createMenuItem): Exception documentation added. (createFileDialog): Exception documentation added. (createCheckboxMenuItem): Exception documentation added. (loadSystemColors): Exception documentation added. (setDynamicLayout): Exception documentation added. (isDynamicLayoutSet): Exception documentation added. (isDynamicLayoutActive): Exception documentation added. (getScreenSize): Exception documentation added. (getScreenResolution): Exception documentation added. (getScreenInsets): Exception documentation added. (getColorModel): Exception documentation added. (getSystemClipboard): Exception documentation added. (getSystemSelection): Exception documentation added. (getMenuShortcutKeyMask): Exception documentation added. (getSystemEventQueue): Exception documentation added. * java/awt/Window.java: Reindented some code. (Window): Centralized implementation, documentation added. (finalize): Documentation added. (hide): Fixed typo in comment. (getWindowListeners): Documentation added. * java/awt/color/ColorSpace.java (toRGB): Documentation added. * java/awt/color/ICC_ColorSpace.java (ICC_ColorSpace): Documentation added. (toRGB): Throw exception, documentation added. (fromRGB): Throw exception, documentation added. (toCIEXYZ): Documentation added. (fromCIEXYZ): Documentation added. (getMinValue): Documentation added. (getMaxValue): Documentation added. * java/awt/geom/Dimension2D.java (clone): Documentation added. * java/awt/geom/GeneralPath.java (clone): Documentation added. * java/awt/geom/Line2D.java (clone): Documentation added. * java/awt/geom/QuadCurve2D.java (clone): Documentation added. * java/awt/image/ColorModel.java (ColorModel): Throw exception, documentation added. * java/awt/image/ImageFilter.java (clone): Doesnt throw CloneNotSupportedException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61303 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-14 Andrew Haley <aph@redhat.com>aph2003-01-142-8/+21
| | | | | | | | * java/lang/natRuntime.cc (_load): StackTrace access needs to be in a try block. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61293 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-10 Andrew Haley <aph@redhat.com>aph2003-01-141-3/+0
| | | | | | | | | | * include/dwarf2-signal.h: Remove x86_64. * configure.host (x86_64 DIVIDESPEC): Remove. * include/x86_64-signal.h: New file. * configure.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61285 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-10 Andrew Haley <aph@redhat.com>aph2003-01-145-262/+374
| | | | | | | | | | * include/dwarf2-signal.h: Remove x86_64. * configure.host (x86_64 DIVIDESPEC): Remove. * include/x86_64-signal.h: New file. * configure.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61284 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/9139:tromey2003-01-133-20/+27
| | | | | | | | | * lib/libjava.exp (find_javac): Put value of libgcj_jar into return value when gcj is used. * libjava.mauve/mauve.exp (test_mauve): Use libgcj_jar global. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61237 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-10 Michael Koch <konqueror@gmx.de>tromey2003-01-115-13/+70
| | | | | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java (ch): Description added. (remotePort): Initialize with -1. (connect): Doesnt throws SocketException. * java/net/MulticastSocket.java (setInterface): Merge with Classpath. * java/net/ServerSocket.java (closed): New member variable. (bind): Check if socket is closed. (close): Close an associated channel too, set new value to closed. (isBound): Reindented. (isClosed): Implemented. * java/net/Socket.java (closed): New member variable. (bind): Check if socket is closed. (connect): Check if socket is closed. (close): Close an associated channel too, set new value to closed. (isClosed): Implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61185 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-10 Michael Koch <konqueror@gmx.de>tromey2003-01-112-8/+13
| | | | | | | | * java/awt/DisplayMode.java (equals): Fixed argument type and implementation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61184 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/posix.h (_Jv_platform_usleep): Wrap in ifdeftromey2003-01-073-1/+12
| | | | | | | | | JV_HASH_SYNCHRONIZATION. * include/win32.h (_Jv_platform_usleep): Wrap in ifdef JV_HASH_SYNCHRONIZATION. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60998 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-07 Michael Koch <konqueror@gmx.de>mkoch2003-01-072-267/+344
| | | | | | | | | | | | | | | | | | | | | * java/net/DatagramSocket.java: Added classpath license info. (DatagramSocket): Merged description with classpath. (close): Merged description with classpath. (getChannel): Merged description with classpath. (getInetAddress): Merged description with classpath. (getPort): Merged description with classpath. (getLocalAddress): Merged description with classpath. (getLocalPort): Merged description with classpath. (getSoTimeout): Merged description with classpath. (setSoTimeout): Merged description with classpath. (getSendBufferSize): Merged description with classpath. (setSendBufferSize): Merged description with classpath. (getReceiveBufferSize): Merged description with classpath. (setReceiveBufferSize): Merged description with classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60989 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/awt/List.java: Merged with Classpath.tromey2003-01-052-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60896 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/FileDescriptor.java (position): New private field.mark2003-01-043-21/+42
| | | | | | | | | | | * java/io/natFileDescriptorPosix.cc (write): Up position. (setLength): Use and set position. (seek): Set position. (getFilePointer): Return position. (read): Up position. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60869 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge with Classpath:mark2003-01-042-43/+82
| | | | | | | | | | | | | | | | | * java/io/ObjectStreamClass.java (lookup): Split method and call lookupForClassObject(). (lookupForClassObject): New method. (isProxyClass): New field. (setClass): Set isProxyClass, add object to classLookupTable, set superClass and calculateOffsets. (ObjectStreamClass): Set isProxyClass. Only set uid when Serializable and not a proxy class. (setFields): Set accessible true for serialPersistentFields. (getClassUID): Same for suid. And check if suid is of type long. (hasClassInitializer): Don't throw NoSuchMethodError. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60867 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/io/FileInputStream.java (finalize): Don't explicitlymark2003-01-042-3/+8
| | | | | | | finalize FileDescriptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60863 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host (sparc*-*): Enable bytecode interpreter.jsturm2003-01-032-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60862 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/pr8712.java: New file, for PR java/8712.tromey2003-01-032-0/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60856 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>tromey2003-01-033-4/+11
| | | | | | | | | | * gnu/java/rmi/server/UnicastServerRef.java (unexportObject): Don't throw RemoteException. * java/rmi/server/UnicastRemoteObject.java (unexportObject): Don't throw RemoteException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60854 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-03 Joerg Brunsmann <joerg_brunsmann@yahoo.de>tromey2003-01-032-12/+55
| | | | | | | | | | | * gnu/gcj/protocol/http/Connection.java (proxyPort, proxyInUse, proxyHost): New static fields. (<clinit>): Initialize new fields. (connect): Use proxy if necessary. (usingProxy): Implement. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60846 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-03 Eric Blake <ebb9@email.byu.edu>tromey2003-01-032-3/+9
| | | | | | | | | * java/util/TreeMap.java (fabricateTree): Fix off-by-one error. (TreeIterator.remove): Prefer IllegalStateException over ConcurrentModificationException, to match Sun. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60837 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-22 Anthony Green <green@redhat.com>tromey2003-01-032-1/+7
| | | | | | | * boehm.cc (_Jv_MarkObj): Mark the protectionDomain of a class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60834 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must bemark2003-01-032-24/+42
| | | | | | | | | | public. (HTTP_USE_PROXY): Add field. (getResponseVals): Only set responseCode when not yet explicitly set by subclass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60809 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/zip/ZipFile.java (entries): Now HashMap.mark2003-01-022-64/+130
| | | | | | | | | | | | | | | | | | (readLeShort(DataInput, byte[])): Read from given byte array. (readLeInt(DataInput, byte[]): Likewise. (readLeShort(byte[] b, int off)): New method. (readLeInt(byte[] b, int off)): Likewise. (readEntries): Use byte arrays to read info in bigger chunks. (getEntries): Return HashMap. (getEntry): Use HashMap. (locBuf): New private field. (checkLocalHeader): Use locBuf to read info in one chunk. (getInputStream): Use entries HashMap, wrap PartialInputStream in BufferedInputStream. (ZipEntryEnumeration): Use HashMap and Interator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60803 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLClassLoader.java (Resource.getCodeSource):mark2003-01-022-28/+15
| | | | | | | | | | | Fix check certs == null. (getCanonicalFileURL): Removed method. (JarURLLoader): Don't call removed method. (FileURLLoader): Likewise. (FileURLLoader.getResource): Don't canonicalize file name. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60780 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2003-01-0243-422/+914
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am (rmi_java_source_files): Added RMIClassLoaderSpi. * java/awt/AlphaComposite.java, java/awt/BasicStroke.java, java/awt/BufferCapabilities.java, java/awt/Button.java, java/awt/CheckboxMenuItem.java, java/awt/Choice.java, java/awt/Container.java, java/awt/Cursor.java, java/awt/EventQueue.java, java/awt/FileDialog.java, java/awt/Graphics2D.java, java/awt/Label.java, java/awt/Menu.java, java/awt/MenuBar.java, java/awt/MenuComponent.java, java/awt/PopupMenu.java, java/awt/ScrollPane.java, java/awt/Scrollbar.java, java/awt/TextArea.java, java/awt/TextField.java, java/awt/color/CMMException.java, java/awt/color/ColorSpace.java, java/awt/color/ICC_Profile.java, java/awt/color/ProfileDataException.java, java/awt/datatransfer/Clipboard.java, java/awt/datatransfer/DataFlavor.java, java/awt/datatransfer/FlavorMap.java, java/awt/datatransfer/SystemFlavorMap.java, java/awt/dnd/DragGestureEvent.java, java/awt/dnd/DragGestureRecognizer.java, java/awt/dnd/DragSource.java, java/awt/dnd/DropTarget.java, java/awt/event/WindowEvent.java, java/awt/geom/PathIterator.java, java/awt/im/InputMethodHighlight.java, java/io/PipedOutputStream.java, java/io/PipedWriter.java, java/rmi/server/RMIClassLoader.java: Merged from Classpath. * gnu/awt/j2d/Graphics2DImpl.java (drawImage): Changed type of `op' to BufferedImageOp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60768 138bc75d-0d04-0410-961f-82ee72b054a4
* * libjava.compile/pr8955.java: New test, for PR java/8955.tromey2003-01-022-0/+17
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60764 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud