I have my Software API jar compiled using JRE 1.5. When I try to run this API using jrockit_160_29_D1.2.0-10 I am getting below error:
[ERROR][codegen] Method/IR too big
Exception in thread "Main Thread" java.lang.InternalError: com/household/CfAnalyzeProject.<clinit>()V
at com.householdDMI.FI_GFS.a(Unknown Source)
at com.householdDMI.FI_GFS.<init>(Unknown Source)
at com.householdDMI.FI_GFS.CreateInstance(Unknown Source)
Caused by: java.lang.InternalError: Method/IR too big
... 5 more
When I compiled my API jar using JRE 1.6 it worked fine.
I would like to know if jrockit_160_29_D1.2.0-10 has backward compatibility? That is if a jar compiled in lower version it should work fine over higher version. If this is not the case then it breaks BASIC software/platform upgrade principle. I checked Oracle documentation for compatibility and found below:
1.3 Supported Configurations for the Oracle JRockit JDK
Oracle JRockit JDK is compatible with J2SE 5.0 and Java SE 6.
For a full list of processor types and operating systems that JRockit JDK supports, see Oracle JRockit JDK Supported Configurations athttp://www.oracle.com/technology/software/products/ias/files/fusion_certification.html.
Which means ideally Lower version should get supported (considering backward compatibility fact). Appreciate any input.