[x3d-public] Any thoughts on extra long comments being converted over to Java?

John Carlson yottzumm at gmail.com
Sun Jul 24 01:32:49 PDT 2022

 Don's method:           .addComments("*** Warning: extra large comment
found (117382 characters) starting with 'Tangent vector='-0.9168069362'")

Original source:


There are no problems above, except round-tripping of extra long comments.

Java compiler is breaking on my Java code: (not Don's)

$ javac -cp .";"C:/Users/john/pythonSAI/X3DJSAIL.4.0.full.jar
net\coderextreme\data\GlamVelvetSofa.java:93: error: constant string too

Maybe I should pack the extra long bits in an actual Java comment, /* */?

An alternative might be to break up the huge string into several classes?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20220724/a963ab58/attachment.html>

More information about the x3d-public mailing list