Description
EUT/swt suite started crashing since r645073 (Fix for HARMONY-3584 [dlrvm][jit][opt] arrayfolding implementation in guarded manner).
To reproduce the issue please follow the instruction at: http://wiki.apache.org/harmony/Eclipse_Unit_Tests (in particular, step #1 and #2). The resulted command will look like:
ant -Dext.ant-contrib.location=ant-contrib-1.0b3.jar -Dtests=swt -Dtest.jre.home=<path to harmony jdk>
The suite runs about 10 minues, then it gives the stack dump which looks like:
[java] Stack trace:
[java] 0: (:-1)
[java] 1: org/eclipse/swt/internal/image/JPEGDecoder::jinit_master_decompress ((Lorg/eclipse/swt/internal/image/JPEGDecoder$jpeg_decompress_struct;)V): JPEGDecoder.java:3384
[java] 2: org/eclipse/swt/internal/image/JPEGDecoder::jpeg_start_decompress ((Lorg/eclipse/swt/internal/image/JPEGDecod
.... more swt frames ....
[java] 26: org/eclipse/test/CoreTestApplication::run ((Ljava/lang/Object;)Ljava/lang/Object: CoreTestApplication.java:31
[java] 27: (:-1)
[java] 28: JIT_execute_method_default (:-1)
[java] 29: EmInitialize (:-1)
[java] 30: (:-1)
[java] 31: vm_execute_java_method_array (:-1)
[java] 32: ?CallObjectMethodA@@YGPAU_jobject@@PAUJNIEnv_External@@PAU1@PAU_jmethodID@@PATjvalue@@@Z (:-1)
[java] 33: ?enumerate@NativeObjectHandles@@QAEXXZ (:-1)
[java] 34: _Java_java_lang_reflect_VMReflection_invokeMethod@24 (:-1)
[java] 35: stub::unknown
[java] 36: java/lang/reflect/Method::invoke ((Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object: Method.java:317
... and so on...