Skip to main content

Dustin Marx: Reproducing "too many constants" Problem in Java

Dustin Marx continues reproducing infrequently-seen Java errors in Reproducing "too many constants" Problem in Java:

In my previous blog post, I blogged on the "code too large" problem and reproduced that error message. In this post, I look at the very similar "too many constants" error message (not the same thing as the question too many constants?) and demonstrate reproducing it by having too many methods in a generated Java class. With a few small adaptations, I can adjust the Groovy script...