Version 1.3.169:can't compile package org.h2.test.store

40 views
Skip to first unread message

Manfred Rosenboom

unread,
Sep 10, 2012, 4:00:25 AM9/10/12
to h2-da...@googlegroups.com
Hi,

Whjen I try to compile the new version 1.3.169 with Java 6 I get the following compile errors:

Description    Resource    Path    Location    Type
The method buildMap(String, MVStore, int, String, DataType, DataType, long) of type TestMapFactory must override a superclass method    TestMapFactory.java    /H2 Database/h2_test/org/h2/test/store    line 20    Java Problem
The method compare(Object, Object) of type SpatialType must override a superclass method    SpatialType.java    /H2 Database/h2_test/org/h2/test/store    line 41    Java Problem
The method getDataType(Class<?>) of type TestMapFactory must override a superclass method    TestMapFactory.java    /H2 Database/h2_test/org/h2/test/store    line 49    Java Problem
The method getMaxLength(Object) of type SpatialType must override a superclass method    SpatialType.java    /H2 Database/h2_test/org/h2/test/store    line 61    Java Problem
The method getMemory(Object) of type SpatialType must override a superclass method    SpatialType.java    /H2 Database/h2_test/org/h2/test/store    line 66    Java Problem
The method hasNext() of type new Iterator<K>(){} 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<K>(){} must override a superclass method    SequenceMap.java    /H2 Database/h2_test/org/h2/test/store    line 56    Java Problem
The method read(ByteBuffer) of type SpatialType must override a superclass method    SpatialType.java    /H2 Database/h2_test/org/h2/test/store    line 90    Java Problem
The method remove() of type new Iterator<K>(){} must override a superclass method    SequenceMap.java    /H2 Database/h2_test/org/h2/test/store    line 61    Java Problem
The method write(ByteBuffer, Object) of type SpatialType must override a superclass method    SpatialType.java    /H2 Database/h2_test/org/h2/test/store    line 71    Java Problem

Best,
Manfred

Thomas Mueller

unread,
Sep 14, 2012, 9:25:22 AM9/14/12
to h2-da...@googlegroups.com
Hi,

This happens if you use the Java 1.5 "Compiler compliance level" in Eclipse (Preferences / Java Compiler; JDK Compliance). Is it this problem?

Regards,
Thomas





--
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/-/LEza1evmqLoJ.
To post to this group, send email to h2-da...@googlegroups.com.
To unsubscribe from this group, send email to h2-database...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.

Reply all
Reply to author
Forward
0 new messages