Opened 8 years ago
Closed 8 years ago
#6434 closed defect (fixed)
Missing stuff in SWIG Java bindings for proper use of GNM
Reported by: | Even Rouault | Owned by: | Bishop |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | JavaBindings | Version: | unspecified |
Severity: | normal | Keywords: | gnm |
Cc: | bishop |
Description
Seen in #6433
[javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_GIntBig.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_GIntBig(long cPtr, @SuppressWarnings("unused") boolean futureUse) { [javac] ^ [javac] (use -source 5 or higher to enable annotations) [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_OGRErr.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_OGRErr(long cPtr, @SuppressWarnings("unused") boolean futureUse) { [javac] ^ [javac] (use -source 5 or higher to enable annotations) [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_OGRFeatureShadow.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_OGRFeatureShadow(long cPtr, @SuppressWarnings("unused") boolean futureUse) { [javac] ^ [javac] (use -source 5 or higher to enable annotations) [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_OGRLayerShadow.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_OGRLayerShadow(long cPtr, @SuppressWarnings("unused") boolean futureUse) { [javac] ^ [javac] (use -source 5 or higher to enable annotations) [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_OGRwkbGeometryType.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_OGRwkbGeometryType(long cPtr, @SuppressWarnings("unused") boolean futureUse) { [javac] ^ [javac] (use -source 5 or higher to enable annotations) [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_OSRSpatialReferenceShadow.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_OSRSpatialReferenceShadow(long cPtr, @SuppressWarnings("unused") boolean futureUse) { [javac] ^ [javac] (use -source 5 or higher to enable annotations) [javac] /build/gdal-2.1.0~beta1+dfsg/swig/java/org/gdal/gnm/SWIGTYPE_p_p_char.java:14: error: annotations are not supported in -source 1.4 [javac] protected SWIGTYPE_p_p_char(long cPtr, @SuppressWarnings("unused") boolean futureUse) {
There is a lack of something so that types are properly bound in GNM Java bindings.
Change History (6)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Cc: | added |
---|---|
Component: | default → JavaBindings |
Keywords: | gnm added |
Owner: | changed from | to
comment:3 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:5 by , 8 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Dmitry, I still think there are issues with the mapping of types, since I'm still seeing :
ll org/gdal/gnm/SWIGTYPE* -rw-r--r-- 1 even even 709 2016-06-20 13:04 org/gdal/gnm/SWIGTYPE_p_OGRErr.java -rw-r--r-- 1 even even 749 2016-06-20 13:04 org/gdal/gnm/SWIGTYPE_p_OGRFeatureShadow.java -rw-r--r-- 1 even even 741 2016-06-20 13:04 org/gdal/gnm/SWIGTYPE_p_OGRLayerShadow.java -rw-r--r-- 1 even even 757 2016-06-20 13:04 org/gdal/gnm/SWIGTYPE_p_OGRwkbGeometryType.java -rw-r--r-- 1 even even 785 2016-06-20 13:04 org/gdal/gnm/SWIGTYPE_p_OSRSpatialReferenceShadow.java
Note:
See TracTickets
for help on using tickets.
trunk r33867 "Java bindings: disable generation of bindings for GNM as they are not ready yet (#6434)"