summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang
Commit message (Collapse)AuthorAgeFilesLines
* * gcj/cni.h: CNI now expands to Compiled Native Interface.mark2003-07-082-2/+2
| | | | | | | | * java/lang/e_pow.c: CYGNUS LOCAL should be GCJ LOCAL. * java/lang/fdlibm.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69104 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natVMSecurityManager.cc (getClassContext):kraai2003-06-181-2/+2
| | | | | | | Use maxlen instead of len for loop bound. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68153 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-11 Andrew Haley <aph@redhat.com>aph2003-06-121-4/+4
| | | | | | | | | | | | | | * jni.cc (_Jv_JNI_check_types): New. (_Jv_JNI_SetPrimgitiveArrayRegion): Check array type. (_Jv_JNI_GetPrimitiveArrayRegion): Ditto. (_Jv_JNI_GetPrimitiveArrayElements): Ditto. (_Jv_JNI_ReleasePrimitiveArrayElements): Ditto. * java/lang/natVMSecurityManager.cc (getClassContext): Fix infinite loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67835 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (loadClass): Not deprecated.tromey2003-06-121-1/+0
| | | | | | | * java/io/PrintStream.java: Not deprecated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67811 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-06 James Clark <jjc@jclark.com>mark2003-06-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | Fix for PR libgcj/8738: * gnu/gcj/convert/UnicodeToBytes.java (havePendingBytes): New method. * gnu/gcj/convert/Output_SJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_EUCJIS.java (havePendingBytes): Likewise. * gnu/gcj/convert/Output_UTF8.java (havePendingBytes): Likewise. (write): Always decrease avail when count is increased. * java/lang/natString.cc (getBytes): Check converter havePendingBytes() and whether output buffer is full before increasing size. 2002-06-06 Mark Wielaard <mark@klomp dot org> * java/io/PrintStream.java (writeChars(char[],int, int)): Check converter.havePendingBytes(). (writeChars(String,int,int)): Likewise. * java/io/OutputStreamWriter.java (writeChars(char[], int, int)): Check converter.havePendingBytes() and flush buffer when stalled. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67595 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/w_exp.c (o_threshold, u_threshold): Define onlykraai2003-06-061-0/+4
| | | | | | | if _IEEE_LIBM is undefined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67526 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-27 Michael Koch <konqueror@gmx.de>mkoch2003-05-271-1/+8
| | | | | | | | * java/lang/System.java: Explicitely import needed classes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67182 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libgcj/10582:tromey2003-05-011-16/+24
| | | | | | | | | | | | * verify.cc (_Jv_BytecodeVerifier::is_assignable_from_slow): Removed. (type::compatible): Use _Jv_IsAssignableFrom. * java/lang/natClass.cc (iindex_mutex_initialized): Now static. (_Jv_IsAssignableFrom): Work even when source or target class is not prepared. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66348 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natString.cc (_Jv_AllocString): Initializetromey2003-04-281-0/+2
| | | | | | | | | cachedHashCode. (init): Likewise. (_Jv_NewStringUtf8Const): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66180 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-29 Mohan Embar <gnustuff@thisiscool.com>aph2003-04-251-5/+1
| | | | | | | | | | | | | | | | | | * include/jvm.h: (_Jv_GetNbArgs) added (_Jv_GetSafeArg) added (_Jv_SetArgs) added * prims.cc: (_Jv_GetNbArgs) implemented (_Jv_GetSafeArg) implemented (_Jv_SetArgs) implemented (_Jv_RunMain) use _Jv_SetArgs() instead of explicitly setting _Jv_argc and _Jv_argv * posix.cc: (_Jv_ThisExecutable) use _Jv_GetSafeArg() instead of _Jv_argv * java/lang/natRuntime.cc: (insertSystemProperties) use _Jv_GetSafeArg() instead of _Jv_argv git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66067 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ieeefp.h: Handle ARM platforms that have pure-endianrearnsha2003-04-161-2/+12
| | | | | | | floating point. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65693 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/String.java (data, boffset, count): Documented.tromey2003-03-311-9/+30
| | | | | | | | | | | | (String(byte[],String)): Reformatted. (String(byte[])): Likewise. (lastIndexOf(int)): Likewise. (lastIndexOf(String)): Likewise. (substring(int)): Renamed argument to match Classpath. (String(StringBuffer)): Don't share buffer if it is nearly empty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65070 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/String.java: Miscellaneous minor formatting changestromey2003-03-301-72/+72
| | | | | | | to match Classpath more closely. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65055 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-29 Eric Blake <ebb9@email.byu.edu>tromey2003-03-302-15/+167
| | | | | | | | | | | | | | | | | | | | | Tom Tromey <tromey@redhat.com> * java/lang/natString.cc (hashCode): Use cachedHashCode. (init()): Removed. (charAt): Put index in exception. (contentEquals): New method. Include StringBuffer.h. * java/lang/String.java (cachedHashCode): New field. (String()): Follow classpath implementation. (init()): Removed. (contentEquals): Declare. (subSequence): Don't declare IndexOutIfBoundsException in throws clause. (matches, replaceFirst, replaceAll, split): New methods from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65037 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/String.java: Reordered to follow Classpath; merged intromey2003-03-301-128/+809
| | | | | | | javadoc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65036 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natClass.cc (newInstance): Put method name intromey2003-03-291-6/+6
| | | | | | | | | | exception. (getConstructor): Likewise. (getDeclaredConstructor): Likewise. (getPrivateMethod): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65021 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/Proxy.java: New version from Classpath.tromey2003-03-292-13/+6
| | | | | | | * java/lang/Package.java: New version from Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65007 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natRuntime.cc (insertSystemProperties): Settromey2003-03-261-0/+6
| | | | | | | | | gnu.classpath.home.url. * Makefile.in: Rebuilt. * Makefile.am: Define LIBDIR. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64905 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-23 Eric Blake <ebb9@email.byu.edu>tromey2003-03-243-505/+690
| | | | | | | | | * java/lang/natStringBuffer.cc (regionMatches): New function. * java/lang/String.java (count): Now package-private. * java/lang/StringBuffer.java: Merged with Classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64770 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-19 Michael Koch <konqueror@gmx.de>mkoch2003-03-191-2/+2
| | | | | | | | * java/lang/Process.java: Merged from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64575 138bc75d-0d04-0410-961f-82ee72b054a4
* * resolve.cc (ncode): Use _Jv_platform_ffi_abi.tromey2003-03-171-24/+15
| | | | | | | | | | | | | | | | | | | | Include platform.h. * java/lang/natRuntime.cc (insertSystemProperties): Use _Jv_platform_path_separator. (nativeGetLibname): Use _Jv_platform_file_separator. (_load): Use _Jv_platform_onload_names. (onload_names): New global. * include/win32.h (_Jv_platform_file_separator): New define. (_Jv_platform_path_separator): Likewise. (_Jv_platform_onload_names): Likewise. (_Jv_platform_ffi_abi): Likewise. * include/posix.h (_Jv_platform_file_separator): New define. (_Jv_platform_path_separator): Likewise. (_Jv_platform_onload_names): Likewise. (_Jv_platform_ffi_abi): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64461 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natObject.cc (JV_SYNC_HASH): replace signed % by &.hboehm2003-03-151-3/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64386 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-10 2003-02-27 Mohan Embar <gnustuff@thisiscool.com>aph2003-03-101-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * include/jvm.h: removed declaration of _Jv_ThisExecutable() setter; made return value of getter const char* instead of char* * prims.cc: removed all references to _Jv_ThisExecutable(). These are in the platform-specific sections now. * posix.cc: define platform-specific _Jv_ThisExecutable(). Handle DISABLE_MAIN_ARGS and HAVE_PROC_SELF_EXE cases * win32.cc: define platform-specific _Jv_ThisExecutable() using GetModuleFilename() * java/lang/natRuntime.cc: set gnu.gcj.progname property to argv[0] instead of _Jv_ThisExecutable() 2003-03-10 Ranjit Mathew <rmathew@hotmail.com> * gnu/gcj/runtime/NameFinder.java (usingAddr2name): New flag that is set if we are using addr2name.awk instead of addr2line. (NameFinder): Set usingAddr2name if using addr2name.awk. (getExternalLabel): New native method to convert a method name to an external label. (lookup): Convert name given by addr2line to an external label before demangling. * gnu/gcj/runtime/natNameFinder.cc (LABEL_PREFIX): New string constant representing the prefix attached to method names to convert them to an external label. (gnu::gcj::runtime::NameFinder::getExternalLabel): Define using LABEL_PREFIX. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64111 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-02 Michael Koch <konqueror@gmx.de>mkoch2003-03-021-78/+104
| | | | | | | | * java/lang/Package.java: Remerged from classpath. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63689 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natObject.cc: Don't include assert.h.tromey2003-03-021-25/+24
| | | | | | | | | | | (heavy_lock_obj_finalization_proc): Use JvAssert. (remove_all_heavy): Likewise. (_Jv_MonitorEnter): Likewise. (_Jv_MonitorExit): Likewise. (wait): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63636 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-03-01 Mohan Embar <gnustuff@thisiscool.com>tromey2003-03-011-8/+9
| | | | | | | | * java/lang/natWin32Process.cc (startProcess): Double-quote each program array element passed to CreateProcess. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63633 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Allocate a fullhboehm2003-02-281-28/+19
| | | | | | | | | | jvalue for each argument. Simplify. * testsuite/libjava.jni/calls.c (docall), testsuite/libjava.jni/calls.java (longpb_f): check for argument misalignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63563 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/ClassLoader.java (defineClass(byte[],int,int)):tromey2003-02-242-1/+4
| | | | | | | | | | Deprecate. * java/lang/Thread.java (resume): Deprecate. * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo in @deprecated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63364 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/natRuntime.cc (libraries_size, libraries_count,tromey2003-02-241-42/+17
| | | | | | | | | | | | | | libraries): Removed. (add_library): Removed. (_load): Don't call add_library. (loadLibraryInternal): Likewise. (init): Likewise. (lookup_data): New struct. (find_symbol): New function. (_Jv_FindSymbolInExecutable): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63348 138bc75d-0d04-0410-961f-82ee72b054a4
* New docs for Thread.java, and little tweaks identified by japi.green2003-02-222-14/+554
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63284 138bc75d-0d04-0410-961f-82ee72b054a4
* * gnu/gcj/runtime/natStackTrace.cc: Include platform.h immediatelyro2003-02-193-8/+5
| | | | | | | | | | | | | | after config.h. Use <> for consistency. * java/lang/natObject.cc: Likewise. * java/lang/natRuntime.cc: Likewise. * java/lang/natSystem.cc: Likewise. * java/util/natTimeZone.cc: Likewise. * win32.cc: Likewise. * include/posix.h (fcntl, socket, connect, close, bind, accept, listen, write, read): Undef to avoid interference from OS macros. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63122 138bc75d-0d04-0410-961f-82ee72b054a4
* * java/lang/System.java (properties): Use Properties.clone.tromey2003-02-141-3/+9
| | | | | | | (setProperties): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62903 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-10 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-102-20/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | * java/lang/Win32Process.java (destroy): Declare as native. (hasExited): New native method. (exitValue): Define. (getErrorStream): Likewise. (getInputStream): Likewise. (getOutputStream): Likewise. (waitFor): Declare as native. (startProcess): New native method. (cleanup): Likewise. (ConcreteProcess): Define. (outputStream, inputStream, errorStream): New members. (procHandle, exitCode): Likewise. * java/lang/natWin32Process.cc (java::lang::ConcreteProcess::cleanup): Define. (java::lang::ConcreteProcess::destroy): Likewise. (java::lang::ConcreteProcess::hasExited): Likewise. (java::lang::ConcreteProcess::waitFor): Likewise. (new_string): Likewise. (java::lang::ConcreteProcess::startProcess): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62657 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-03 Ranjit Mathew <rmathew@hotmail.com>tromey2003-02-031-2/+15
| | | | | | | | | | * java/lang/natRuntime.cc (java::lang::Runtime::_load)): Take care of the fact that on Win32, JNI_OnLoad is an "stdcall" function and could also have been exported as "JNI_OnLoad@8" (MinGW) or "_JNI_OnLoad@8" (MSVC). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62348 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
* * 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
* * Makefile.am (core_java_source_files): Add VMObjectStreamClass.java.mark2003-01-201-1/+2
| | | | | | | | | | | | | | | (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
* 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
* Fix for PR libgcj/7416:tromey2002-12-311-6/+27
| | | | | | | | | | | | | | * 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/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
* * 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
* * 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
* * 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
* * gnu/gcj/protocol/jar/Connection.java (getJarFile): download andmark2002-12-091-9/+115
| | | | | | | | | | | | | | | | | | 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
OpenPOWER on IntegriCloud