[API Review] FXMLLoader.load
Martin Sladecek
martin.sladecek at oracle.com
Thu Sep 19 06:03:42 PDT 2013
Added [API Review] to the subject.
On 09/19/2013 03:02 PM, Martin Sladecek wrote:
> Hi,
> I would like to change FXMLLoader load() and load(InputStream).
> Both are returning Object (i.e. require a cast), while the static
> load() methods are generified by <T>.
>
> A simple change would allow us to avoid casts, but keeping the ABI
> unchanged:
>
> public <T> T load();
> public <T> T load(InputStream);
>
> JIRA issue : https://javafx-jira.kenai.com/browse/RT-33052.
>
> Thanks,
> -Martin
>
More information about the openjfx-dev
mailing list