[fedora-java] Problems compiling Sun Grid Engine code

Thomas Fitzsimmons fitzsim at redhat.com
Tue Oct 2 21:11:48 UTC 2007


Orion Poplawski wrote:
> I'm trying to compile SGE java stuff on Fedora 7 and running into the 
> following error:
> 
>      [java]     [javac] 1. ERROR in 
> /builddir/build/BUILD/gridengine/source/classes/org/ggf/drmaa/PartialTimestamp.java 
> (at line 133)
>      [java]     [javac]         public class PartialTimestamp extends 
> Calendar {
>      [java]     [javac]                      ^^^^^^^^^^^^^^^^
>      [java]     [javac] The type PartialTimestamp must implement the 
> inherited abstract method Comparable.compareTo(Object)
> 
> Is this a GNU Classpath issue?

Calendar.compareTo was added in 1.5.  Is it possible that you're compiling 
1.4-level source code?  If so, this represents a breakage in source 
compatibility.  The usual resolution is to stub or implement the inherited 
abstract method.

Tom




More information about the fedora-devel-java-list mailing list