mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8062518: AIOBE occurs when accessing to document function in extended function in JAXP
Reviewed-by: joehw
This commit is contained in:
parent
bd394344b3
commit
4b9b3c027f
3 changed files with 163 additions and 2 deletions
|
@ -567,8 +567,12 @@ public final class MultiDOM implements DOM {
|
|||
}
|
||||
|
||||
public NodeList makeNodeList(DTMAxisIterator iter) {
|
||||
// TODO: gather nodes from all DOMs ?
|
||||
return _main.makeNodeList(iter);
|
||||
int index = iter.next();
|
||||
if (index == DTM.NULL) {
|
||||
return null;
|
||||
}
|
||||
iter.reset();
|
||||
return _adapters[getDTMId(index)].makeNodeList(iter);
|
||||
}
|
||||
|
||||
public String getLanguage(int node) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue