summaryrefslogtreecommitdiffstats
path: root/libjava/java
Commit message (Collapse)AuthorAgeFilesLines
* 2003-01-31 Julian Dolby <dolby@us.ibm.com>tromey2003-01-311-1/+8
| | | | | | | * java/util/Properties.java (load): Ignore backslash before EOF. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62186 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (initializeClass): Check tables whenjsturm2003-01-302-10/+22
| | | | | | | | | | | (state == JV_STATE_IN_PROGRESS). (_Jv_GetInterfaces): Use _Jv_WaitForState to link interface. * java/lang/natClassLoader.cc (_Jv_WaitForState): Handle interpreted classes. (linkClass0): Use _Jv_WaitForState. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62161 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-28 Oscar Pearce <oscar@pearceenterprises.com>tromey2003-01-281-13/+20
| | | | | | | | * 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
* 2003-01-24 Ranjit Mathew <rmathew@hotmail.com>tromey2003-01-241-2/+4
| | | | | | | | | 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
* * java/lang/ClassLoader.java (findLoadedClass): Removed erroneoustromey2003-01-241-3/+2
| | | | | | | comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61725 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/natResourceBundle.cc (getCallingClassLoader): Starttromey2003-01-211-2/+5
| | | | | | | 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-212-8/+9
| | | | | | | | | | | * 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
* * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.mark2003-01-204-27/+76
| | | | | | | | | | | | | | | (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-161-2/+3
| | | | | | | 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-161-5/+5
| | | | | | | | * 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-151-21/+26
| | | | | | | | | | | * 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-143-1/+8
| | | | | | | | | | | | * 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-1415-33/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-141-8/+16
| | | | | | | | * 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 Michael Koch <konqueror@gmx.de>tromey2003-01-114-13/+49
| | | | | | | | | | | | | | | | | | | | | | | | * 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-111-8/+8
| | | | | | | | * 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
* 2003-01-07 Michael Koch <konqueror@gmx.de>mkoch2003-01-071-267/+326
| | | | | | | | | | | | | | | | | | | | | * 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-051-0/+9
| | | | 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-042-21/+33
| | | | | | | | | | | * 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-041-43/+67
| | | | | | | | | | | | | | | | | * 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-041-3/+3
| | | | | | | finalize FileDescriptor. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60863 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-03 Dhek Bhun Kho <bhun@chello.nl>tromey2003-01-031-2/+2
| | | | | | | | | | * 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 Eric Blake <ebb9@email.byu.edu>tromey2003-01-031-3/+3
| | | | | | | | | * 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
* * java/net/HttpURLConnection.java (HTTP_NOT_IMPLEMENTED): Must bemark2003-01-031-24/+34
| | | | | | | | | | 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-021-64/+113
| | | | | | | | | | | | | | | | | | (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-021-28/+5
| | | | | | | | | | | 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-0239-420/+877
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Fix for PR libgcj/7416:tromey2002-12-312-18/+36
| | | | | | | | | | | | | | * javax/naming/InitialContext.java (init): Use gnu.classpath.home.url. * java/security/Security.java: Use new properties. (loadProviders): Accept base url; use it. * java/lang/System.java: Document gnu.classpath.vm.shortname, and gnu.classpath.home.url. (gnu.classpath.home.url): Define. (gnu.classpath.vm.shortname): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60722 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-31 Tom Tromey <tromey@redhat.com>tromey2002-12-311-2/+4
| | | | | | | | | | | | | Ranjit Mathew <rmathew@hotmail.com> Fix for PR libgcj/8997: * java/lang/natObject.cc (spin): Use _Jv_platform_usleep. Include platform.h. * include/posix.h (_Jv_platform_usleep): New function. * include/win32.h (_Jv_platform_usleep): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60700 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URLStreamHandler.java (toExternalForm): Ignore portmark2002-12-301-1/+1
| | | | | | | if zero or smaller. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60657 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/Properties (formatForOutput): Don't fall through tomark2002-12-301-0/+1
| | | | | | | default case after escaping character. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60618 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/StringBuffer.java (getChars): Remove wrong dstOffset checkmark2002-12-301-19/+20
| | | | | | | against count. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60616 138bc75d-0d04-0410-961f-82ee72b054a4
* * boehm.cc: Remove stray semicolon.mmitchel2002-12-281-0/+3
| | | | | | | | | | | | | | | | | * interpret.cc: Likewise. * prims.cc: Likewise. * verify.cc (_Jv_BytecodeVerifier::verify_fail): Move definition earlier to ensure default arguments are processed. * gcj/array.h (JArray): Add forward declaration. (elements): Likewise. * gcj/javaprim.h: Remove stray semicolons. * include/bohm-gc.h: Likewise. * include/jni.h: Likewise. * include/jvm.h: Likewise. * java/lang/Class.h (_Jv_GetArrayClass): Declare _Jv_NewArrayClass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60556 138bc75d-0d04-0410-961f-82ee72b054a4
* * exception.cc (PERSONALITY_FUNCTION): Clear least-significant-bitjsturm2002-12-232-10/+29
| | | | | | | | | | | | of catch_type. * java/lang/natClass.cc (initializeClass): Link vtable, otable, idt tables after initializing superclass. * java/lang/natClassLoader.cc (uaddr): New typedef. (_Jv_PrepareCompiledClass): Resolve superclass, interfaces if they are constant pool indicies. Don't link vtable, otable yet. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60450 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-19 Andrew Haley <aph@redhat.com>tromey2002-12-201-4/+11
| | | | | | | | | | * java/util/natResourceBundle.cc: Include ArrayIndexOutOfBoundsException.h. (getCallingClassLoader): Don't put upper bound on stack search. Catch ArrayIndexOutOfBoundsException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60348 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClassLoader.cc (defineClass0): Removed erroneoustromey2002-12-195-60/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | comment. * java/lang/ClassLoader.java (defineClass): Use chained exception when rethrowing. * defineclass.cc (handleClassBegin): Mark class as interpreted. * java/lang/reflect/Modifier.java (INVISIBLE, INTERPRETED): New constants. * resolve.cc (_Jv_PrepareMissingMethods): New function. (_Jv_PrepareClass): Use it. * include/java-interp.h (_Jv_IsInterpretedClass): Rewrote. (_Jv_InterpClass): _Jv_PrepareMissingMethods now friend. * java/lang/Class.h (Class::getModifiers): Mask with ALL_FLAGS. (Class): _Jv_PrepareMissingMethods now friend. * java/lang/natClassLoader.cc (defineClass0): Use JvSynchronize. Record `NULL' for system class loader. (_Jv_RegisterInitiatingLoader): Use JvSynchronize. Special case system class loader. (_Jv_FindClassInCache): Likewise. (_Jv_UnregisterClass): Use JvSynchronize. Free old loader info. (_Jv_FindClass): Special case system class loader. * java/lang/natClass.cc (_Jv_abstractMethodError): New function. (_Jv_SetVTableEntries): Put _Jv_abstractMethodError into empty vtable slots. (_Jv_LayoutVTableMethods): Don't generate vtable slot for a method in a final class. (_getDeclaredMethod): Don't return synthetic methods. (getDeclaredMethods): Likewise. (_getMethod): Likewise. (_getMethods): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60319 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-18 Raif Naffah <raif@fl.net.au>tromey2002-12-191-0/+6
| | | | | | | | | * java/math/BigInteger.java (euclidInv): Make sure quot and rem are in canonical form after divide(). (modInverse): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60292 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-13 Casey Marshall <rsdio@metastatic.org>mark2002-12-132-89/+111
| | | | | | | | | | | | | | | | | | | | Mark Wielaard <mark@klomp.org> * java/security/SecurityRandom (digest): Removed field. (SecureRandom): Check all providers for case-insensitive SecureRandom implementation. Don't ignore classname == null. Fallback to SHA1PRNG if necessary. (getInstance(String,Provider,boolean): New method. (getInstance(String)): Use new method. (getInstance(String,String)): Likewise. (getInstance(String,Provider)): Likewise. 2002-12-13 Casey Marshall <rsdio@metastatic.org> * java/security/Security.java (loadProviders): Increment i only once. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60099 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (resolveClass0): Transformmark2002-12-131-6/+12
| | | | | | | | ClassNotFoundException to NoClassDefFoundError. Transform all other throwables to LinkageError. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60097 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (findLoadedClass): Now synchronized.tromey2002-12-121-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60053 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (loadedClasses): New field.tromey2002-12-112-30/+35
| | | | | | | | | | (defineClass): Fixed indentation. Put new class in loadedClasses. (findLoadedClass): Implement here. * java/lang/natClassLoader.cc (findLoadedClass): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60043 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2002-12-111-51/+0
| | | | | | | | | | | * Makefile.am (nat_source_files): Added natVMClassLoader.cc. * gnu/gcj/runtime/natVMClassLoader.cc: New file. (gnu::gcj::runtime::VMClassLoader::findClass): Moved here. * java/lang/natClassLoader.cc (gnu::gcj::runtime::VMClassLoader::findClass): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60020 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-10 Mark Wielaard <mark@klomp.org>tromey2002-12-111-21/+44
| | | | | | | | | | | | | | | Tom Tromey <tromey@redhat.com> * java/net/URLClassLoader.java (getCanonicalFileURL): New method. (JarURLLoader): Use it. (FileURLLoader): Likewise. (JarURLResource.getURL): Use chained exception. (FileResource.getURL): Likewise. (FileURLLoader.getResource): Use canonical file name. (addURL): Indentation fix. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60019 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/win32.h (_Jv_platform_solib_prefix): New define.tromey2002-12-101-19/+49
| | | | | | | | | | | | (_Jv_platform_solib_suffix): Likewise. * include/posix.h (_Jv_platform_solib_prefix): New define. (_Jv_platform_solib_suffix): Likewise. * java/lang/natRuntime.cc: Include StackTrace.h. (_load): Use findLibrary and new platform defines. (nativeGetLibname): Use new platform defines. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59976 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/natResourceBundle.cc (getCallingClassLoader): Assumetromey2002-12-101-2/+0
| | | | | | | `t' won't be null. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59975 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/protocol/jar/Connection.java (getJarFile): download andmark2002-12-093-302/+1026
| | | | | | | | | | | | | | | | | | cache remote jar files. * gnu/gcj/runtime/VMClassLoader.java: Don't construct jar URL, only add File.separator to URL when it is a directory. * java/lang/ClassLoader.java: Add Classpath javadoc. (parent): final. (getParent): Add (disabled) security check. (findLibrary): New default method. * java/net/JarURLConnection.java (getManifest): Implement. (getInputStream): Only create InputStream when entry exists. (getHeaders): Only use jarFileURLConnection or JarEntry to set length when they exist. * java/net/URLClassLoader.java: New/Rewritten version from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59949 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/ResourceBundle.java (resourceBundleCache): Not final.mark2002-12-081-3/+15
| | | | | | | | | (lastDefaultLocale): New field. (getBundle): When Locale.getDefault != lastDefaultLocale reset resourceBundleCache. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59948 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/InetAddress.java (toString): Use hostname when not null,mark2002-12-072-7/+11
| | | | | | | | | don't do an explicit reverse getHostName() lookup. * java/net/Socket.java (setSocketImplFactory): When fac == null throw NullPointerException. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59902 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Class.h (_Jv_SetVTableEntries): Updated declaration.tromey2002-12-052-23/+50
| | | | | | | | | | | | | | | | * resolve.cc: Don't include AbstractMethodError.h. (_Jv_abstractMethodError): Removed. * defineclass.cc (handleMethodsBegin): Initialize method index to -1. * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Don't set method index for "new" final method. (_Jv_SetVTableEntries): Compare index against -1 instead of using isVirtualMethod. Added `flags' argument. (_Jv_MakeVTable): Throw exception for abstract method in concrete class. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59847 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/SocketPermission.java (hashCode): Rewrote.tromey2002-12-051-7/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59843 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud