Bug 30646

Summary: JSTL 1.1.1 examples do not compile under JDK 1.5
Product: Taglibs Reporter: Petr Jiricka <petr.jiricka>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: major    
Priority: P3    
Version: nightly   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: First error log file
Second error log file

Description Petr Jiricka 2004-08-13 09:38:39 UTC
There are build errors when trying to compile JSTL 1.1.1 examples on JDK 1.5.
See attachment for the compiler log I got (from NetBeans 4.0 dev).
Comment 1 Felipe Leme 2004-08-13 10:11:23 UTC
Where is the attachment?
Comment 2 Petr Jiricka 2004-08-13 10:31:30 UTC
Created attachment 12414 [details]
First error log file
Comment 3 Petr Jiricka 2004-08-13 10:31:47 UTC
Created attachment 12415 [details]
Second error log file
Comment 4 Justyna Horwat 2004-08-16 21:43:01 UTC
The JSTL 1.1.1 implementation was not building under J2SE 5.0 because it was using the now reserved 
5.0 keyword "enum". Fixed implementation to use "enum_".

Note that JSTL uses JAXP 1.2 and J2SE 5.0 uses JAXP 1.3. You will need to specify the JAXP 1.2 classes 
with 5.0. There will be a version of JSTL in a future release that uses the JAXP 1.3 implementation.