[
https://issues.apache.org/jira/browse/XMLBEANS-555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17282278#comment-17282278 ]
Andreas Beeker commented on XMLBEANS-555:
-----------------------------------------
I had a look yesterday, but I don't understand where the 65535+ constants are coming from and haven't yet compared or to earlier versions. My guess is the heap of inner classes might be a problem, as they could be counted in the constants pool (
https://stackoverflow.com/questions/40673170/jooq-java-constant-pool-64k-limit).
I'll keep the priority of critical, but we will see when we have time/joy to fix this. If you want give it a try yourself, you need to modify the SchemaTypeCodePrinter class (
https://svn.apache.org/viewvc/xmlbeans/trunk/src/main/java/org/apache/xmlbeans/impl/schema/SchemaTypeCodePrinter.java?view=log)
> too many constants
> ------------------
>
> Key: XMLBEANS-555
> URL:
https://issues.apache.org/jira/browse/XMLBEANS-555> Project: XMLBeans
> Issue Type: Bug
> Affects Versions: Version 4.0.0
> Reporter: Sushil Madankar
> Priority: Critical
> Fix For: Version 4.0.1
>
> Attachments: DummyJokerAccountView.wsdl, image-2021-02-08-10-46-23-299.png
>
>
> while generating .jar file out of .wsdl file which is 2.20 mb in size, having a multiple number of final variables, but it results in the following error:
> error: too many constants
> but it works with version 3.1.0 !image-2021-02-08-10-46-23-299.png!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]