Re: Warnings compiling MessageLite.java in protobuf-2.2.0

2009-09-24 Thread Christopher Piggott
I should have been more specific about what compiler I'm using: open- jdk-6 version 6b14-1.4.1, on a linux (ubuntu) development environment from within netbeans. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Warnings compiling MessageLite.java in protobuf-2.2.0

2009-09-24 Thread Kenton Varda
I'm told that a new version of the JDK enforces some things more strictly than slightly older versions did, which may be leading to these errors. The solution presented to me was to cast the value returned by internalGetResult() to ExtendableMessage. Note that through generics, we *already know*