Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004690 [Resin] minor always 07-29-11 03:47 08-03-11 13:06
Reporter mnsh View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 4.0.20
Summary 0004690: @Inject into a tag handler breaks jsp compilation
Description Given a taglib containing:

public class SomeTag extends TagSupport {
  @Inject private Whatever whatever;
  //...
}

A JSP page using SomeTag will now fail to compile with the following error:
.../_page__jsp.java:123: _jsp_inject__jsp_SomeTag_5 is already defined in .../_page__jsp

Looking at _page__jsp.java, there are simply two of these:

static com.caucho.config.inject.InjectManager.ReferenceFactory _jsp_inject__jsp_SomeTag_5
    = com.caucho.jsp.JspUtil.getInjectFactory(somepackage.SomeTag.class);
Additional Information
Attached Files

- Relationships

- Notes
(0005419)
ferg
08-03-11 13:06

jsp/18z3
 

- Issue History
Date Modified Username Field Change
07-29-11 03:47 mnsh New Issue
08-03-11 13:06 ferg Note Added: 0005419
08-03-11 13:06 ferg Assigned To  => ferg
08-03-11 13:06 ferg Status new => closed
08-03-11 13:06 ferg Resolution open => fixed
08-03-11 13:06 ferg Fixed in Version  => 4.0.21


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker