public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/16737] New: setBackground(null) throws exception
@ 2004-07-27  0:31 gcc-bugzilla at gcc dot gnu dot org
  2004-07-27  1:04 ` [Bug AWT/16737] " fitzsim at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-07-27  0:31 UTC (permalink / raw)
  To: gcc-bugs

Acunia's Font.SetFont3 test currently throws a NullPointerException. 
This exception is thrown when the test calls setBackground(null) on a
certain component.  In that situation, the component should inherit
the background color of the nearest ancestor whose background is
already set.

But I'm not sure what should happen if the component doesn't have a
parent.
------- Additional Comments From djee at redhat dot com  2004-02-26 14:31 -------
Fixed in java-gui-branch.  Please verify.

BTW, if a component doesn't have a parent, it's probably a Window or a
Frame object.  These components should get their default bg/fg colours
from the appropriate SystemColor entry.
------- Additional Comments From fitzsim at redhat dot com  2004-05-18 17:22 -------
Verified; fixed on java-gui-branch.


-- 
           Summary: setBackground(null) throws exception
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P1
         Component: AWT
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: djee at redhat dot com
                CC: djee at redhat dot com,gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16737


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug AWT/16737] setBackground(null) throws exception
  2004-07-27  0:31 [Bug AWT/16737] New: setBackground(null) throws exception gcc-bugzilla at gcc dot gnu dot org
@ 2004-07-27  1:04 ` fitzsim at redhat dot com
  2004-07-27  1:27 ` fitzsim at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-27  1:04 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |normal
           Priority|P1                          |P2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16737


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug AWT/16737] setBackground(null) throws exception
  2004-07-27  0:31 [Bug AWT/16737] New: setBackground(null) throws exception gcc-bugzilla at gcc dot gnu dot org
  2004-07-27  1:04 ` [Bug AWT/16737] " fitzsim at redhat dot com
@ 2004-07-27  1:27 ` fitzsim at redhat dot com
  2004-07-27  1:28 ` fitzsim at redhat dot com
  2004-07-30 19:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-27  1:27 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |djee at redhat dot com
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-07-27 01:27:43
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16737


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug AWT/16737] setBackground(null) throws exception
  2004-07-27  0:31 [Bug AWT/16737] New: setBackground(null) throws exception gcc-bugzilla at gcc dot gnu dot org
  2004-07-27  1:04 ` [Bug AWT/16737] " fitzsim at redhat dot com
  2004-07-27  1:27 ` fitzsim at redhat dot com
@ 2004-07-27  1:28 ` fitzsim at redhat dot com
  2004-07-30 19:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2004-07-27  1:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fitzsim at redhat dot com  2004-07-27 01:27 -------
Fixed.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16737


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug AWT/16737] setBackground(null) throws exception
  2004-07-27  0:31 [Bug AWT/16737] New: setBackground(null) throws exception gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2004-07-27  1:28 ` fitzsim at redhat dot com
@ 2004-07-30 19:41 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-07-30 19:41 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |3.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16737


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug awt/16737] setBackground(null) throws exception
       [not found] <bug-16737-8724@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16  1:55 ` pinskia at gcc dot gnu dot org
  0 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-16  1:55 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.0.0                       |pre-0.18


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16737


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-10-16  1:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-27  0:31 [Bug AWT/16737] New: setBackground(null) throws exception gcc-bugzilla at gcc dot gnu dot org
2004-07-27  1:04 ` [Bug AWT/16737] " fitzsim at redhat dot com
2004-07-27  1:27 ` fitzsim at redhat dot com
2004-07-27  1:28 ` fitzsim at redhat dot com
2004-07-30 19:41 ` pinskia at gcc dot gnu dot org
     [not found] <bug-16737-8724@http.gcc.gnu.org/bugzilla/>
2005-10-16  1:55 ` [Bug awt/16737] " pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).