Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] 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
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.5 Product Version 3.1.4
  Product Build
Summary 0002146: "Name is too long to represent" error when compiling large PHP file
Description 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.
Steps To Reproduce
Additional Information
Attached Files

- Relationships

- Notes
(0002464)
ferg
11-07-07 19:22

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.
 
(0002466)
koreth
11-07-07 19:24

Actually, this file is not a large method. In fact, it's a bunch of (mostly reasonably small) PHP class declarations.
 
(0002587)
ferg
12-17-07 16:25

Added check in JavaCompiler. If the .smap file is larger than 64k, Resin does not try to merge the data.
 

- Issue History
Date Modified Username Field Change
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.
Powered by Mantis Bugtracker