Details
-
Type:
Sub-task
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
> java.awt.Font.getName() // ok
> java.awt.Font.name
> throws
> java.lang.IllegalArgumentException
the 'name' field on Font is treated as a static property while the field not static.
Hi Gents, I placed a try catch around the offending piece of code. This hides the problem rather than solving the root cause. I didn't have time to investigate any further. At least we have a workaround and test in place now and we can tighten the noose around the real bug (and avoid the expensive of the exception) when we find time.