Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
Release 10.04
-
None
-
Windows 7, Oracle JDK 7
Description
The OFBIZ version is apache-ofbiz-10.04
When I'm compiling the project with the embedded and using ant run-install run there is a error message
classes:
[javac16] Compiling 13 source files to C:_portable\PortableApps\apache-ofbiz-10.04\framework\security\build\classes
[javac16] warning: [options] bootstrap class path not set in conjunction with -source 1.6
[javac16] C:_portable\PortableApps\apache-ofbiz-10.04\framework\security\src\org\ofbiz\security\OFBizSecurity.java:52: error: invalid inferred types for V; inferred type does not conform to declared bound(s)
[javac16] protected static final Map<String, Map<String, String>> simpleRoleEntity = UtilMisc.toMap(
[javac16] ^
[javac16] inferred: Map<String,Object>
[javac16] bound(s): Map<String,String>
[javac16] where V,V1,V2,V3 are type-variables:
[javac16] V extends Object declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V1 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V2 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] V3 extends V declared in method <V,V1,V2,V3>toMap(String,V1,String,V2,String,V3)
[javac16] 1 error
[javac16] 1 warning
Changing to use JDK 6 works around this issue - however given that EOL for JDK6 is November 2012 (IE this year, already extended from July) this is not a long term solution.
Regards
Karl
Attachments
Issue Links
- is related to
-
OFBIZ-4638 OFBiz does not build when using OpenJDK 7
- Closed
-
OFBIZ-3993 Build and run in openjdk 1.6
- Closed
-
OFBIZ-4387 Generic class instantiations with incorrect type parameters
- Closed
-
OFBIZ-5835 Trunk fails to compile with Java 1.8
- Closed
-
OFBIZ-4091 Internationalization of ServiceUtil.returnSuccess, ServiceUtil.returnFailure, ServiceUtil.returnError
- Closed
-
OFBIZ-4102 Remove most of the java compilation warning (generics markup, unused code/import)
- Closed