This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Proxy.java natClassLoader.cc


> ./compile
> gdb M
(gdb) r
.....
(gdb) s
_Jv_PrepareCompiledClass(java::lang::Class*) (klass=0x80530a0)
    at ../../../gcc/libjava/java/lang/natClassLoader.cc:247
247       if (klass->state >= JV_STATE_LINKED)
(gdb) s
251       klass->state = JV_STATE_LINKED;
(gdb) s
253       _Jv_Constants *pool = &klass->constants;
(gdb) s
254       for (int index = 1; index < pool->size; ++index)
(gdb) p *pool
$1 = {size = 134563520, tags = 0x403e9b20 "ĀF\005\b", data = 0x805139a}

I assume that a pool size should not be that big.
This is the latest gcc (downloaded today).
Example Java code that produces error is included.

Richard Emberson

Attachment: proxy.zip
Description: Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]