Re: Unknown constant tag 32 in class file error

2011-07-06 Thread Ken Wesson
On Wed, Jul 6, 2011 at 3:28 PM, Alessio Stalla wrote: > On 6 Lug, 09:07, Ken Wesson wrote: >> On Tue, Jul 5, 2011 at 4:32 PM, Alessio Stalla >> wrote: >> > On 5 Lug, 18:49, Ken Wesson wrote: >> >> 1. A too-large string literal should have a specific error message, >> >> rather than generate a

Re: Unknown constant tag 32 in class file error

2011-07-06 Thread Alessio Stalla
On 6 Lug, 09:07, Ken Wesson wrote: > On Tue, Jul 5, 2011 at 4:32 PM, Alessio Stalla > wrote: > > On 5 Lug, 18:49, Ken Wesson wrote: > >> 1. A too-large string literal should have a specific error message, > >> rather than generate a misleading one suggesting a different type of > >> problem. >

Re: Unknown constant tag 32 in class file error

2011-07-06 Thread Ken Wesson
On Wed, Jul 6, 2011 at 1:16 AM, Peter T wrote: >> > > Does the file you are evaluating have more than 65535 characters? > > Nope. It's about 1400 LOC and not syntactically unique (no unusually > long constants, etc.). It's also not the longest ns in the project: > the longest is around 2000 LOC an

Re: Unknown constant tag 32 in class file error

2011-07-06 Thread Ken Wesson
On Tue, Jul 5, 2011 at 4:32 PM, Alessio Stalla wrote: > On 5 Lug, 18:49, Ken Wesson wrote: >> 1. A too-large string literal should have a specific error message, >> rather than generate a misleading one suggesting a different type of >> problem. > > There is no such thing as a too-large string li

Re: Unknown constant tag 32 in class file error

2011-07-05 Thread Peter T
Appreciate the input guys! Can't comment on the technical side or on where the problem might stem, but I'll tell you what I can: > > > Does the file you are evaluating have more than 65535 characters? Nope. It's about 1400 LOC and not syntactically unique (no unusually long constants, etc.). It'

Re: Unknown constant tag 32 in class file error

2011-07-05 Thread Alessio Stalla
On 5 Lug, 18:49, Ken Wesson wrote: > On Tue, Jul 5, 2011 at 11:22 AM, Patrick Houk wrote: > > Does the file you are evaluating have more than 65535 characters?  As > > far as I can tell, that is the maximum length of a String literal in > > Java (see the CONSTANT_Utf8_info struct in > >http://jav

Re: Unknown constant tag 32 in class file error

2011-07-05 Thread Ken Wesson
On Tue, Jul 5, 2011 at 11:22 AM, Patrick Houk wrote: > Does the file you are evaluating have more than 65535 characters?  As > far as I can tell, that is the maximum length of a String literal in > Java (see the CONSTANT_Utf8_info struct in > http://java.sun.com/docs/books/jvms/second_edition/html

Re: Unknown constant tag 32 in class file error

2011-07-05 Thread Patrick Houk
Does the file you are evaluating have more than 65535 characters? As far as I can tell, that is the maximum length of a String literal in Java (see the CONSTANT_Utf8_info struct in http://java.sun.com/docs/books/jvms/second_edition/html/ClassFile.doc.html). I've encountered that limit when using E