Community
Participate
Working Groups
The spec for the FontData(name, height, style) constructor says the name string "must not be null". But it doesn't throw IllegalArgumentException. The spec should spec it, and the implementation should throw it. The reason is that the same constructor for Font throws IllegalArgumentException if name is null. Should see what happens on X if you try to create a FontData with null name. NOTES:
PRODUCT VERSION: 135
Was fixed a while ago.