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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to