classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: StyleContext fixlet


From: Anthony Balkissoon
Subject: [cp-patches] FYI: StyleContext fixlet
Date: Fri, 30 Sep 2005 11:07:50 -0400

This patch fixes a StyleContext error.  If getAttribute was called and
the attribute didn't exist, and there was no resolve parent, we'd enter
an infinite loop.  

This is fixed.

2005-09-30  Anthony Balkissoon  <address@hidden>

        * javax/swing/text/StyleContext.java:
        (SmallAttributeSet.getAttribute): If the attribute we're looking for is
        ResolveAttribute, don't try to check the resolve parent, because this 
        will cause an infinite loop.

--Tony

Attachment: StyleContextSmallAttributeSetFix.diff
Description: Text Data


reply via email to

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