classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: fix for javax.swing.text.StyleContext.java


From: Roman Kennke
Subject: [cp-patches] FYI: fix for javax.swing.text.StyleContext.java
Date: Sun, 17 Apr 2005 23:16:30 +0200

Hi,

my fix from some hours ago wasn't correct. Some Mauve testcases show
that the null value must be caugth in
javax.swing.text.StyleContext.NamedValue.setResolveParent() and not in
javax.swing.text.SimpleAttributeSet.addAttribute()-

2005-04-17  Roman Kennke  <address@hidden>

        * javax/swing/text/SimpleAttributeSet.java
        (addAttribute): Removed null pointer check.
        * javax/swing/text/StyleContext.java
        (NamedStyle.setResolveParent): Added null pointer check.

/Roman



Attachment: StyleContext.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]