[9] API review request: 8090585: Provide an official API to start the JavaFX platform

Kevin Rushforth kevin.rushforth at oracle.com
Mon Nov 23 12:53:34 UTC 2015


This is intentional to preserve compatibility for existing internal code 
(testing tools and deployment code) to avoid regressions. I will file a 
follow-on issue to find and eliminate this difference, since it does 
seem like an unnecessary inconsistency. Thanks for pointing this out.

-- Kevin


Ali Ebrahimi wrote:
> Hi,
> I think there is an inconsistency between :
>
> PlatformImpl.java
>      public static void startup(final Runnable r) {
> +        startup(r, false);  //************* here default value false
> + }
>
> and
>
> Platform.java
> +    public static void startup(Runnable runnable) {
> +        PlatformImpl.startup(runnable, true);  //******** here default value true
> +    }
>  
>
> On Sat, Nov 21, 2015 at 3:28 AM, Kevin Rushforth 
> <kevin.rushforth at oracle.com <mailto:kevin.rushforth at oracle.com>> wrote:
>
>     Jonathan and all,
>
>     Please review the following new API proposal to add the ability to
>     explicitly start the FX runtime.
>
>     https://bugs.openjdk.java.net/browse/JDK-8090585
>     http://cr.openjdk.java.net/~kcr/8090585/webrev.00/
>     <http://cr.openjdk.java.net/%7Ekcr/8090585/webrev.00/>
>
>     -- Kevin
>
>
>
>
> -- 
>
> Best Regards,
> Ali Ebrahimi


More information about the openjfx-dev mailing list