Bug 30646 - JSTL 1.1.1 examples do not compile under JDK 1.5
Summary: JSTL 1.1.1 examples do not compile under JDK 1.5
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: nightly
Hardware: All All
: P3 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 09:38 UTC by Petr Jiricka
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
First error log file (1.14 KB, text/plain)
2004-08-13 10:31 UTC, Petr Jiricka
Details
Second error log file (1.48 KB, text/plain)
2004-08-13 10:31 UTC, Petr Jiricka
Details

Note You need to log in before you can comment on or make changes to this bug.
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.