larryi 02/01/08 22:21:14 Modified: src/share/org/apache/tomcat/util/depend DependClassLoader12.java Log: I believe the intent was to convert the "sealed" attribute string to a boolean value. getBoolean() searches System properties, which throws an NPE in JDK1.2.2 if the string is null. Revision Changes Path 1.7 +2 -2 jakarta-tomcat/src/share/org/apache/tomcat/util/depend/DependClassLoader12.java Index: DependClassLoader12.java =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/util/depend/DependClassLoader12.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- DependClassLoader12.java 30 Nov 2001 02:27:03 -0000 1.6 +++ DependClassLoader12.java 9 Jan 2002 06:21:14 -0000 1.7 @@ -124,9 +124,9 @@ Attributes pkg = mf.getAttributes( pkgname.replace('.', '/').concat("/") ); - boolean sealed = Boolean.getBoolean( + boolean sealed = Boolean.valueOf( getAttribute(Attributes.Name.SEALED, main, pkg) - ); + ).booleanValue(); definePackage( pkgname, getAttribute(Attributes.Name.SPECIFICATION_TITLE, main, pkg),
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>