Closed
Bug 15837
Opened 25 years ago
Closed 25 years ago
Methods in NodeList and NamedNodeMap return Node base class
Categories
(Core Graveyard :: Java APIs for DOM, defect, P3)
Core Graveyard
Java APIs for DOM
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: akhil.arora, Assigned: akhil.arora)
Details
Methods in NodeList and NamedNodeMap that return instances of class Node
explicitly allocate Node and return it. This is wrong. Although the method
signature declares Node as the return type, the actual return type can be an
instance of any class that extends Node, such as Element or Attribute.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•