You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/01/02 14:44:33 UTC
DO NOT REPLY [Bug 38095] New: - do not produce java code using "unchecked or unsafe operations"
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38095
Summary: do not produce java code using "unchecked or unsafe
operations"
Product: Tomcat 5
Version: 5.5.14
Platform: Other
URL: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/jasper-
howto.html#Web%20Application%20Compilation
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Jasper
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: hauser@acm.org
at least with javac of 1.5 / 5.0 the following error is displayed
<< [javac] Note: C:\Documents and Settings\you\My
Documents\myProj\build\jspC\org\apache\jsp\
build\jsp\samplePAge_005fen_jsp.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.>>
since it is not possible to get at the mentioned details with the current ant
version, see RFE Bug 38094
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38095] - do not produce java code using "unchecked or unsafe operations"
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38095
william.barker@wilshire.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WONTFIX
------- Additional Comments From william.barker@wilshire.com 2006-03-27 02:19 -------
It is possible that this may be reviewed for Tomcat 6. However, Tomcat 5 is
required to work on a 1.4 JVM as well as a 1.5, so the unchecked calls are
necessary for 1.4 compatibility.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 38095] - do not produce java code using "unchecked or unsafe operations"
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38095>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=38095
------- Additional Comments From hauser@acm.org 2006-01-03 16:10 -------
now that the ant guys helped my how to place the Xlint (thx!), I get
[javac] \build\jspC\org\apache\jsp\build\
jsp\listinbox_005fen_jsp.java:14: warning: [unchecked] unchecked call to add(E)
as a member of the raw type java.util.Vector
[javac] _jspx_dependants.add("/WEB-INF/lib/struts-bean.tld");
[javac] ^
...
[javac] _jspx_dependants.add("/WEB-INF/lib/struts-html.tld");
...
[javac] _jspx_dependants.add("/WEB-INF/lib/struts-logic.tld");
...
that is obviously caused in the jsp by my
<%@ taglib
uri="/WEB-INF/lib/struts-bean.tld" prefix="bean" %><%@ taglib
uri="/WEB-INF/lib/struts-html.tld" prefix="html" %><%@ taglib
uri="/WEB-INF/lib/struts-logic.tld" prefix="logic" %>
prefix.
But this is as per the example in
http://struts.apache.org/struts-taglib/indexedprops.html what should this look like?
Should this be re-assigned to struts?
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org