commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] [bugs #12211] Casting Graphics to Graphics2D


From: Sven de Marothy
Subject: [commit-cp] [bugs #12211] Casting Graphics to Graphics2D
Date: Sun, 6 Mar 2005 00:17:39 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922

Follow-up Comment #3, bugs #12211 (project classpath):

Mark, Michael:
I don't think it's reasonable to expect people to test for support for
Graphics2D before casting. The vast majority of code out there (I have yet to
see one that doesn't) does not do this because in Java 1.2+ it is safe to
assume the Graphics object is Graphics2D. 

The person running on Classpath needs to be aware that this doesn't hold true
for Classpath, but as I wrote on the mailing list, this isn't going to be a
long-term issue anyway.


    _______________________________________________________

This item URL is:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12211>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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