summaryrefslogtreecommitdiffstats
path: root/libjava/java
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * Makefile.in: Rebuilt.tromey2002-12-054-48/+93
| | | | | | | | | | | | | * Makefile.am (nat_source_files): Added natVMSecurityManager, natResourceBundle. * java/util/ResourceBundle.java (Security): Removed. (getCallingClassLoader): Now native. * java/util/natResourceBundle.cc: New file. * java/lang/natVMSecurityManager.cc: New file. * java/lang/VMSecurityManager.java (getClassContext): Now native. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59840 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/util/jar/JarFile.java (manifest): Not final.mark2002-12-034-128/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (manifestRead): New field. (JarFile): Don't read Manifest in constructor. (getManifest): New method. (JarEnumeration.nextElement): Use new method. (getEntry): Likewise. * java/util/zip/ZipFile.java (name): Final. (raf): Likewsie. (entries): Change type to Hashtable. (closed): New field. (ZipFile): Don't read enties in constructor. (readEntries): Use Hashtable. (close): Set new close flag and set entries to null inside synchronized block. (entries): Contruct enumeration using new getEntries() method and entries Hashtable. (getEntryIndex): Removed. (getEntries): New method. (getEntry): Use new getEntries() method and entries Hastable. (getInputStream): Likewise. (size): Return getEntries().size(). (ZipEntryEnumeration): Wrap entries Hashtable elements. * java/util/zip/ZipEntry.java (cal): Don't initialize. (time): Removed (dostime): New field. (zipFileIndex): Removed. (ZipEntry(ZipEntry)): Copy dostime. (setDOSTime): Now final and doesn't convert dos time. (getDOSTime): Likewise. (setTime): Convert dos time. (getTime): Likewise. (getCalendar): New method. (setExtra): Use setTime(). * java/util/zip/ZipInputStream.java (getNextEntry): Format error msg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59785 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/Character.java (forDigit): Formatting fix.tromey2002-12-031-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59781 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-03 Raif Naffah <raif@fl.net.au>mark2002-12-033-3/+3
| | | | | | | | | * java/security/spec/DSAParameterSpec.java (getP): Return p, not q. * java/security/spec/DSAPrivateKeySpec.java (getP): Likewise. * java/security/spec/DSAPublicKeySpec.java (getP): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59779 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-03 Andrew Haley <aph@redhat.com>aph2002-12-031-97/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59770 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-12-03 Andrew Haley <aph@redhat.com>aph2002-12-034-9/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Call _Jv_PushClass. (_Jv_InitNewClassFields): Set protectionDomain and chain = NULL. (_Jv_PopClass): New. (_Jv_PushClass): New. * java/lang/natClass.cc (forName (jstring)): Use a StackTrace to discover the ClassLoader of our caller. (_Jv_CheckArrayStore): Don't check that a class is assignment compatible with Object. * java/lang/natVMTHrowable.cc: Delete. * gnu/gcj/runtime/StackTrace.java: New, partly copied from java.lang.VMThrowable. (StackTrace(), StackTrace(int)): New constructors. (classAt, methodAt, update, methodAtAddress): New methods. (map): New field. * java/lang/VMThrowable.java: Use StackTrace instead of natVMTHrowable. * java/lang/Class.h (getClassLoaderInternal): New. (class Class): Be friendly with _Jv_PopClass and _Jv_PushClass. Be friendly with gnu::gcj::runtime::StackTrace. (Object.chain): New field. * include/java-interp.h (class _Jv_InterpMethod): Be friendly with gnu::gcj::runtime::StackTrace. * prims.cc (_Jv_NewObjectArray): Use getClassLoaderInternal() instead of getClassLoader(). * verify.cc (class _Jv_BytecodeVerifier): Likewise. java::lang::VMThrowable. * Makefile.am (core_java_source_files): Add MethodRef.java, StackTrace.java. (nat_source_files): Remove natVMThrowable.cc; add natStackTrace.cc. * Makefile.in: Rebuild. 2002-12-03 Andrew Haley <aph@redhat.com> * class.c (make_class_data): New field, "chain". * decl.c (java_init_decl_processing): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59769 138bc75d-0d04-0410-961f-82ee72b054a4
* Bug compatibility, for PR libgcj/8738:tromey2002-12-021-28/+5
| | | | | | | | | | | | | * java/io/CharArrayWriter.java (close): Do nothing. (flush): Likewise. (reset): Don't touch `closed'. (write(int)): Don't throw IOException. (write(char[],int,int)): Likewise. (write(String,int,int)): Likewise. (closed): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59743 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/SecurityManager.java: Remerge comments, indenting andmark2002-12-011-688/+951
| | | | | | | checkXXX methods with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59685 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-29 Scott Gilbertson <scottg@mantatest.com>tromey2002-11-301-2/+2
| | | | | | | | | * java/awt/image/ColorModel.java (getUnnormalizedComponents, getNormalizedComponents): Fix calculation which was using one too many bits in the unnormalized format. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59651 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-29 Gary Benson <gbenson@redhat.com>tromey2002-11-301-1/+27
| | | | | | | | | For PR libgcj/8759: * java/beans/Introspector.java (flushCaches): New method. (flushFromCaches): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59650 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-29 Michael Koch <konqueror@gmx.de>mkoch2002-11-292-0/+109
| | | | | | | | | | | | | | | | | | | | | | * java/nio/channels/DatagramChannel.java (open): Added exception documentation. (write): Added exception documentation. (connect): Added exception documentation. (disconnect): Added exception documentation. (isConnected): Added exception documentation. (read): Added exception documentation. (receive): Added exception documentation. (send): Added exception documentation. (validOps): Added exception documentation. * java/nio/channels/SocketChannel.java (open): Added exception documentation. (read): Added exception documentation. (write): Added exception documentation. (connect): Added exception documentation. (finishConnect): Added exception documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59633 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-27 Julian Dolby <dolby@us.ibm.com>tromey2002-11-271-0/+2
| | | | | | | | * java/util/Locale.java (toString): Improve efficiency if country and variant are both empty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59590 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-26 Andreas Tobler <a.tobler@schweiz.ch>tromey2002-11-262-6/+0
| | | | | | | | | | * java/net/natPlainDatagramSocketImpl.cc (socklen_t): Don't define. * java/net/natPlainSocketImpl.cc (socklen_t): Don't define. * include/posix.h (socklen_t): Define if not already defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59533 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/net/URL.java: Merge with Classpath (partly).mark2002-11-222-165/+469
| | | | | | | * java/net/URLStreamHandler: Merge with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59378 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-21 Michael Koch <konqueror@gmx.de>mkoch2002-11-2114-0/+730
| | | | | | | | | | | | | | | | | | | | | | | * java/nio/channels/AsynchronousCloseException.java, java/nio/channels/CancelledKeyException.java, java/nio/channels/ClosedByInterruptException.java, java/nio/channels/ConnectionPendingException.java, java/nio/channels/FileLockInterruptionException.java, java/nio/channels/IllegalSelectorException.java, java/nio/channels/NoConnectionPendingException.java, java/nio/channels/NonReadableChannelException.java, java/nio/channels/NonWritableChannelException.java, java/nio/channels/NotYetBoundException.java, java/nio/channels/NotYetConnectedException.java, java/nio/channels/OverlappingFileLockException.java, java/nio/channels/UnresolvedAddressException.java, java/nio/channels/UnsupportedAddressTypeException.java: New files. * Makefile.am (ordinary_java_source_files): Added new files. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59341 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot to add to cvs command linemkoch2002-11-212-85/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59340 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-21 Michael Koch <konqueror@gmx.de>mkoch2002-11-211-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/posix.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_platform_close_on_exec): Prefixed system function with "::". (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * include/win32.h (_Jv_socket): New method. (_Jv_connect): New method. (_Jv_close): New method. (_Jv_bind): New method. (_Jv_listen): New method. (_Jv_write): New method. (_Jv_read): New method. * java/net/natNetworkInterface.cc: Include platform.h, removed inclusion of socket.h (getRealNetworkInterfaces): Replaced ::socket() by _Jv_socket() and ::close() by _Jv_close(). * java/net/natPlainDatagramSocketImpl.cc: Removed include of socket.h, definition of NATIVE_CLOSE and _Jv_bind, added some new lines to make code more readable. (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). * java/net/natPlainSocketImpl.cc: Removed definition of NATIVE_CLOSE, _Jv_bind, Jv_connect and _Jv_accept, removed include of socket.h, removed some windows defines (now in include/win32.h). (create): Replaced ::socket() by _Jv_socket(). (close): Replaced NATIVE_CLOSE() by _Jv_close(). (write): Replaced ::read by _Jv_write(). (read): Replaced ::read by _Jv_read(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59338 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-20 Michael Koch <konqueror@gmx.de>mkoch2002-11-206-25/+47
| | | | | | | | | | | | | | | | | | | | | * java/io/FileInputStream.java (getChannel): New method. * java/io/FileOutputStream.java (getChannel): New method. * java/net/ServerSocket.java (bind): Removed duplicate code and called another bind method instead. * java/nio/channels/SelectionKey.java (isValid): Removed wrong exception documentation. * java/nio/channels/ServerSocketChannel.java (accept): Added exception documentation. (open): Fixed typo, added exception documentation. * java/nio/channels/spi/AbstractSelectableChannel.java (implCloseChannel): Added exception documentation. (add): Reformated. (register): Added exception documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59307 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ref/natReference.cc (add_to_hash): Look at `copy', nottromey2002-11-192-12/+7
| | | | | | | | | | | | `referent'. (finalize_referred_to_object): Don't modify `referent' or `copy' fields. (add_to_hash): Correctly set `n->next' when updating list. * java/lang/ref/Reference.java (enqueue): Return false if already enqueued. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59278 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-18 Jesse Rosenstock <jmr@ugcs.caltech.edu>mkoch2002-11-181-1/+1
| | | | | | | | | * java/nio/charset/CoderResult.java (Cache.get): Fix a bug that was causing CoderResults to be cached, not WeakReferences to CoderResults. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59233 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-18 Joerg Brunsmann <joerg_brunsmann@yahoo.de>tromey2002-11-181-6/+39
| | | | | | | | | | * java/security/KeyStore.java (getInstance): Fix comment and throw IllegalArgumentException if given provider is null. (getInstance): New method for jdk1.4 compatibility. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59226 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-18 Michael Koch <konqueror@gmx.de>mkoch2002-11-181-0/+2
| | | | | | | * java/net/PlainSocketImpl.java: Fix imports. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59221 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud