Community
Participate
Working Groups
I20090603-2000 MessageDialog#getButton(int) breaks the contact of Dialog#getButton(int). It should not throw an AIOOBE but return null if there's no button with the given ID.
Created attachment 138417 [details] Fix I also added a note to the class Javadoc to explain how it bends the rules ... I mean: ... how it interprets IDs.
Fixed in HEAD.