* 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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
jar | Loading commit data... | |
zip | Loading commit data... | |
BitSet.java | Loading commit data... | |
Calendar.java | Loading commit data... | |
ConcurrentModificationException.java | Loading commit data... | |
Date.java | Loading commit data... | |
Dictionary.java | Loading commit data... | |
EmptyStackException.java | Loading commit data... | |
Enumeration.java | Loading commit data... | |
EventListener.java | Loading commit data... | |
EventObject.java | Loading commit data... | |
GregorianCalendar.java | Loading commit data... | |
Hashtable.java | Loading commit data... | |
ListResourceBundle.java | Loading commit data... | |
Locale.java | Loading commit data... | |
MissingResourceException.java | Loading commit data... | |
NoSuchElementException.java | Loading commit data... | |
Observable.java | Loading commit data... | |
Observer.java | Loading commit data... | |
Properties.java | Loading commit data... | |
PropertyResourceBundle.java | Loading commit data... | |
Random.java | Loading commit data... | |
ResourceBundle.java | Loading commit data... | |
SimpleTimeZone.java | Loading commit data... | |
Stack.java | Loading commit data... | |
StringTokenizer.java | Loading commit data... | |
TimeZone.java | Loading commit data... | |
TooManyListenersException.java | Loading commit data... | |
Vector.java | Loading commit data... | |
natDate.cc | Loading commit data... | |
natGregorianCalendar.cc | Loading commit data... |