tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 21482] New: - jikes cannot compile JSP page importing anything from javax.crypto package (in Java 1.4.x)
Date Thu, 10 Jul 2003 23:33:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21482>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21482

jikes cannot compile JSP page importing anything from javax.crypto package (in Java 1.4.x)

           Summary: jikes cannot compile JSP page importing anything from
                    javax.crypto package (in Java 1.4.x)
           Product: Tomcat 4
           Version: 4.1.24
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper 2
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: kylev@yaga.com


Simple JSP page:

<%@ page import="javax.crypto.Cipher" %>
<html>
<body>
Hello there.
</body>
</html>

If you are using javac, it works fine.  But if you set your jsp compiler to
jikes, it will fail:

/home/kylev/perforce/thirdparty/apache/jakarta-tomcat-4.1.24/work/Standalone/localhost/_/testjce_jsp.java:7:8:7:26:
Semantic Error: The import "javax/crypto/Cipher" is not valid, since it does not
name a type in a package.

This is probably owing to the classpath being generated lacking the jce.jar
(which sits along side rt.jar).

Interestingly, the classpath does include sunjce_provider.jar, the old
com.sun.java.crypto package.  Not sure if this might be an ant problem.

(Jikes Compiler - Version 1.18 - 21 November 2002)

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message