[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/36220] NPEs in gnu.xml.transform.* clone methods
From: |
gnu_andrew at member dot fsf dot org |
Subject: |
[Bug classpath/36220] NPEs in gnu.xml.transform.* clone methods |
Date: |
23 Jun 2008 19:13:09 -0000 |
------- Comment #4 from gnu_andrew at member dot fsf dot org 2008-06-23 19:13
-------
CVSROOT: /sources/classpath
Module name: classpath
Changes by: Andrew John Hughes <gnu_andrew> 08/06/23 18:57:59
Modified files:
. : ChangeLog
gnu/xml/transform: CallTemplateNode.java Stylesheet.java
Log message:
PR36220: Fix NPE in CallTemplateNode.
ChangeLog:
2008-06-23 Andrew John Hughes <address@hidden>
PR classpath/36220:
* gnu/xml/transform/CallTemplateNode.java:
(doApply(Stylesheet,QName,Node,int,int,Node,Node)):
Check for withParams being empty not null.
(references(QName)): Remove special-casing for null.
* gnu/xml/transform/Stylesheet.java:
(parseWithParams(Node)): Just return the list if empty,
don't return null instead.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9657&r2=1.9658
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/xml/transform/CallTemplateNode.java?cvsroot=classpath&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/xml/transform/Stylesheet.java?cvsroot=classpath&r1=1.13&r2=1.14
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36220