|Anonymous | Login | Signup for a new account||09-18-2014 22:47 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0002146||[Quercus]||minor||always||11-06-07 14:31||12-17-07 16:25|
|Summary||0002146: "Name is too long to represent" error when compiling large PHP file|
We have a huge (30,000-line) machine-generated PHP file. When Quercus tries to compile it, I get a "java.lang.InternalError: Name is too long to represent" exception.
Possibly related to this bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=136752 [^]
I can split the file up for now, so this is not urgent.
The large method issue is not a surprise, although that specific error is odd. I'd expect something more like a "jump out of bounds issue". The underlying issue is still JVM limitations (many of the constants are 16-bit shorts.)
Eventually, we'll need to break up large methods into multiple Java methods to work around that problem.
|Actually, this file is not a large method. In fact, it's a bunch of (mostly reasonably small) PHP class declarations.|
|Added check in JavaCompiler. If the .smap file is larger than 64k, Resin does not try to merge the data.|
|11-06-07 14:31||koreth||New Issue|
|11-07-07 19:22||ferg||Note Added: 0002464|
|11-07-07 19:24||koreth||Note Added: 0002466|
|12-17-07 16:25||ferg||Note Added: 0002587|
|12-17-07 16:25||ferg||Assigned To||=> ferg|
|12-17-07 16:25||ferg||Status||new => closed|
|12-17-07 16:25||ferg||Resolution||open => fixed|
|12-17-07 16:25||ferg||Fixed in Version||=> 3.1.5|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
33 total queries executed.|
28 unique queries executed.