Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Release 09.04.01, Release 10.04
-
None
-
None
-
linux Ubuntu 12.04, amd64, openjdk6, openjdk7
Description
./ant run-install gives the following build/compilation error:
classes:
[javac15] Compiling 4 source files to /home/stier/tmp/apache-ofbiz-09.04.02/framework/security/build/classes
[javac15] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac15] /home/stier/tmp/apache-ofbiz-09.04.02/framework/security/src/org/ofbiz/security/OFBizSecurity.java:50: error: invalid inferred types for V; inferred type does not conform to declared bound(s)
[javac15] public static final Map<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap(
[javac15] ^
[javac15] inferred: Map<String,Object>
[javac15] bound(s): Map<String,String>
[javac15] where V,V1,V2,V3 are type-variables:
[javac15] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac15] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac15] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac15] V3 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac15] 1 error
[javac15] 1 warning