Hi!
While building openjdk I found this problem and Roman told me how to fix
it :-)
This one is commited.
- twisti
---
2007-06-21 Christian Thalinger <[EMAIL PROTECTED]>
* javax/swing/text/html/parser/AttributeList.java (getValues):
Check if values is null.
Index: javax/swing/text/html/parser/AttributeList.java
===================================================================
RCS file:
/cvsroot/classpath/classpath/javax/swing/text/html/parser/AttributeList.java,v
retrieving revision 1.5
diff -u -3 -p -r1.5 AttributeList.java
--- javax/swing/text/html/parser/AttributeList.java 10 Dec 2006 20:25:48
-0000 1.5
+++ javax/swing/text/html/parser/AttributeList.java 21 Jun 2007 19:55:24
-0000
@@ -253,7 +253,7 @@ public final class AttributeList
*/
public Enumeration<?> getValues()
{
- return values.elements();
+ return (values != null) ? values.elements() : null;
}
/**