Skip to content
Snippets Groups Projects
  1. Aug 18, 1999
    • Tom Tromey's avatar
      ThreadGroup.java: Fixed now-erroneous comment. · 5a0eb832
      Tom Tromey authored
      	* java/lang/ThreadGroup.java: Fixed now-erroneous comment.
      	* java/lang/natThread.cc (finish_): Call ThreadGroup.remove.
      
      From-SVN: r28753
      5a0eb832
    • Tom Tromey's avatar
      * include/javaprims.h ("Java"): Regenerated namespace decls. · 4c9d8fa8
      Tom Tromey authored
      From-SVN: r28749
      4c9d8fa8
    • Kresten Krab Thorup's avatar
      natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed from _Jv_InternClassStrings. · eb4534a6
      Kresten Krab Thorup authored
      	* java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Renamed
      	from _Jv_InternClassStrings.
      
      	* prims.cc (_Jv_RunMain): New function.
      	(JvRunMain): Remove gij-support.
      
      	* gij.cc (main): Use _Jv_RunMain.
      
      	* java/util/zip/ZipFile.java: Call readDirectory in constructor.
      
      	* interpret.cc (PUSHA, PUSHI, PUSHF, PUSHL, PUSHD): Don't store
      	argument in temp variable.
      	(continue1): For all op_x2y insns, use temp variable for
      	intermediate value.  Also remove some comments.
      
      	* java/lang/natClass.cc (newInstance): Call _Jv_InitClass.
      	(forName): Don't call _Jv_InitClass.
      
      	* java/lang/Class.java (getResource,getResourceAsStream): Implement.
      
      	* java/util/zip/ZipEntry.java (ZipEntry(ZipEntry)): New construcor.
      
      	* java/util/jar/JarInputStream.java: New file.
      
      	* java/util/jar/JarEntry.java: New file.
      
      	* java/util/jar/JarFile.java: New file.
      
      	* java/net/URLClassLoader.java: New file.
      
      	* java/net/JarURLConnection.java: New file.
      
      	* gnu/gcj/protocol/jar/Handler.java: New file.
      
      	* gnu/gcj/protocol/jar/Connection.java: New file.
      
      	* java/security/SecureClassLoader.java: New file.
      
      	* java/lang/ClassLoader.java (parent): New variable.
      	(ClassLoader (ClassLoader)): new constructor.
      	(findClass): New method.
      	(loadClass): Add default 1.2 implementation.
      	(getSystemResourceAsBytes, getResourceAsBytes): Removed.
      	(readfully): Removed.
      
      	* gnu/gcj/runtime/VMClassLoader.java: Moved from java/lang.
      	(findSystemClass): New method.
      	(VMClassLoader): Constructor rewritten.
      	(init): New method.
      	All other methods removed.
      
      	* java/lang/natClassLoader.cc: Change use of java::lang::VMClassLoader
      	to gnu::gcj::runtime::VMClassLoader.
      	(_Jv_InternClassStrings): Use _Jv_ResolvePoolEntry.  Also handle
      	class entries.
      	(VMClassLoader::findSystemClass): renamed from findBootClass.
      
      	* Makefile.am: Add new files.
      	(FirstThread.h, ThreadGroup.h): Add _Jv_Main friend.
      
      	* Makefile.in: Rebuilt.
      
      From-SVN: r28748
      eb4534a6
    • Tom Tromey's avatar
      natThread.cc (sleep): Turn 0 millis and 0 nanos into 1 nano. · 212f5d30
      Tom Tromey authored
      	* java/lang/natThread.cc (sleep): Turn 0 millis and 0 nanos into 1
      	nano.
      	* include/quick-threads.h (_Jv_CondWait): Don't round to 0
      	inappropriately.
      
      From-SVN: r28742
      212f5d30
  2. Aug 17, 1999
    • Tom Tromey's avatar
      From Bryce McKinlay: · db4b04f1
      Tom Tromey authored
      	* libjava.lang/Array_2.java: New file.
      	* libjava.lang/Array_2.out: New file.
      
      From-SVN: r28737
      db4b04f1
  3. Aug 16, 1999
    • Tom Tromey's avatar
      configure: Rebuilt. · 086920c3
      Tom Tromey authored
      	* configure: Rebuilt.
      	* configure.in: Set DIVIDESPEC to empty string if compiler does
      	not support -fuse-divide-subroutine.
      
      From-SVN: r28727
      086920c3
  4. Aug 14, 1999
    • Per Bothner's avatar
      resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0. · efc3b511
      Per Bothner authored
      1999-08-14  Per Bothner  <per@bothner.com>
      
      	* resolve.cc (_Jv_PrepareClass): Use ClassLoader::resolveClass0.
      	* java/lang/natClass.cc (initializeClass): Likewise.
      	* java/lang/ClassLoader.java (resolveClass0): New static method.
      	(resolveClass): Call resolveClass0.
      	(findSystemClass): No longer static.
      
      From-SVN: r28711
      efc3b511
  5. Aug 12, 1999
  6. Aug 11, 1999
  7. Aug 10, 1999
    • Anthony Green's avatar
      [multiple changes] · 7941ceab
      Anthony Green authored
      Mon Aug  9 18:33:38 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
      
              * Makefile: Rebuilt.
      	* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
      	builds.
      
      	* java/net/natPlainSocketImpl.cc: Include <sys/select.h> only if
      	present.
      
      	* configure: Rebuilt.
      	* configure.in: Properly align --help output, fix capitalization
      	and punctuation.
      	* acinclude.m4: Likewise.
      
      1999-08-09  Kresten Krab Thorup  <krab@gnu.org>
      
      	* include/javaprims.h (_Jv_word, _Jv_word2): New types.
      
      	* include/java-interp.h (_Jv_InterpMethodInvocation): Use _Jv_word.
      	(_Jv_callInterpretedMethod): Unused. Remove.
      	(_Jv_InterpMethod::run,run_normal,run_synch_object,run_synch_class):
      	Use ffi_raw.
      	* include/java-cpool.h (_Jv_get, _Jv_put): Remove.
      	(_Jv_{store,load}{Indexes,Int,Float,Long,Double}): Use _Jv_word.
      	* boehm.cc (_Jv_MarkObj): Use _Jv_word.
      	* interpret.cc: use _Jv_word.
      	* defineclass.cc: use_Jv_word.
      	* resolve.cc: Use _Jv_word.
      	(_Jv_ResolvePoolEntry): Return _Jv_word.
      	* java/lang/Class.h (_Jv_Constants): Use _Jv_word for cpool.
      	* java/lang/natClassLoader.cc (_Jv_InternClassStrings): Use _Jv_word.
      
      	* interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
      	Change comment.
      
      From-SVN: r28641
      7941ceab
  8. Aug 09, 1999
  9. Aug 08, 1999
    • Anthony Green's avatar
      [multiple changes] · 58eb6e7c
      Anthony Green authored
      1999-08-09  Anthony Green  <green@cygnus.com>
      
              * gij.cc: New file.
      
              * include/config.h.in: Rebuilt.
              * acconfig.h: Add INTERPRETER.
      
              * configure: Rebuilt.
      
              * Makefile.in: Rebuilt.
              * Makefile.am (libffi_files): Identify the libffi object files for
              inclusion in libgcj.
              (LIBFFIINCS): Define.
      
              * interpret.cc (gnu::gcj::runtime::MethodInvocation::continue1):
              Dummy definition for configurations without an interpreter.
      
              * java/net/natPlainSocketImpl.cc (getOption): Disamiguate call to
              java::lang::Boolean constructor.
      
              * include/java-interp.h: Always include java-cpool.h.
      
              * java/lang/natClassLoader.cc (getVMClassLoader0): Always return 0
              when INTERPRETER not defined.
      
              * java/lang/Class.h (finalize): Define.
      
              * gnu/gcj/util/path/DirectoryPathEntry.java (getURL): Catch
              IOException from File.getCanonicalPath.
              (getStream): Likewise.
      
              * NEWS: More news.
              * THANKS: More thanks.
      
      1999-08-09  Kresten Krab Thorup  <krab@gnu.org>
      
              * resolve.cc (get_ffi_type_from_signature): Generate uint16 for
              jchar type.
              (_Jv_PrepareClass): Allow non-abstract classes to
              have abstract subclasses.
              (_Jv_ResolvePoolEntry): Revert subclass check for protected
              fields and methods.
              * interpret.cc (continue1/perform_invoke): Don't sign extend
              uint16 return val.
              (continue1/lshl,lshr): Push long, not int.
              (continue1/ulshr): Use UINT64, not long long.
              * defineclass.cc (handleFieldsEnd): Handle case when all fields
              are static.
              * java/lang/natClass.cc (forName): Add call to _Jv_InitClass.
              * java/lang/FirstThread.java (run): Add top-level exception
              handler.
              (run0): Renamed from run.
      
      1999-08-08  Kresten Krab Thorup  <krab@gnu.org>
      
              * configure.in (--with-interpreter): Added.
              * include/config.h.in (INTERPRETER): Added.
      
              * java/lang/ClassLoader.java: File replaced.
              * java/lang/VMClassLoader.java: New file.
              * java/lang/natClassLoader.cc: New file.
              * gnu/gcj/runtime/MethodInvocation.java: New file.
              * gnu/gcj/util/path/SearchPath.java: New file.
              * gnu/gcj/util/path/PathEntry.java: New file.
              * gnu/gcj/util/path/DirectoryPathEntry.java: New file.
              * gnu/gcj/util/path/ZipPathEntry.java: New file.
              * gnu/gcj/util/path/URLPathEntry.java: New file.
              * gnu/gcj/util/path/CacheEntry.java: New file.
              * include/java-interp.h: New file.
              * include/java-cpool.h: New file.
              * include/java-insns.h: New file.
              * defineclass.cc: New file.
              * interpret.cc: New file.
              * resolve.cc: New file.
      
              * java/lang/natClass.cc (loaded_classes, _Jv_RegisterClass,
              _Jv_RegisterClasses, _Jv_FindClassInCache, _Jv_FindClass,
              _Jv_NewClass, _Jv_FindArrayClass): Moved to natClassLoader.cc.
              (finalize): New.
              (STATE_NOTHING, STATE_RESOLVED, STATE_IN_PROGRESS, STATE_DONE,
              STATE_ERROR): Moved to java/lang/Class.h and renamed with JV_
              prefix.
              (initializeClass): Use new JV_ prefixed names.  Also, call
              ClassLoader::resolveClass instead of _Jv_ResolveClass.
      
              * java/lang/Class.h (JV_STATE_PRELOADING, JV_STATE_LOADING,
              JV_STATE_LOADED, JV_STATE_COMPILED, JV_STATE_PREPARED,
              JV_STATE_LINKED): New.
              (_Jv_WaitForState, _Jv_RegisterInitiatingLoader,
              _Jv_UnregisterClass, _Jv_InternClassStrings): New friends.
              (_Jv_IsInterpretedClass, _Jv_InitField, _Jv_LookupDeclaredMethod,
              _Jv_DetermineVTableIndex, _Jv_ResolvePoolEntry, _Jv_PrepareClass,
              _Jv_ClassReader, _Jv_InterpClass, _Jv_InterpMethod,
              _Jv_InterpMethodInvocation): New friends for interpreter.
              (finalize): New.
              (CONSTANT_Class, CONSTANT_String, etc.): Moved to
              include/java-cpool.h and renamed with JV_ prefix.
      
              * include/jvm.h (_Jv_makeUtf8Const, _Jv_makeUtf8TypeConst): New
              decls.
              (_Jv_UnregisterClass): New decl.
      
              * java/lang/natClassLoader.cc (_Jv_FindArrayClass): Added
              class loader argument.
              (_Jv_FindClass): Use class loader.
      
              * prims.cc (_Jv_makeUtf8Const): New function.
              (_Jv_NewObjectArray): Change use of _Jv_FindArrayClass.
              (_Jv_NewPrimArray): Ditto.
              (_Jv_FindClassFromSignature): Ditto.
              * java/lang/reflect/natArray.cc (newInstance): Ditto.
              * java/lang/reflect/natMethod.cc (getType): Ditto.
      
              * include/java-field.h (_Jv_Field::isRef): Make robust for
              non-resolved contexts.
      
              * boehm.cc (_Jv_MarkObj): Mark interpreter-related fields.
              Also, don't mark class->next field.
      
              * java/lang/VirtualMachineError.java: Added FIXME note.
      
              * configure.in (INTERPSPEC): New spec.
              * libgcj.spec.in: Added INTERPSPEC.
              * Makefile.am: Added gcjh friends for java/lang/VMClassLoader and
              gnu/gcj/runtime/MethodInvocation.
              (libgcj_la_SOURCES): Added resolve.cc defineclass.cc interpret.cc.
              (ordinary_java_source_files): Added above mentioned java classes.
      
              * configure: Rebuilt.
              * Makefile.in: Rebuilt.
      
      From-SVN: r28597
      58eb6e7c
  10. Aug 06, 1999
    • Tom Tromey's avatar
      configure: Rebuilt. · 7339705d
      Tom Tromey authored
      	* configure: Rebuilt.
      	* configure.in: Look for sched_yield in -lrt.
      
      From-SVN: r28554
      7339705d
    • Mojo Jojo's avatar
      Locale.java (CHINESE, [...]): New locales. · 3a6bdeba
      Mojo Jojo authored
      1999-08-06  Mojo Jojo <mojojojo@pacbell.net>
      
      	* java/util/Locale.java, CHINESE, ENGLISH, FRENCH, GERMAN,
      	ITALIAN, JAPANESE, KOREAN, CANADA_FRENCH, GERMANY, ITALY, KOREA,
      	SIMPLIFIED_CHINESE, TRADITIONAL_CHINESE, PRC, TAIWAN, CHINA): New
      	locales.
      	(toString): Print correctly when `country' is empty.
      
      From-SVN: r28548
      3a6bdeba
  11. Aug 05, 1999
  12. Aug 04, 1999
  13. Aug 03, 1999
  14. Aug 01, 1999
    • Alexandre Oliva's avatar
      configure.in: Check for bstring.h. · 130e63de
      Alexandre Oliva authored
      1999-08-01  Alexandre Oliva  <oliva@dcc.unicamp.br>
      
      	* configure.in: Check for bstring.h.
      	* configure, include/config.h.in: Rebuilt.
      	* java/net/natPlainDatagramSocketImpl.cc: #include bstring.h.
      	* java/net/natPlainSocketImpl.cc: Likewise.
      
      From-SVN: r28378
      130e63de
    • Tom Tromey's avatar
      NEWS: Likewise. · db936a7c
      Tom Tromey authored
      	* NEWS: Likewise.
      	* THANKS: New file.
      
      From-SVN: r28371
      db936a7c
    • Alexandre Oliva's avatar
      configure.in: Check for struct hostent_data and need for -D_REENTRANT for gethostbyname_r... · 34c5c0e1
      Alexandre Oliva authored
      1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
      
      	* configure.in: Check for struct hostent_data and need for
      	-D_REENTRANT for gethostbyname_r declaration.
      	* java/net/natInetAddress.cc: Define _REENTRANT if needed.
      	(lookup): Use hostent_data for fixed_buffer.
      	* configure, include/config.h.in: Rebuilt.
      
      From-SVN: r28369
      34c5c0e1
  15. Jul 31, 1999
    • Alexandre Oliva's avatar
      libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac,... · 5f67f48f
      Alexandre Oliva authored
      libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that defaults to javac, as Sun-javac compiler or compatible.
      
      1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
      
      	* lib/libjava.exp (bytecompile_file): Use `env(SUN_JAVAC)', that
      	defaults to javac, as Sun-javac compiler or compatible.
      	(libjava_init): Get GCJ from environment if neither GCJ_UNDER_TEST
      	nor TOOL_EXECUTABLE are set.  Set `original_ld_library_path' from
      	environment.
      	(libjava_arguments): Prepend `.' and `$srcdir/$subdir' to
      	CLASSPATH, for `support' sources.  Search for libgcj.spec in
      	`$objdir/..', by adding -B to GCJ_UNDER_TEST.  Append
      	original_ld_library_path to ld_library_path.
      	* libjava.mauve/mauve.exp (test_mauve): Set `env(GCJ)' from
      	GCJ_UNDER_TEST, calculated just like in libjava.exp.
      
      From-SVN: r28364
      5f67f48f
    • Alexandre Oliva's avatar
      natSystem.cc (arraycopy): Use bcopy if memmove is not available. · 138607df
      Alexandre Oliva authored
      1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>
      
      	* java/lang/natSystem.cc (arraycopy): Use bcopy if memmove is not
      	available.  Don't cast memmove args to (void*).
      	* configure.in: Do not abort if memmove is not available.
      
      From-SVN: r28360
      138607df
  16. Jul 26, 1999
  17. Jul 25, 1999
  18. Jul 21, 1999
    • Andrew Haley's avatar
      prims.cc (JvRunMain): Always initialize arithexception. · d342a2e1
      Andrew Haley authored
      1999-07-19  Andrew Haley  <aph@cygnus.com>
      
              * prims.cc (JvRunMain): Always initialize arithexception.
              (_Jv_divI): New function.
              (_Jv_remI): New function.
              (_Jv_divJ): New function.
              (_Jv_remI): New function.
              * include/jvm.h: Add these new functions.
      
              Makefile.am: add DIVIDESPEC.
              aclocal.m4: ditto.
              configure.host: set DIVIDESPEC.
              libgcj.spec.in: pass DIVIDESPEC to compiler.
              configure: rebuilt.
              Makefile.in: rebuilt.
      
      From-SVN: r28211
      d342a2e1
  19. Jul 20, 1999
  20. Jul 19, 1999
  21. Jul 15, 1999
    • Tom Tromey's avatar
      G19990217_02.no-link: New file. · 51e0d189
      Tom Tromey authored
      	* libjava.compile/G19990217_02.no-link: New file.
      	* libjava.compile/test.exp: Look for `.no-link' file.
      	* lib/libjava.exp (test_libjava_from_source): Added `no-link'
      	option.
      	(test_libjava_from_javac): Likewise.  Also, handle package
      	information from class name when creating class file name.
      
      From-SVN: r28113
      51e0d189
  22. Jul 13, 1999
    • Tom Tromey's avatar
      test.exp: New file. · f160279b
      Tom Tromey authored
      	* libjava.lang/test.exp: New file.
      	* libjava.lang/err9.out: New file.
      	* libjava.lang/err9.java: New file.
      	* libjava.lang/err8.out: New file.
      	* libjava.lang/err8.java: New file.
      	* libjava.lang/err7.out: New file.
      	* libjava.lang/err7.java: New file.
      	* libjava.lang/err6.out: New file.
      	* libjava.lang/err6.java: New file.
      	* libjava.lang/err5.out: New file.
      	* libjava.lang/err5.java: New file.
      	* libjava.lang/err4.out: New file.
      	* libjava.lang/err4.java: New file.
      	* libjava.lang/err3.out: New file.
      	* libjava.lang/err3.java: New file.
      	* libjava.lang/err2.out: New file.
      	* libjava.lang/err2.java: New file.
      	* libjava.lang/err13.out: New file.
      	* libjava.lang/err13.java: New file.
      	* libjava.lang/err12.out: New file.
      	* libjava.lang/err12.java: New file.
      	* libjava.lang/err11.out: New file.
      	* libjava.lang/err11.java: New file.
      	* libjava.lang/err10.out: New file.
      	* libjava.lang/err10.java: New file.
      	* libjava.lang/err1.out: New file.
      	* libjava.lang/err1.java: New file.
      	* libjava.lang/N19990310_5.out: New file.
      	* libjava.lang/N19990310_5.java: New file.
      	* libjava.lang/N19990310_4.out: New file.
      	* libjava.lang/N19990310_4.java: New file.
      	* libjava.lang/N19990310_3.out: New file.
      	* libjava.lang/N19990310_3.java: New file.
      	* libjava.lang/N19990310_02.out: New file.
      	* libjava.lang/N19990310_02.java: New file.
      	* libjava.lang/G19990303_02.out: New file.
      	* libjava.lang/G19990303_02.java: New file.
      	* libjava.lang/G19990303_01.out: New file.
      	* libjava.lang/G19990303_01.java: New file.
      	* libjava.lang/G19990302_02.out: New file.
      	* libjava.lang/G19990302_02.java: New file.
      	* libjava.lang/G19990301_01.out: New file.
      	* libjava.lang/G19990301_01.java: New file.
      	* libjava.compile/N19990317.java: New file.
      	* libjava.compile/N19990310_01.java: New file.
      	* libjava.compile/G19990225_01.java: New file.
      	* libjava.compile/G19990217_02.java: New file.
      	* libjava.compile/G19990217_01.java: New file.
      	* libjava.compile/G19990210_3.java: New file.
      	* libjava.compile/G19990210_2.java: New file.
      	* libjava.compile/G19990210_1.java: New file.
      
      From-SVN: r28087
      f160279b
  23. Jul 12, 1999
  24. Jul 07, 1999
Loading