Compiles fine with Sun/Oracle JDK 1.6.0_24 on Windows.

- Pratik.

2011/3/31 David Hearnden <[email protected]>

> Hi Obed,
>
> It compiles fine with Sun/Oracle JDK 1.6.0_24 on Mac, and OpenJDK on Linux.
>
> Are you able to upgrade to a more recent version of Java?  If not, I can
> take a look at reducing the strictness of those types.
>
> -Dave
>
> On Thu, Mar 31, 2011 at 8:10 AM, Jesús Obed Murillo Hernández <
> [email protected]> wrote:
>
> > I am using jdk1.6.0_05
> >
> > Do I need a newer version?
> >
> > Thank you,
> > Obed
> >
> > On Wed, Mar 30, 2011 at 1:40 PM, James Purser <[email protected]
> > >wrote:
> >
> > > Hi,
> > >
> > > First up what version of Java are you using to build it?
> > >
> > > 2011/3/31 Jesús Obed Murillo Hernández <[email protected]>
> > >
> > > > Hi All,
> > > >
> > > > I downloaded the latest version and I have this when I compile the
> > code:
> > > >
> > > >  [javac]
> > > >
> > > >
> > >
> >
> c:\apps\PersonalObjectiveProjects\wave\src\org\waveprotocol\box\server\rpc\ProtoSerializer.java:177:
> > > > incompatible types
> > > >    [javac] found   :
> > > >
> > > >
> > >
> >
> org.waveprotocol.box.server.rpc.ProtoSerializer.ProtoImplSerializer<capture#15
> > > > of ? extends P,capture#56 of ?>
> > > >    [javac] required:
> > > > org.waveprotocol.box.server.rpc.ProtoSerializer.ProtoImplSerializer<?
> > > > extends P,?>
> > > >    [javac]         (ProtoImplSerializer<? extends P, ?>)
> > > > byClass.get(protoClass);
> > > >    [javac]         ^
> > > >    [javac]
> > > >
> > > >
> > >
> >
> c:\apps\PersonalObjectiveProjects\wave\src\org\waveprotocol\box\server\rpc\ProtoSerializer.java:181:
> > > > incompatible types
> > > >    [javac] found   :
> > > >
> > > >
> > >
> >
> org.waveprotocol.box.server.rpc.ProtoSerializer.ProtoImplSerializer<capture#632
> > > > of ? extends P,capture#541 of ?>
> > > >    [javac] required:
> > > > org.waveprotocol.box.server.rpc.ProtoSerializer.ProtoImplSerializer<?
> > > > extends P,?>
> > > >    [javac]     return serializer;
> > > >    [javac]            ^
> > > >    [javac] Note: Some input files use or override a deprecated API.
> > > >    [javac] Note: Recompile with -Xlint:deprecation for details.
> > > >    [javac] 2 errors
> > > >
> > > >
> > > > Does any of you know why this happen? am I doing something wrong?
> > > >
> > > > Thank you,
> > > > Obed
> > > >
> > >
> > >
> > >
> > > --
> > > James Purser
> > > Collaborynth
> > > http://collaborynth.com.au
> > > Mob: +61 406 576 553
> > > Wave: [email protected]
> > >
> >
>

Reply via email to