Skip to Main Content

Is jrockit_160_29_D1.2.0-10 Support Backward compatibility for Java Jars compiled in lower (say JRE

KamleshsoniDec 31 2015 — edited Dec 31 2015

Dear Team,

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][00004] 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)

        at GFSDriver.<init>(GFSDriver.java:43)

        at GFSDriver.main(GFSDriver.java:26)

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.


Thanks

Kamlesh

Comments
Post Details
Added on Dec 31 2015
0 comments
1,102 views