tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Saegesser" <marc.saeges...@apropos.com>
Subject RE: Tomcat 3.2.2 doesn't builds with jdk 1.1.8
Date Fri, 08 Jun 2001 04:52:08 GMT
Tomcat 3.2.2 will run on JDK1.1 VMs, but right now it only builds on JDK1.2.
These securitiy manager classes will never be used if Tomcat is running on a
1.1 VM.  Hopefully we can update the build.xml for the next release to
exclude these classes for 1.1 builds.

> -----Original Message-----
> From: Alexander Zagrebin [mailto:alexz@visp.ru]
> Sent: Saturday, June 02, 2001 7:04 AM
> To: tomcat-dev@jakarta.apache.org
> Subject: Tomcat 3.2.2 doesn't builds with jdk 1.1.8
>
>
> 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\facad
> e\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\facad
> e\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\facad
> e\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\facad
> e\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