Patch: incorrect hardcoding of java's modifier_ctx array size

Tom Tromey tromey@redhat.com
Wed Jun 26 16:36:00 GMT 2002


>>>>> "Kaveh" == Kaveh R Ghazi <ghazi@caip.rutgers.edu> writes:

Kaveh> While grepping for places to use ARRAY_SIZE, I noticed some
Kaveh> incorrect hardcoding of the size of java's
Kaveh> parser_ctxt.modifier_ctx[] array.  See:
Kaveh> http://gcc.gnu.org/ml/gcc-patches/2002-03/msg01675.html for
Kaveh> some history.

There hasn't been any reply to this patch yet.
Kaveh, I think it is fine.  I'd say it even qualifies as obvious.

Would you mind taking a quick look to see if we already have problems
with this particular hard-coding?  I bet searching for `10' in the
sources will unfortunately :-( turn up a couple problems.

Tom



More information about the Java-patches mailing list