Make sure you are using an appropiate compiler (1.6 or above) the messages seem to be related to the fact that in 1.5 there is no override annotation allowed for method overriden in interfaces.

Am 30.11.2012 09:11, schrieb Manfred Rosenboom:
Hi Thomas,

I have just downloaded the current version and have tried (as always) to compile the new version in my H2 Eclipse project. Works usually without any problem. But with the new 1.3.170 version I get the following compile errors:

Description    Resource    Path    Location    Type
The method getMaxLength(Object) of type ObjectType.AutoDetectDataType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 369 Java Problem The method write(ByteBuffer, Object) of type ObjectType.AutoDetectDataType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 374 Java Problem The method read(ByteBuffer) of type ObjectType.AutoDetectDataType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 379 Java Problem The method asString() of type ObjectType.AutoDetectDataType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 403 Java Problem The method setParent(DataTypeFactory) of type SampleTypeFactory must override a superclass method SampleTypeFactory.java /H2 Database/h2_test/org/h2/test/store line 18 Java Problem The method read(ByteBuffer) of type ObjectType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 150 Java Problem The method asString() of type ObjectType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 210 Java Problem The method getDataType(Class<?>) of type SampleTypeFactory must override a superclass method SampleTypeFactory.java /H2 Database/h2_test/org/h2/test/store line 34 Java Problem The method getMemory(Object) of type ObjectType.AutoDetectDataType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 353 Java Problem The method compare(Object, Object) of type ObjectType.AutoDetectDataType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 358 Java Problem The method buildDataType(String) of type SampleTypeFactory must override a superclass method SampleTypeFactory.java /H2 Database/h2_test/org/h2/test/store line 23 Java Problem The method deserialize(byte[]) of type new JavaObjectSerializer(){} must override a superclass method TestJavaObjectSerializer.java /H2 Database/h2_test/org/h2/test/jdbc line 51 Java Problem The method compare(Object, Object) of type ObjectType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 90 Java Problem The method getMaxLength(Object) of type ObjectType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 95 Java Problem The method getMemory(Object) of type ObjectType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 100 Java Problem The method write(ByteBuffer, Object) of type ObjectType must override a superclass method ObjectType.java /H2 Database/h2_src/org/h2/mvstore/type line 105 Java Problem The method serialize(Object) of type new JavaObjectSerializer(){} must override a superclass method TestJavaObjectSerializer.java /H2 Database/h2_test/org/h2/test/jdbc line 44 Java Problem The method getMaxLength(Object) of type SpatialType must override a superclass method SpatialType.java /H2 Database/h2_src/org/h2/mvstore/rtree line 61 Java Problem The method remove() of type new Iterator<Long>(){} must override a superclass method SequenceMap.java /H2 Database/h2_test/org/h2/test/store line 60 Java Problem The method compare(Object, Object) of type SpatialType must override a superclass method SpatialType.java /H2 Database/h2_src/org/h2/mvstore/rtree line 41 Java Problem The method hasNext() of type new Iterator<Long>(){} must override a superclass method SequenceMap.java /H2 Database/h2_test/org/h2/test/store line 50 Java Problem The method next() of type new Iterator<Long>(){} must override a superclass method SequenceMap.java /H2 Database/h2_test/org/h2/test/store line 55 Java Problem The method asString() of type SpatialType must override a superclass method SpatialType.java /H2 Database/h2_src/org/h2/mvstore/rtree line 109 Java Problem The method read(ByteBuffer) of type SpatialType must override a superclass method SpatialType.java /H2 Database/h2_src/org/h2/mvstore/rtree line 90 Java Problem The method write(ByteBuffer, Object) of type SpatialType must override a superclass method SpatialType.java /H2 Database/h2_src/org/h2/mvstore/rtree line 71 Java Problem The method getMemory(Object) of type SpatialType must override a superclass method SpatialType.java /H2 Database/h2_src/org/h2/mvstore/rtree line 66 Java Problem The method setParent(DataTypeFactory) of type ObjectTypeFactory must override a superclass method ObjectTypeFactory.java /H2 Database/h2_src/org/h2/mvstore/type line 16 Java Problem The method buildDataType(String) of type ObjectTypeFactory must override a superclass method ObjectTypeFactory.java /H2 Database/h2_src/org/h2/mvstore/type line 21 Java Problem The method getDataType(Class<?>) of type ObjectTypeFactory must override a superclass method ObjectTypeFactory.java /H2 Database/h2_src/org/h2/mvstore/type line 31 Java Problem

Best
Manfred
--
You received this message because you are subscribed to the Google Groups "H2 Database" group. To view this discussion on the web visit https://groups.google.com/d/msg/h2-database/-/VB9tdpSgptsJ.
To post to this group, send email to h2-database@googlegroups.com.
To unsubscribe from this group, send email to h2-database+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.

--
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to h2-database@googlegroups.com.
To unsubscribe from this group, send email to 
h2-database+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to