I’m getting a compilation failure when trying to build GeoServer master.
— maven-compiler-plugin:2.3.2:compile (default-compile) @ gs-kml —
Compiling 58 source files to E:\Users\mase\work\Projects\OGC_1G\GeoServerDev\geoserver\src\kml\target\classes
COMPILATION ERROR :
org/geoserver/kml/icons/IconService.java:[80,53] error: incompatible types: bad type in conditional expression
1 error
The line
https://github.com/geoserver/geoserver/blob/master/src/kml/src/main/java/org/geoserver/kml/icons/IconService.java#L79
has a Map<String, Object> KvpUtils.parseQueryString(String) being assigned to Map<String, String> properties.
I guess this is Java 8 getting stricter as it has compiled fine before, I’m surprised/confused why this hasn’t been found by anyone else yet and am not sure exactly what I may have changed to get this problem but the code does seem to need changing anyway so I will make a pull request with fix.
|