tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Zagrebin" <al...@visp.ru>
Subject Tomcat 3.2.2 doesn't builds with jdk 1.1.8
Date Sat, 02 Jun 2001 12:03:52 GMT
Hi

Tomcat 3.2.2 doesn't builds with jdk 1.1.8:
=================================================================
...
tomcat:
    [javac] Compiling 215 source files to D:\work\build\tomcat\classes
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:116: Interface
org.apache.tomcat.util.compat.PrivilegedExceptionAction of nested class
org.apache.tomcat.util.compat.Jdk12Support. PrivilegedProxy not found.
    [javac]     static class PrivilegedProxy implements
PrivilegedExceptionAction
    [javac]                                             ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\facade\RequestD
ispatcherImpl.java:146: Undefined variable, class, or package name: java
    [javac] 	        java.security.AccessController.doPrivileged(
    [javac] 	        ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\facade\RequestD
ispatcherImpl.java:155: Class
org.apache.tomcat.facade.PrivilegedActionException not found in type
declaration.
    [javac] 	    } catch( PrivilegedActionException pe) {
    [javac] 	             ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\facade\RequestD
ispatcherImpl.java:254: Undefined variable, class, or package name: java
    [javac]                 java.security.AccessController.doPrivileged(
    [javac]                 ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\facade\RequestD
ispatcherImpl.java:263: Class
org.apache.tomcat.facade.PrivilegedActionException not found in type
declaration.
    [javac]             } catch( PrivilegedActionException pe) {
    [javac]                      ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:77: Undefined variable or class name: URLClassLoader
    [javac] 	return URLClassLoader.newInstance( urls, parent );
    [javac] 	       ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:89: Undefined variable or class name: AccessController
    [javac] 	    return AccessController.
    [javac] 	           ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:91: Class
org.apache.tomcat.util.compat.PrivilegedActionException not found in type
declaration.
    [javac] 	} catch( PrivilegedActionException pe ) {
    [javac] 	         ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:100: Method setContextClassLoader(java.lang.ClassLoader) not
found in class java.lang.Thread.
    [javac] 	Thread.currentThread().setContextClassLoader(cl);
    [javac] 	                                            ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:104: Method getContextClassLoader() not found in class
java.lang.Thread.
    [javac] 	return Thread.currentThread().getContextClassLoader();
    [javac] 	                                                   ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:108: Class org.apache.tomcat.util.compat.URLClassLoader not
found in type declaration.
    [javac]         return ((URLClassLoader)cl).getURLs();
    [javac]                  ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:111: Class org.apache.tomcat.util.compat.URLClassLoader not
found in type declaration.
    [javac]         URLClassLoader scl=(URLClassLoader)cl;
    [javac]         ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:111: Class org.apache.tomcat.util.compat.URLClassLoader not
found in type declaration.
    [javac]         URLClassLoader scl=(URLClassLoader)cl;
    [javac]                             ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:112: Class org.apache.tomcat.util.compat.URLClassLoader not
found in type declaration.
    [javac]         return ((URLClassLoader)cl.getParent()).getURLs();
    [javac]                  ^
    [javac]
D:\work\jakarta-tomcat-3.2.2-src\src\share\org\apache\tomcat\util\compat\Jdk
12Support.java:112: Method getParent() not found in class
java.lang.ClassLoader.
    [javac]         return ((URLClassLoader)cl.getParent()).getURLs();
    [javac]                                             ^
    [javac] Note: 4 files use deprecated APIs.  Recompile with
"-deprecation" for details.
    [javac] 15 errors, 1 warning

Total time: 1 minute 14 seconds
=================================================================
Is it posible to build tomcat 3.2.2 from sources with jdk 1.1.8?
Thanks.

Alexander Zagrebin
--


Mime
View raw message