Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

reference to AbstractStringBuilder in compiled class file

998014Mar 20 2013 — edited Apr 10 2013
The source file uses StringBuffer and StringBuilder classes and doesn't have any reference to AbstractStringBuilder, but the decompiled class has it.
Because of this reference, application fails with NoClassdefFoundError while running on IBM JRE.

Any thoughts on how to debug this issue or what could have caused this ? Or pointers on how to narrow down this issue ?

snippet from the decompiled class (generated using javap -v )

const #613 = class #992; // java/lang/AbstractStringBuilder
..
.
const #992 = Asciz java/lang/AbstractStringBuilder;
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2013
Added on Mar 20 2013
11 comments
5,601 views