FXMLLoader.load

Martin Sladecek martin.sladecek at oracle.com
Thu Sep 19 06:02:35 PDT 2013


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