Re: [Geotools-devel] Problem reading shapefiles with master in eclipse

2020-03-23 Thread Andrea Aime
Hi Ian, the fix is new to me... and also a bit strange, you're basically casting to the superclass of ByteBuffer, where the clear method is defined... but it should be visible by inheritance. See the javadocs: * https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/nio/ByteBuffer.html *

[Geotools-devel] Problem reading shapefiles with master in eclipse

2020-03-20 Thread Ian Turton
I'm seeing an "java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;" error when trying to read a ShapeFile using 24-snapshot (i.e. master) in eclipse. Googling indicates it might be caused by compiling with Java 9+ and running on Java 8, which is odd because I don't have Ja