Unchecked conversion warning
Tom Schindl
tom.schindl at bestsolution.at
Tue Aug 13 08:48:38 PDT 2013
Yes - I've run which "javac -Xlint Main.java"
Tom
On 13.08.13 17:04, Sven Reimers wrote:
> Did you try on console?
>
> -Sven
>
>
> On Tue, Aug 13, 2013 at 4:39 PM, Tom Schindl
> <tom.schindl at bestsolution.at <mailto:tom.schindl at bestsolution.at>> wrote:
>
> No warning in Eclipse so:
> a) it is javac (Eclipse uses its own compiler)
> b) it is netbeans use of javac
>
> Tom
>
> On 13.08.13 16:20, Sven Reimers wrote:
> > Just use b102 create a new file and type the line...
> >
> > -Sven
> >
> >
> > On Tue, Aug 13, 2013 at 4:01 PM, Tom Schindl
> > <tom.schindl at bestsolution.at <mailto:tom.schindl at bestsolution.at>
> <mailto:tom.schindl at bestsolution.at
> <mailto:tom.schindl at bestsolution.at>>> wrote:
> >
> > Hi Sven,
> >
> > I'm building from master and don't see this. Do you build with
> gradle or
> > inside your IDE? I've so many type warnings in Eclipse
> (~12.000) that I
> > probably don't spot this warning. In the gradle build I think all
> > warnings are simply turned off.
> >
> > Tom
> >
> > On 13.08.13 15:29, Sven Reimers wrote:
> > > Hi guys,
> > >
> > > trying to compile
> > >
> > > ReadOnlyObjectProperty<Worker.State> stateProperty =
> > > task.stateProperty();
> > >
> > > leads to
> > >
> > > warning: [unchecked] unchecked conversion
> > > ReadOnlyObjectProperty<Worker.State> stateProperty =
> > > task.stateProperty();
> > > required: ReadOnlyObjectProperty<State>
> > > found: ReadOnlyObjectProperty
> > >
> > > Not sure if this is something broken om my dev machine - can
> > anyone confirm?
> > >
> > > Thanks
> > >
> > > -Sven
> > >
> >
> >
> >
> >
> > --
> > Sven Reimers
> >
> > * Senior Expert Software Architect
> > * NetBeans Dream Team Member: http://dreamteam.netbeans.org
> > * Community Leader NetBeans: http://community.java.net/netbeans
> > Desktop Java:
> > http://community.java.net/javadesktop
> > * Duke's Choice Award Winner 2009
> > * Blog: http://nbguru.blogspot.com
> >
> > * XING: https://www.xing.com/profile/Sven_Reimers8
> > * LinkedIn: http://www.linkedin.com/in/svenreimers
> >
> > Join the NetBeans Groups:
> > * XING: http://www.xing.com/group-20148.82db20
> > * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
> > * LinkedIn: http://www.linkedin.com/groups?gid=1860468
> > http://www.linkedin.com/groups?gid=107402
> > http://www.linkedin.com/groups?gid=1684717
> > * Oracle: https://mix.oracle.com/groups/18497
>
>
>
>
> --
> Sven Reimers
>
> * Senior Expert Software Architect
> * NetBeans Dream Team Member: http://dreamteam.netbeans.org
> * Community Leader NetBeans: http://community.java.net/netbeans
> Desktop Java:
> http://community.java.net/javadesktop
> * Duke's Choice Award Winner 2009
> * Blog: http://nbguru.blogspot.com
>
> * XING: https://www.xing.com/profile/Sven_Reimers8
> * LinkedIn: http://www.linkedin.com/in/svenreimers
>
> Join the NetBeans Groups:
> * XING: http://www.xing.com/group-20148.82db20
> * NUGM: http://haug-server.dyndns.org/display/NUGM/Home
> * LinkedIn: http://www.linkedin.com/groups?gid=1860468
> http://www.linkedin.com/groups?gid=107402
> http://www.linkedin.com/groups?gid=1684717
> * Oracle: https://mix.oracle.com/groups/18497
More information about the openjfx-dev
mailing list