Re: [Geotools-devel] ShapefileStore not working on OpenJDK 11

2019-03-31 Thread Chris Zheng
Posting again to the list. > Sorry Andrea, > > I didn’t know that you had already replied. I’m not sure why but I only got > automated responses for the user mailing list (with no replies) and so I > thought I might give the dev mailing list a try. This was the message: > > The GeoTools user

Re: [Geotools-devel] ShapefileStore not working on OpenJDK 11

2019-03-31 Thread Andrea Aime
Which is what I said 2 days ago replying one of your many mails: Quoting: "That field is in a commons-lang3 public enumeration, JavaVersion, do you have it in the classpath? Or maybe have a mix of two commons-lang versions?" (bombarding the list with repeated mails is bad practice, did you check

Re: [Geotools-devel] ShapefileStore not working on OpenJDK 11

2019-03-31 Thread Chris Zheng
Okay, this is really weird. I found that the exception is related to: https://github.com/geotools/geotools/blob/master/modules/library/metadata/src/main/java/org/geotools/util/NIOUtilities.java#L208

[Geotools-devel] ShapefileStore not working on OpenJDK 11

2019-03-31 Thread Chris Zheng
I’m using the latest version of the geotools jar (22-SNAPSHOT) and JDK 11 and a call to will result in an exception. This code will trigger the exception: FileDataStoreFinder.getDataStore(new java.io.File("geotools/maps/countries.shp”)).getFeatureSource().getFeatures()

[Geotools-devel] ShapefileStore not working on OpenJDK 11

2019-03-31 Thread Chris Zheng
I’m using the latest version of the geotools jar (22-SNAPSHOT) and JDK 11 and a call to will result in an exception. This code will trigger the exception: FileDataStoreFinder.getDataStore(new java.io.File("geotools/maps/countries.shp”)).getFeatureSource().getFeatures()