Class.h (JV_STATE_LOADING): Added comment.
* java/lang/Class.h (JV_STATE_LOADING): Added comment. * Makefile.in: Rebuilt. * Makefile.am (nat_source_files): Added natSystemClassLoader.cc. * gnu/gcj/runtime/natSystemClassLoader.cc: New file. * gnu/gcj/runtime/SystemClassLoader.java (nativeClasses): New field. (loadedClasses): Removed. (findClass): Declare. (addClass): Add to nativeClasses, not loadedClasses. From-SVN: r113530
This commit is contained in:
parent
5eedb0ce4e
commit
b149e89e77
6 changed files with 67 additions and 16 deletions
|
@ -59,6 +59,14 @@ enum
|
|||
JV_STATE_NOTHING = 0, // Set by compiler.
|
||||
|
||||
JV_STATE_PRELOADING = 1, // Can do _Jv_FindClass.
|
||||
|
||||
// There is an invariant through libgcj that a class will always be
|
||||
// at a state greater than or equal to JV_STATE_LOADING when it is
|
||||
// returned by a class loader to user code. Hence, defineclass.cc
|
||||
// installs supers before returning a class, C++-ABI-compiled
|
||||
// classes are created with supers installed, and BC-ABI-compiled
|
||||
// classes are linked to this state before being returned by their
|
||||
// class loader.
|
||||
JV_STATE_LOADING = 3, // Has super installed.
|
||||
JV_STATE_READ = 4, // Has been completely defined.
|
||||
JV_STATE_LOADED = 5, // Has Miranda methods defined.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue