harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r479764 - in /harmony/enhanced/drlvm/trunk: build/make/ build/make/targets/ src/test/regression/ src/test/regression/H0000/ src/test/regression/H1694/ src/test/regression/H1800/ src/test/regression/H2151/ src/test/regression/H788/
Date Mon, 27 Nov 2006 21:05:55 GMT
Author: geirm
Date: Mon Nov 27 13:05:53 2006
New Revision: 479764

URL: http://svn.apache.org/viewvc?view=rev&rev=479764
Log:
HARMONY-2283

Committing as submitted with minor changes : 

1) added the location info into lnx.properties 
   so that the update fetch works on linux
2) removed reg.test from the suite becuase right 
   now it doesn't pass, and we dont' want to break
   the current test loop

Tested on Ubuntu 6


Added:
    harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml   (with props)
    harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.xml   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/
    harmony/enhanced/drlvm/trunk/src/test/regression/H0000/
    harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.c   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.java   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H0000/readme.txt   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H0000/run.test.xml   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1694/
    harmony/enhanced/drlvm/trunk/src/test/regression/H1694/H1694.java   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1694/readme.txt   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1800/
    harmony/enhanced/drlvm/trunk/src/test/regression/H1800/ExecTest.java   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1800/readme.txt   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2151/
    harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1.cpp   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1Test.java   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2151/readme.txt   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2151/run.test.xml   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/Invoke.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/InvokeInterface.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/Test.java   (with props)
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestArray.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestInterface.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestSpecial.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestStatic.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestVirtual.j
    harmony/enhanced/drlvm/trunk/src/test/regression/H788/readme.txt   (with props)
Modified:
    harmony/enhanced/drlvm/trunk/build/make/build.xml
    harmony/enhanced/drlvm/trunk/build/make/lnx.properties
    harmony/enhanced/drlvm/trunk/build/make/setup.xml
    harmony/enhanced/drlvm/trunk/build/make/win.properties

Modified: harmony/enhanced/drlvm/trunk/build/make/build.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/build.xml?view=diff&rev=479764&r1=479763&r2=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/build.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/build.xml Mon Nov 27 13:05:53 2006
@@ -427,6 +427,15 @@
         </if>
     </target>
 
+    <!-- Main target to run regression test /-->
+    <target name="reg.test" depends="setup, init">
+        <property name="target" value="reg.test" />
+        <subant buildpath="." antfile="build_component.xml" target="build" inheritall="true" failonerror="true">
+            <property name="_component" value="vm" />
+            <property name="_target" value="${target}" />
+        </subant>
+    </target>
+
     <!-- process (build/create javadoc/etc...) all the specified components -->
     <target name="process.components">
         <mkdir dir="${build.semi.dir}" />

Modified: harmony/enhanced/drlvm/trunk/build/make/lnx.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/lnx.properties?view=diff&rev=479764&r1=479763&r2=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/lnx.properties (original)
+++ harmony/enhanced/drlvm/trunk/build/make/lnx.properties Mon Nov 27 13:05:53 2006
@@ -66,6 +66,11 @@
 remote.HYPLUGIN.archive=-r 387505 http://svn.apache.org/repos/asf/incubator/harmony/enhanced/tools/trunk/eclipse/org.apache.harmony.eclipse.jdt.launching
 remote.HYPLUGIN.archive.type=svn
 
+# JASMIN for regression test framework
+#
+remote.JASMIN.archive=http://mesh.dl.sourceforge.net/sourceforge/jasmin/jasmin-1.1.zip
+
+
 # ANother Tool for Language Recognition
 remote.ANTLR.archive=http://www.antlr.org/download/antlr-2.7.5.jar
 remote.ANTLR.archive.type=asis

Modified: harmony/enhanced/drlvm/trunk/build/make/setup.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/setup.xml?view=diff&rev=479764&r1=479763&r2=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/setup.xml (original)
+++ harmony/enhanced/drlvm/trunk/build/make/setup.xml Mon Nov 27 13:05:53 2006
@@ -97,6 +97,7 @@
 
     <target name="setup.check.files" depends="setup.resources">
         <property name="CPPTASKS.check.file" value="cpptasks.jar" />
+        <property name="JASMIN.check.file" value="jasmin.jar" />
         <property name="APR.check.file" value="file_io/netware/filestat.c" />
         <property name="APRUTIL.check.file" value="encoding/apr_base64.c" />
         <property name="APRICONV.check.file" value="lib/api_version.c" />
@@ -105,7 +106,7 @@
         <property name="CLASSLIB.check.file" value="native-src/README.txt" />
         <property name="XALAN.check.file" value="xalan.jar" />
         <property name="VM.check.file" value="vmcore/src/init/vm_init.cpp" />
-		<property name="ANTLR.check.file" value="antlr-2.7.5.jar" />
+        <property name="ANTLR.check.file" value="antlr-2.7.5.jar" />
         <property name="PATCHES.check.file" value="README.txt" />
     </target>
 
@@ -155,6 +156,8 @@
 
         <propertyregex property="build.CPPTASKS.path" input="${if.CPPTASKS.exist}" regexp="(.*)/${CPPTASKS.check.file}" select="\1" />
         <copy file="${build.CPPTASKS.path}/cpptasks.jar" todir="tmp" />
+        <propertyregex property="build.JASMIN.path" input="${if.JASMIN.exist}" regexp="(.*)/${JASMIN.check.file}" select="\1" />
+        <copy file="${build.JASMIN.path}/jasmin.jar" todir="tmp" />
         <echo message="done" file="tmp/done.txt" />
     </target>
 
@@ -178,7 +181,7 @@
 
 
     <target name="setup.resources" depends="plugin.antcontrib">
-        <property name="common.resources" value="LOG4CXX,CPPTASKS,XALAN,VM,ANTLR,PATCHES" />
+        <property name="common.resources" value="LOG4CXX,CPPTASKS,XALAN,VM,ANTLR,PATCHES,JASMIN" />
         <property name="build.resources" value="CPPTASKS" />
         <if>
             <isset property="if.lnx" />

Added: harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml (added)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml Mon Nov 27 13:05:53 2006
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+     Licensed to the Apache Software Foundation (ASF) under one or more
+     contributor license agreements.  See the NOTICE file distributed with
+     this work for additional information regarding copyright ownership.
+     The ASF licenses this file to You under the Apache License, Version 2.0
+     (the "License"); you may not use this file except in compliance with
+     the License.  You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<project name="REGRESSION TESTS RUN">
+    <property name="reg.test.timeout" value="180000" />
+    <!-- property name="jvm.under.test" value="C:/ws/JRockit-1.5.0/bin/java.exe"/--> 
+    <property name="jvm.under.test" value="${build.deploy.dir}/bin/java"/>
+
+    <target name="run-reg-tests">
+        <echo>
+==================================
+     Run regression tests
+==================================
+        </echo>
+    
+        <!-- Execution of a test in JUnit format -->
+        <run-junit-test test="org.apache.harmony.drlvm.tests.regression.h1800.ExecTest"/>
+
+        <!-- Execution of a test in JUnit format -->
+        <run-junit-test test="org.apache.harmony.drlvm.tests.regression.h788.Test"/>
+
+        <!-- Execution of a java test with main function and expected result code -->
+        <run-pjava-test test="org.apache.harmony.drlvm.tests.regression.h1694.H1694" expected-code="104"/>
+        
+        <!-- Launch the tests with a custom launchers placed near the tests -->
+        <run-custom-launcher launcher="${reg.test.src}/H2151/run.test.xml"/>
+        <run-custom-launcher launcher="${reg.test.src}/H0000/run.test.xml"/>
+
+    </target>
+
+    <!-- Macrodefinition launching the custom launcher -->
+    <macrodef name="run-custom-launcher">
+        <attribute name="launcher"/>
+        <sequential>
+            <ant antfile="@{launcher}" target="run-test" inheritAll="true" inheritRefs="true"/>
+        </sequential>
+    </macrodef>
+
+    <!-- Macrodefinition launching JUnit test -->
+    <macrodef name="run-junit-test">
+        <attribute name="test"/>
+        <attribute name="vmarg" default=""/>
+        <element name="junit-element" optional="true"/>
+        <sequential>
+            <junit jvm="${jvm.under.test}"
+                   fork="yes"
+                   haltonfailure="true"
+                   haltonerror="true"
+                   printsummary="withOutAndErr"
+                   dir="${basedir}"
+                   failureproperty="@{test}.failed"
+                   timeout="${reg.test.timeout}">
+                <test name="@{test}" todir="${reg.test.dir}/reports"/>
+                <classpath>
+                    <pathelement path="${reg.test.class.path}"/>
+                </classpath>
+                <junit-element/>
+                <formatter type="brief"/>
+            </junit>
+        </sequential>
+    </macrodef>
+
+    <!-- Macrodefinition launching JVMTI JUnit test -->
+    <macrodef name="run-jvmti-test">
+        <attribute name="test"/>
+        <attribute name="vmarg" default=""/>
+        <attribute name="agent"/>
+        <sequential>
+            <run-junit-test test="@{test}" vmarg="@{vmarg}">
+                <junit-element>
+                    <jvmarg value="-Dvm.assert_dialog=0" />
+                    <select os="win">
+                        <jvmarg
+                        value="-agentpath:${reg.test.native.path}/@{agent}.dll"
+                        />
+                    </select>
+                    <select os="lnx">
+                        <jvmarg
+                        value="-agentpath:${reg.test.native.path}/lib@{agent}.so"
+                        />
+                    </select>
+                </junit-element>
+            </run-junit-test>
+        </sequential>
+    </macrodef>
+
+    <!-- Macrodefinition launching Plain Java test -->
+    <macrodef name="run-pjava-test">
+        <attribute name="test"/>
+        <attribute name="classpath" default=""/>
+        <attribute name="expected-code" default="0"/>
+        <attribute name="vmarg" default=""/>
+        <attribute name="args" default=""/>
+        <element name="java-element" optional="true"/>
+        <sequential>
+            <echo message="Running regression test: @{test}"/>
+            <java jvm="${jvm.under.test}"
+                  classname="@{test}"
+                  resultproperty="@{test}.res.code"
+                  output="${reg.test.dir}/reports/@{test}.txt"
+                  fork="yes"
+                  timeout="${reg.test.timeout}">
+                <java-element/>
+                <jvmarg line="@{vmarg}" />
+                <arg line="@{args}" />
+                <classpath>
+                    <pathelement path="${reg.test.class.path}"/>
+                    <pathelement path="@{classpath}"/>
+                </classpath>
+            </java>
+            <fail>
+test failure: 
+Test '@{test}' FAILED! (${@{test}.res.code} exit code)
+See ${reg.test.dir}/reports/@{test}.txt file for details.
+                <condition>
+                    <not>
+                        <equals arg1="${@{test}.res.code}" arg2="@{expected-code}"/>
+                    </not>
+                </condition>
+            </fail>
+        </sequential>
+    </macrodef>
+
+</project>

Propchange: harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.run.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.xml?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.xml (added)
+++ harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.xml Mon Nov 27 13:05:53 2006
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<!--
+     Licensed to the Apache Software Foundation (ASF) under one or more
+     contributor license agreements.  See the NOTICE file distributed with
+     this work for additional information regarding copyright ownership.
+     The ASF licenses this file to You under the Apache License, Version 2.0
+     (the "License"); you may not use this file except in compliance with
+     the License.  You may obtain a copy of the License at
+     
+         http://www.apache.org/licenses/LICENSE-2.0
+     
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License. -->
+
+<project name="REGRESSION TESTS">
+    <property name="reg.test.src" location="${basedir}/../../src/test/regression"/>
+    <property name="reg.test.dir" location="${build.semi.dir}/reg.tests"/>
+    <property name="reg.test.class.path" location="${reg.test.dir}/classes"/>
+    <property name="reg.test.native.path" location="${reg.test.dir}/native"/>
+    <!-- TODO: check the existence of jasmin.jar -->
+    <property name="jasmin.jar" location="./tmp/jasmin.jar"/>
+    <property name="reg.test.package" value="org/apache/harmony/drlvm/tests/regression"/>
+
+    <target name="compile-reg-tests-prepare" depends="init_component">
+        <mkdir dir="${reg.test.class.path}" />
+        <mkdir dir="${reg.test.native.path}" />
+
+        <dirset id="reg.test.src.dirs.set"
+                dir="${reg.test.src}"
+                includes="*"/>
+
+        <pathconvert pathsep=","
+                     property="reg.test.src.dirs.list"
+                     refid="reg.test.src.dirs.set" />
+
+        <fileset id="reg.test.src.native.set" dir="${reg.test.src}">
+            <include name="**/*.c"/>
+            <include name="**/*.cpp"/>
+        </fileset>
+    </target>
+
+    <target name="compile-reg-tests-j"
+            depends="compile-reg-tests-prepare">
+        <fileset id="reg.test.src.jasmin.set" 
+                 dir="${reg.test.src}"
+                 includes="**/*.j">
+            <depend targetdir="${reg.test.class.path}">
+                <mapper>
+                    <chainedmapper>
+                        <filtermapper>
+                            <replacestring from="\" to="/"/>
+                        </filtermapper>
+                        <regexpmapper from="^(?:.*/)?H(\d\d*)/([^/].*).j$$" 
+                                      to="h\1/\2.class"/>
+                        <globmapper from="*" to="${reg.test.package}/*"/>
+                    </chainedmapper>
+                </mapper>
+            </depend>
+        </fileset>
+        
+        <pathconvert pathsep=" "
+                     property="reg.test.src.jasmin.list"
+                     refid="reg.test.src.jasmin.set"/>
+       
+        <java jar="${jasmin.jar}" fork="true">
+            <arg line="-d ${reg.test.class.path}"/>
+            <arg line="${reg.test.src.jasmin.list}"/>
+        </java>
+    </target>
+
+    <target name="compile-reg-tests-java"
+            depends="compile-reg-tests-prepare, compile-reg-tests-j">
+        <javac srcdir="${reg.test.src}"
+               includes="**/*.java"
+               destdir="${reg.test.class.path}"
+               source="1.5" target="1.5" listfiles="true"
+               debug="true"
+               verbose="yes">
+            <depend targetdir="${reg.test.class.path}">
+                <mapper>
+                    <chainedmapper>
+                        <filtermapper>
+                            <replacestring from="\" to="/"/>
+                        </filtermapper>
+                        <regexpmapper 
+                            from="^(?:.*/)?H(\d\d*)/([^/].*).java$$"
+                            to="h\1/\2.class"/>
+                        <globmapper from="*" to="${reg.test.package}/*"/>
+                    </chainedmapper>
+                </mapper>
+            </depend>
+        </javac>
+    </target>
+
+    <target name="compile-reg-tests-native"
+        depends="compile-reg-tests-prepare, init_component">
+
+        <pathconvert property="reg.test.src.native.list"
+                     refid="reg.test.src.native.set"
+                     pathsep=","/>
+        <mkdir dir="${reg.test.native.path}/_obj"/>
+
+        <for list="${reg.test.src.native.list}" param="csource"
+             delimiter=",">
+            <sequential>
+                <var name="outname" unset="true" />
+                <!-- basename property="outname" file="@{csource}" suffix=".cpp"/ -->
+                <pathconvert property="outname">
+                    <path path="@{csource}"/>
+                    <chainedmapper>
+                        <flattenmapper/>
+                        <regexpmapper from="^(..*)\.c.?.?$$" to="\1"/>
+                    </chainedmapper>
+                </pathconvert>
+
+                <echo message="## Compiling reg native ${outname} in: ${reg.test.native.path}" />
+                <cc name="${build.cxx}"
+                    debug="true"
+                    runtime="dynamic"
+                    multithreaded="true"
+                    link="shared"
+                    outfile="${reg.test.native.path}/${outname}"
+                    objdir="${reg.test.native.path}/_obj">
+                    <includepath path="${build.deploy.dir}/include" />
+                    <select os="lnx">
+                        <linkerarg value="-lstdc++" />
+                    </select>
+                    <fileset file="@{csource}"/>
+                </cc>
+            </sequential>
+        </for>
+    </target>
+
+    <target name="pre-reg-test" depends="compile-reg-tests-java, compile-reg-tests-native">
+    <!--target name="pre-reg-test" depends="compile-reg-tests-native"-->
+    <!-- target name="pre-reg-test" depends="init_component"-->
+        <condition property="junit.jar" value="${junit.home}/junit.jar">
+            <isset property="junit.home" />
+        </condition>
+        <property name="junit.jar"
+                  location="${external.dep.CLASSLIB}/depends/jars/junit_3.8.2/junit.jar" />
+        <if>
+            <not>
+                <available file="${junit.jar}"/>
+            </not>
+            <then>
+                <echo>
+                ==============================================
+                Please set the classpath of junit as follows:
+                build.bat -Djunit.jar=%JUNIT_HOME% test
+                ==============================================
+                </echo>
+                <fail message="reg tests misconfigured" />
+            </then>
+        </if>
+        <sequential>
+            <delete quiet="true" dir="${reg.test.dir}/reports" />
+            <delete quiet="true" dir="${reg.test.dir}/ref-reports" />
+            <mkdir dir="${reg.test.dir}/reports" />
+            <mkdir dir="${reg.test.dir}/ref-reports" />
+        </sequential>
+    </target>
+
+    <target name="reg.test" depends="pre-reg-test" >
+        <ant antfile="${ant.file.REGRESSION TESTS RUN}" target="run-reg-tests" inheritAll="true" inheritRefs="true"/>
+    </target>
+</project>

Propchange: harmony/enhanced/drlvm/trunk/build/make/targets/reg.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: harmony/enhanced/drlvm/trunk/build/make/win.properties
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/make/win.properties?view=diff&rev=479764&r1=479763&r2=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/make/win.properties (original)
+++ harmony/enhanced/drlvm/trunk/build/make/win.properties Mon Nov 27 13:05:53 2006
@@ -42,6 +42,8 @@
 # http://sourceforge.net/project/showfiles.php?group_id=36177
 remote.ANTCONTRIB.archive=http://superb-west.dl.sourceforge.net/sourceforge/ant-contrib/ant-contrib-1.0b2-bin.zip
 
+remote.JASMIN.archive=http://mesh.dl.sourceforge.net/sourceforge/jasmin/jasmin-1.1.zip
+
 # ZLIB, version 1.2.1 or above
 # http://www.zlib.net/
 remote.ZLIB.archive=http://www.zlib.net/zlib123-dll.zip

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.c?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.c (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.c Mon Nov 27 13:05:53 2006
@@ -0,0 +1,50 @@
+#include <jni.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+JNIEXPORT jstring JNICALL Java_org_apache_harmony_drlvm_tests_regression_h0000_DirectByteBufferTest_testValidBuffer0
+  (JNIEnv *, jobject);
+
+
+/*
+ * Class:     DirectByteBufferTest
+ * Method:    testValidBuffer0
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_org_apache_harmony_drlvm_tests_regression_h0000_DirectByteBufferTest_testValidBuffer0
+  (JNIEnv *jenv, jobject unused)
+{
+    char* error = (char*)calloc(256, 1);
+    const jlong BUF_SIZE = 100;
+    void* buf = malloc(BUF_SIZE);
+    jobject jbuf = (*jenv)->NewDirectByteBuffer(jenv, buf, BUF_SIZE);
+    void* addr = (*jenv)->GetDirectBufferAddress(jenv, jbuf);
+    jlong size = (*jenv)->GetDirectBufferCapacity(jenv, jbuf);
+    jstring jstr;
+    if (jbuf) {
+        if (addr != buf) {
+            sprintf(error, "invalid buffer address: expected %p but was %p\n", buf, addr);
+        } 
+        if (size != BUF_SIZE) {
+            sprintf(error + strlen(error), 
+                "invalid buffer capacity: expected %d but was %d\n", BUF_SIZE, size);
+        }
+    } else {
+        // access to direct buffers not supported
+        if (addr != NULL | size != -1) {
+            sprintf(error, "inconsistent NIO support:\n" 
+                "NewDirectByteBuffer() returned NULL;\n"
+                "GetDirectBufferAddress() returned %p\n"
+                "GetDirectBufferCapacity() returned %d\n", addr, size);
+        } else {
+            sprintf(error, "no NIO support\n");
+        }
+    }
+
+    jstr = strlen(error) ? (*jenv)->NewStringUTF(jenv, error) : NULL;
+    free(buf);
+    free(error);
+
+    return jstr;
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.c
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.java?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.java (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.java Mon Nov 27 13:05:53 2006
@@ -0,0 +1,18 @@
+package org.apache.harmony.drlvm.tests.regression.h0000;
+
+import junit.framework.TestCase;
+
+public class DirectByteBufferTest extends TestCase {
+
+    static { System.loadLibrary("DirectByteBufferTest"); }
+
+    public static void main(String[] args) {
+        new DirectByteBufferTest().testValidBuffer();
+    }
+
+    private native String testValidBuffer0();
+    
+    public void testValidBuffer() {
+        assertNull(testValidBuffer0());
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/DirectByteBufferTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/readme.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H0000/readme.txt?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H0000/readme.txt (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H0000/readme.txt Mon Nov 27 13:05:53 2006
@@ -0,0 +1,10 @@
+Test sources were taken and modified from src/test/jni/nio.
+Currenlty the test fails with the following message:
+
+HMYEXEL062E Internal VM error: Failed to create Java VM
+FAILED to invoke JVM.
+
+But it is impossible to determine wether the test pass or not 
+because in both cases VM returns 0 status code.
+
+It demonstrates limitations of using of JUnit test format for VM testing.
\ No newline at end of file

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H0000/run.test.xml?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H0000/run.test.xml (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H0000/run.test.xml Mon Nov 27 13:05:53 2006
@@ -0,0 +1,13 @@
+<project name="RUN HARMONY-0000 Regression Test">
+    <!-- Test commed from src/test/jni/nio -->
+    <target name="run-test">
+        <!-- extend JUnit test launcher to run JNI test -->
+        <run-junit-test 
+            test="org.apache.harmony.drlvm.tests.regression.h0000.DirectByteBufferTest">
+            <junit-element>
+                <sysproperty key="java.library.path" value="${reg.test.native.path}"/>
+            </junit-element>
+        </run-junit-test>
+    </target>
+</project>
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H0000/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H1694/H1694.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1694/H1694.java?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1694/H1694.java (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1694/H1694.java Mon Nov 27 13:05:53 2006
@@ -0,0 +1,32 @@
+package org.apache.harmony.drlvm.tests.regression.h1694;
+
+class H1694 {
+    public int test() {
+        Object arrayOfObjects[] = new Object[10000]; // array of objects
+
+        // padding memory
+        System.out.println("Padding memory...");           
+        int numObjects=0;
+        
+        try {
+            while (true) {
+                arrayOfObjects[numObjects] = new StressTest01Object1(); // padding memory by big objects
+                numObjects++;
+            }
+        }
+        catch (OutOfMemoryError oome) {
+        }
+
+        System.out.println("Test passed");
+        return 104; // return pass
+    }
+ 
+    public static void main(String[] args) {
+        System.exit(new H1694().test());
+    }
+}
+ 
+/* big padding object */
+class StressTest01Object1 {
+    int testArray[][][] = new int[100][100][100];
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1694/H1694.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H1694/readme.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1694/readme.txt?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1694/readme.txt (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1694/readme.txt Mon Nov 27 13:05:53 2006
@@ -0,0 +1 @@
+Test was taken from src/test/harmony-1694
\ No newline at end of file

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1694/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H1800/ExecTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1800/ExecTest.java?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1800/ExecTest.java (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1800/ExecTest.java Mon Nov 27 13:05:53 2006
@@ -0,0 +1,43 @@
+package org.apache.harmony.drlvm.tests.regression.h1800;
+
+import junit.framework.TestCase;
+import java.io.*;
+
+public class ExecTest extends TestCase {
+    
+    public void testExec() throws Exception {
+        String [] cmdL = new String[5];
+        cmdL[0] = System.getProperty("java.home")+File.separator+"bin"+File.separator+"java";
+        cmdL[1] = "-classpath";
+        cmdL[2] = ".";
+        cmdL[3] = "testExec1_App";
+        cmdL[4] = null;
+        try {
+            Process p = Runtime.getRuntime().exec(cmdL);
+            p.waitFor();
+            int ans = p.exitValue();
+            InputStream is = p.getErrorStream();
+            int toRead = is.available();
+            byte[] out = new byte[100];
+            int sz = 0;
+            while (true) {
+                int r = is.read();
+                if (r == -1) {
+                    break;
+                }
+                out[sz] = (byte)r;
+                sz++;
+                if (sz == 100) {
+                    break;
+                }
+            }
+            System.out.println("========Application error message======");
+            System.out.println(new String (out, 0, sz));
+            System.out.println("=======================================");
+
+            fail("NullPointerException was not thrown. exitValue = " + ans);
+        } catch (NullPointerException e) {
+        }
+    }
+}
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1800/ExecTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H1800/readme.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1800/readme.txt?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1800/readme.txt (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1800/readme.txt Mon Nov 27 13:05:53 2006
@@ -0,0 +1 @@
+Test was taken from src/test/harmony-1800
\ No newline at end of file

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1800/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1.cpp?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1.cpp (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1.cpp Mon Nov 27 13:05:53 2006
@@ -0,0 +1,49 @@
+#include <string.h>
+#include <jvmti.h>
+
+static void JNICALL vm_init_callback(jvmtiEnv* jvmti_env, JNIEnv* jni_env, jthread thread)
+{
+    jclass cl = jni_env->FindClass("org/apache/harmony/drlvm/tests/regression/h2151/Status");
+    if (NULL == cl)
+        return;
+
+    jfieldID fid = jni_env->GetStaticFieldID(cl, "status", "Z");
+    if (NULL == fid)
+        return;
+
+    jni_env->SetStaticBooleanField(cl, fid, JNI_TRUE);
+}
+
+JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *vm, char *options, void *reserved)
+{
+    jvmtiEnv *jvmti_env;
+    if(vm->GetEnv((void**)&jvmti_env, JVMTI_VERSION_1_0) != JNI_OK)
+        return JNI_ERR;
+
+    // Get all supported capabilities
+    jvmtiCapabilities capabilities;
+    jvmtiError result = jvmti_env->GetPotentialCapabilities(&capabilities);
+    if (JVMTI_ERROR_NONE != result)
+        return JNI_ERR;
+
+    // Enabled all supported capabilities
+    result = jvmti_env->AddCapabilities(&capabilities);
+    if (JVMTI_ERROR_NONE != result)
+        return JNI_ERR;
+
+    jvmtiEventCallbacks callbacks;
+    memset(&callbacks, 0, sizeof(jvmtiEventCallbacks));
+    callbacks.VMInit = vm_init_callback;
+
+    // Set callback for VMInit
+    result = jvmti_env->SetEventCallbacks(&callbacks, (jint)sizeof(callbacks));
+    if (JVMTI_ERROR_NONE != result)
+        return JNI_ERR;
+
+    // Set event mode to true
+    result = jvmti_env->SetEventNotificationMode(JVMTI_ENABLE, JVMTI_EVENT_VM_INIT, NULL);
+    if (JVMTI_ERROR_NONE != result)
+        return JNI_ERR;
+
+    return JNI_OK;
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1Test.java?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1Test.java (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1Test.java Mon Nov 27 13:05:53 2006
@@ -0,0 +1,23 @@
+package org.apache.harmony.drlvm.tests.regression.h2151;
+
+import junit.framework.TestCase;
+
+/**
+ * Test case for VMInit event. Should be executed with all JVMTI capabilies
+ * enabled.
+ */
+public class VMInit1Test extends TestCase {
+    public static void main(String args[]) {
+        (new VMInit1Test()).test();
+    }
+
+    public void test() {
+        System.out.println("test done");
+        assertTrue(Status.status);
+    }
+}
+
+class Status {
+    public static boolean status = false;
+}
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/VMInit1Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/readme.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2151/readme.txt?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2151/readme.txt (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2151/readme.txt Mon Nov 27 13:05:53 2006
@@ -0,0 +1 @@
+The test sources were taken from vm/tests/jvmti/VMInit1 
\ No newline at end of file

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2151/run.test.xml?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2151/run.test.xml (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2151/run.test.xml Mon Nov 27 13:05:53 2006
@@ -0,0 +1,9 @@
+<project name="RUN HARMONY-2151 Regression Test">
+    <target name="run-test">
+        <!-- use special launcher for JVMTI tests -->
+        <run-jvmti-test 
+            test="org.apache.harmony.drlvm.tests.regression.h2151.VMInit1Test"
+            agent="VMInit1"/>
+    </target>
+</project>
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2151/run.test.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/Invoke.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/Invoke.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/Invoke.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/Invoke.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,40 @@
+.class public org/apache/harmony/drlvm/tests/regression/h788/Invoke
+.super java/lang/Object
+.implements InvokeInterface
+
+.method public <init>()V
+   aload_0
+   invokenonvirtual java/lang/Object/<init>()V
+   return
+.end method
+
+; init method with 256 args for invokespecial call
+.method public <init>(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)V
+   .limit stack 10
+   .limit locals 260
+   aload_0
+   invokenonvirtual java/lang/Object/<init>()V
+   return
+.end method
+
+; method InvokeStatic with 256 args
+.method public static InvokeStatic(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)V
+   .limit stack 10
+   .limit locals 260
+   return
+.end method
+
+;method InvokeVirtual with 256 args
+.method public InvokeVirtual(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)V
+   .limit stack 10
+   .limit locals 260
+   return
+.end method
+
+;method InvokeInterface(I...I)I with 256 args
+.method public Interface(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)I
+   .limit stack 10
+   .limit locals 260
+   sipush 105
+   ireturn
+.end method

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/InvokeInterface.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/InvokeInterface.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/InvokeInterface.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/InvokeInterface.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,6 @@
+.interface public org/apache/harmony/drlvm/tests/regression/h788/InvokeInterface
+.super java/lang/Object
+
+; method InvokeInterface with 256 args
+.method public abstract InvokeInterface(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)V
+.end method

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/Test.java?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/Test.java (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/Test.java Mon Nov 27 13:05:53 2006
@@ -0,0 +1,49 @@
+package org.apache.harmony.drlvm.tests.regression.h788;
+
+import junit.framework.TestCase;
+
+public class Test extends TestCase {
+
+    public void test() throws Exception {
+        // check multianewarray
+        try { 
+            Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h788.TestArray");
+            cl.newInstance();
+            fail();
+        } catch (LinkageError e) {
+            System.out.println("TestArray:     Passes: " + e);
+        }
+        // check invokespecial
+        try { 
+            Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h788.TestSpecial");
+            cl.newInstance();
+            fail();
+        } catch (LinkageError e) {
+            System.out.println("TestSpecial:   Passes: " + e);
+        }
+        // check invokevirtual
+        try { 
+            Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h788.TestVirtual");
+            cl.newInstance();
+            fail();
+        } catch (LinkageError e) {
+            System.out.println("TestVirtual:   Passes: " + e);
+        }        
+        // check invokeinterface
+        try { 
+            Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h788.TestInterface");
+            cl.newInstance();
+            fail();
+        } catch (LinkageError e) {
+            System.out.println("TestInterface: Passes: " + e);
+        }
+        // check invokestatic
+        try { 
+            Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h788.TestStatic");
+            cl.newInstance();
+            fail();
+        } catch (LinkageError e) {
+            System.out.println("TestStatic:    Passes: " + e);
+        }
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H788/Test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestArray.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestArray.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestArray.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestArray.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,280 @@
+.class public org/apache/harmony/drlvm/tests/regression/h788/TestArray
+.super java/lang/Object
+
+.method public <init>()V
+    aload_0
+    invokenonvirtual java/lang/Object/<init>()V
+    return
+.end method
+
+.method public static TestMultianewarray()V
+   
+   .limit stack 258
+   .limit locals 3
+
+   iconst_1 
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+   iconst_1
+
+   ; creating array with 255 dimentions
+   ; must throw java.lang.VerifyError
+   multianewarray [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[Ljava/lang/String; 255
+   astore_2
+
+   return
+.end method
+

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestInterface.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestInterface.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestInterface.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestInterface.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,279 @@
+.class public org/apache/harmony/drlvm/tests/regression/h788/TestInterface
+.super java/lang/Object
+
+.method public <init>()V
+   aload_0
+   invokenonvirtual java/lang/Object/<init>()V
+   return
+.end method
+
+.method public static TestForInterface()V
+   .limit stack 300
+   .limit locals 3 
+
+   new Invoke
+   dup
+
+   ldc 1  
+   ldc 2
+   ldc 3
+   ldc 4
+   ldc 5
+   ldc 6
+   ldc 7
+   ldc 8
+   ldc 9
+   ldc 10
+   ldc 11  
+   ldc 12
+   ldc 13
+   ldc 14
+   ldc 15
+   ldc 16
+   ldc 17
+   ldc 18
+   ldc 19
+   ldc 20
+   ldc 21  
+   ldc 22
+   ldc 23
+   ldc 24
+   ldc 25
+   ldc 26
+   ldc 27
+   ldc 28
+   ldc 29
+   ldc 30
+   ldc 31  
+   ldc 32
+   ldc 33
+   ldc 34
+   ldc 35
+   ldc 36
+   ldc 37
+   ldc 38
+   ldc 39
+   ldc 40
+   ldc 41  
+   ldc 42
+   ldc 43
+   ldc 44
+   ldc 45
+   ldc 46
+   ldc 47
+   ldc 48
+   ldc 49
+   ldc 40
+   ldc 51  
+   ldc 52
+   ldc 53
+   ldc 54
+   ldc 55
+   ldc 56
+   ldc 57
+   ldc 58
+   ldc 59
+   ldc 60
+   ldc 61  
+   ldc 62
+   ldc 63
+   ldc 64
+   ldc 65
+   ldc 66
+   ldc 67
+   ldc 68
+   ldc 69
+   ldc 70
+   ldc 71  
+   ldc 72
+   ldc 73
+   ldc 74
+   ldc 75
+   ldc 76
+   ldc 77
+   ldc 78
+   ldc 79
+   ldc 80
+   ldc 81  
+   ldc 82
+   ldc 83
+   ldc 84
+   ldc 85
+   ldc 86
+   ldc 87
+   ldc 88
+   ldc 89
+   ldc 90
+   ldc 91  
+   ldc 92
+   ldc 93
+   ldc 94
+   ldc 95
+   ldc 96
+   ldc 97
+   ldc 98
+   ldc 99
+   ldc 100
+   ldc 101  
+   ldc 102
+   ldc 103
+   ldc 104
+   ldc 105
+   ldc 106
+   ldc 107
+   ldc 108
+   ldc 109
+   ldc 110
+   ldc 111  
+   ldc 112
+   ldc 113
+   ldc 114
+   ldc 115
+   ldc 116
+   ldc 117
+   ldc 118
+   ldc 119
+   ldc 120
+   ldc 121  
+   ldc 122
+   ldc 123
+   ldc 124
+   ldc 125
+   ldc 126
+   ldc 127
+   ldc 128
+   ldc 129
+   ldc 130
+   ldc 131  
+   ldc 132
+   ldc 133
+   ldc 134
+   ldc 135
+   ldc 136
+   ldc 137
+   ldc 138
+   ldc 139
+   ldc 140
+   ldc 141  
+   ldc 142
+   ldc 143
+   ldc 144
+   ldc 145
+   ldc 146
+   ldc 147
+   ldc 148
+   ldc 149
+   ldc 140
+   ldc 151  
+   ldc 152
+   ldc 153
+   ldc 154
+   ldc 155
+   ldc 156
+   ldc 157
+   ldc 158
+   ldc 159
+   ldc 160
+   ldc 161  
+   ldc 162
+   ldc 163
+   ldc 164
+   ldc 165
+   ldc 166
+   ldc 167
+   ldc 168
+   ldc 169
+   ldc 170
+   ldc 171  
+   ldc 172
+   ldc 173
+   ldc 174
+   ldc 175
+   ldc 176
+   ldc 177
+   ldc 178
+   ldc 179
+   ldc 180
+   ldc 181  
+   ldc 182
+   ldc 183
+   ldc 184
+   ldc 185
+   ldc 186
+   ldc 187
+   ldc 188
+   ldc 189
+   ldc 190
+   ldc 191  
+   ldc 192
+   ldc 193
+   ldc 194
+   ldc 195
+   ldc 196
+   ldc 197
+   ldc 198
+   ldc 199
+   ldc 200
+   ldc 201  
+   ldc 202
+   ldc 203
+   ldc 204
+   ldc 205
+   ldc 206
+   ldc 207
+   ldc 208
+   ldc 209
+   ldc 210
+   ldc 211  
+   ldc 212
+   ldc 213
+   ldc 214
+   ldc 215
+   ldc 216
+   ldc 217
+   ldc 218
+   ldc 219
+   ldc 220
+   ldc 221  
+   ldc 222
+   ldc 223
+   ldc 224
+   ldc 225
+   ldc 226
+   ldc 227
+   ldc 228
+   ldc 229
+   ldc 230
+   ldc 231  
+   ldc 232
+   ldc 233
+   ldc 234
+   ldc 235
+   ldc 236
+   ldc 237
+   ldc 238
+   ldc 239
+   ldc 240
+   ldc 241  
+   ldc 242
+   ldc 243
+   ldc 244
+   ldc 245
+   ldc 246
+   ldc 247
+   ldc 248
+   ldc 249
+   ldc 240
+   ldc 251  
+   ldc 252
+   ldc 253
+   ldc 254
+   ldc 255
+   ldc 256
+
+   ; must throw java.lang.VerifyError or java.lang.ClassFormatError
+   invokeinterface InvokeInterface/InvokeInterface(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)I 256
+   return   
+.end method
+
+

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestSpecial.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestSpecial.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestSpecial.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestSpecial.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,279 @@
+.class public org/apache/harmony/drlvm/tests/regression/h788/TestSpecial
+.super java/lang/Object
+
+.method public <init>()V
+   aload_0
+   invokenonvirtual java/lang/Object/<init>()V
+   return
+.end method
+
+.method public static TestForSpecial()V
+   .limit stack 300
+   .limit locals 3 
+
+   new Invoke
+   dup
+
+   ldc 1  
+   ldc 2
+   ldc 3
+   ldc 4
+   ldc 5
+   ldc 6
+   ldc 7
+   ldc 8
+   ldc 9
+   ldc 10
+   ldc 11  
+   ldc 12
+   ldc 13
+   ldc 14
+   ldc 15
+   ldc 16
+   ldc 17
+   ldc 18
+   ldc 19
+   ldc 20
+   ldc 21  
+   ldc 22
+   ldc 23
+   ldc 24
+   ldc 25
+   ldc 26
+   ldc 27
+   ldc 28
+   ldc 29
+   ldc 30
+   ldc 31  
+   ldc 32
+   ldc 33
+   ldc 34
+   ldc 35
+   ldc 36
+   ldc 37
+   ldc 38
+   ldc 39
+   ldc 40
+   ldc 41  
+   ldc 42
+   ldc 43
+   ldc 44
+   ldc 45
+   ldc 46
+   ldc 47
+   ldc 48
+   ldc 49
+   ldc 40
+   ldc 51  
+   ldc 52
+   ldc 53
+   ldc 54
+   ldc 55
+   ldc 56
+   ldc 57
+   ldc 58
+   ldc 59
+   ldc 60
+   ldc 61  
+   ldc 62
+   ldc 63
+   ldc 64
+   ldc 65
+   ldc 66
+   ldc 67
+   ldc 68
+   ldc 69
+   ldc 70
+   ldc 71  
+   ldc 72
+   ldc 73
+   ldc 74
+   ldc 75
+   ldc 76
+   ldc 77
+   ldc 78
+   ldc 79
+   ldc 80
+   ldc 81  
+   ldc 82
+   ldc 83
+   ldc 84
+   ldc 85
+   ldc 86
+   ldc 87
+   ldc 88
+   ldc 89
+   ldc 90
+   ldc 91  
+   ldc 92
+   ldc 93
+   ldc 94
+   ldc 95
+   ldc 96
+   ldc 97
+   ldc 98
+   ldc 99
+   ldc 100
+   ldc 101  
+   ldc 102
+   ldc 103
+   ldc 104
+   ldc 105
+   ldc 106
+   ldc 107
+   ldc 108
+   ldc 109
+   ldc 110
+   ldc 111  
+   ldc 112
+   ldc 113
+   ldc 114
+   ldc 115
+   ldc 116
+   ldc 117
+   ldc 118
+   ldc 119
+   ldc 120
+   ldc 121  
+   ldc 122
+   ldc 123
+   ldc 124
+   ldc 125
+   ldc 126
+   ldc 127
+   ldc 128
+   ldc 129
+   ldc 130
+   ldc 131  
+   ldc 132
+   ldc 133
+   ldc 134
+   ldc 135
+   ldc 136
+   ldc 137
+   ldc 138
+   ldc 139
+   ldc 140
+   ldc 141  
+   ldc 142
+   ldc 143
+   ldc 144
+   ldc 145
+   ldc 146
+   ldc 147
+   ldc 148
+   ldc 149
+   ldc 140
+   ldc 151  
+   ldc 152
+   ldc 153
+   ldc 154
+   ldc 155
+   ldc 156
+   ldc 157
+   ldc 158
+   ldc 159
+   ldc 160
+   ldc 161  
+   ldc 162
+   ldc 163
+   ldc 164
+   ldc 165
+   ldc 166
+   ldc 167
+   ldc 168
+   ldc 169
+   ldc 170
+   ldc 171  
+   ldc 172
+   ldc 173
+   ldc 174
+   ldc 175
+   ldc 176
+   ldc 177
+   ldc 178
+   ldc 179
+   ldc 180
+   ldc 181  
+   ldc 182
+   ldc 183
+   ldc 184
+   ldc 185
+   ldc 186
+   ldc 187
+   ldc 188
+   ldc 189
+   ldc 190
+   ldc 191  
+   ldc 192
+   ldc 193
+   ldc 194
+   ldc 195
+   ldc 196
+   ldc 197
+   ldc 198
+   ldc 199
+   ldc 200
+   ldc 201  
+   ldc 202
+   ldc 203
+   ldc 204
+   ldc 205
+   ldc 206
+   ldc 207
+   ldc 208
+   ldc 209
+   ldc 210
+   ldc 211  
+   ldc 212
+   ldc 213
+   ldc 214
+   ldc 215
+   ldc 216
+   ldc 217
+   ldc 218
+   ldc 219
+   ldc 220
+   ldc 221  
+   ldc 222
+   ldc 223
+   ldc 224
+   ldc 225
+   ldc 226
+   ldc 227
+   ldc 228
+   ldc 229
+   ldc 230
+   ldc 231  
+   ldc 232
+   ldc 233
+   ldc 234
+   ldc 235
+   ldc 236
+   ldc 237
+   ldc 238
+   ldc 239
+   ldc 240
+   ldc 241  
+   ldc 242
+   ldc 243
+   ldc 244
+   ldc 245
+   ldc 246
+   ldc 247
+   ldc 248
+   ldc 249
+   ldc 240
+   ldc 251  
+   ldc 252
+   ldc 253
+   ldc 254
+   ldc 255
+   ldc 256
+
+   ; must throw java.lang.VerifyError or java.lang.ClassFormatError
+   invokespecial Invoke/<init>(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)I
+   return   
+.end method
+
+

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestStatic.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestStatic.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestStatic.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestStatic.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,277 @@
+.class public org/apache/harmony/drlvm/tests/regression/h788/TestStatic
+.super java/lang/Object
+
+.method public <init>()V
+   aload_0
+   invokenonvirtual java/lang/Object/<init>()V
+   return
+.end method
+
+.method public static TestForStatic()V
+   .limit stack 300
+   .limit locals 3 
+
+   ldc 1  
+   ldc 2
+   ldc 3
+   ldc 4
+   ldc 5
+   ldc 6
+   ldc 7
+   ldc 8
+   ldc 9
+   ldc 10
+   ldc 11  
+   ldc 12
+   ldc 13
+   ldc 14
+   ldc 15
+   ldc 16
+   ldc 17
+   ldc 18
+   ldc 19
+   ldc 20
+   ldc 21  
+   ldc 22
+   ldc 23
+   ldc 24
+   ldc 25
+   ldc 26
+   ldc 27
+   ldc 28
+   ldc 29
+   ldc 30
+   ldc 31  
+   ldc 32
+   ldc 33
+   ldc 34
+   ldc 35
+   ldc 36
+   ldc 37
+   ldc 38
+   ldc 39
+   ldc 40
+   ldc 41  
+   ldc 42
+   ldc 43
+   ldc 44
+   ldc 45
+   ldc 46
+   ldc 47
+   ldc 48
+   ldc 49
+   ldc 40
+   ldc 51  
+   ldc 52
+   ldc 53
+   ldc 54
+   ldc 55
+   ldc 56
+   ldc 57
+   ldc 58
+   ldc 59
+   ldc 60
+   ldc 61  
+   ldc 62
+   ldc 63
+   ldc 64
+   ldc 65
+   ldc 66
+   ldc 67
+   ldc 68
+   ldc 69
+   ldc 70
+   ldc 71  
+   ldc 72
+   ldc 73
+   ldc 74
+   ldc 75
+   ldc 76
+   ldc 77
+   ldc 78
+   ldc 79
+   ldc 80
+   ldc 81  
+   ldc 82
+   ldc 83
+   ldc 84
+   ldc 85
+   ldc 86
+   ldc 87
+   ldc 88
+   ldc 89
+   ldc 90
+   ldc 91  
+   ldc 92
+   ldc 93
+   ldc 94
+   ldc 95
+   ldc 96
+   ldc 97
+   ldc 98
+   ldc 99
+   ldc 100
+   ldc 101  
+   ldc 102
+   ldc 103
+   ldc 104
+   ldc 105
+   ldc 106
+   ldc 107
+   ldc 108
+   ldc 109
+   ldc 110
+   ldc 111  
+   ldc 112
+   ldc 113
+   ldc 114
+   ldc 115
+   ldc 116
+   ldc 117
+   ldc 118
+   ldc 119
+   ldc 120
+   ldc 121  
+   ldc 122
+   ldc 123
+   ldc 124
+   ldc 125
+   ldc 126
+   ldc 127
+   ldc 128
+   ldc 129
+   ldc 130
+   ldc 131  
+   ldc 132
+   ldc 133
+   ldc 134
+   ldc 135
+   ldc 136
+   ldc 137
+   ldc 138
+   ldc 139
+   ldc 140
+   ldc 141  
+   ldc 142
+   ldc 143
+   ldc 144
+   ldc 145
+   ldc 146
+   ldc 147
+   ldc 148
+   ldc 149
+   ldc 140
+   ldc 151  
+   ldc 152
+   ldc 153
+   ldc 154
+   ldc 155
+   ldc 156
+   ldc 157
+   ldc 158
+   ldc 159
+   ldc 160
+   ldc 161  
+   ldc 162
+   ldc 163
+   ldc 164
+   ldc 165
+   ldc 166
+   ldc 167
+   ldc 168
+   ldc 169
+   ldc 170
+   ldc 171  
+   ldc 172
+   ldc 173
+   ldc 174
+   ldc 175
+   ldc 176
+   ldc 177
+   ldc 178
+   ldc 179
+   ldc 180
+   ldc 181  
+   ldc 182
+   ldc 183
+   ldc 184
+   ldc 185
+   ldc 186
+   ldc 187
+   ldc 188
+   ldc 189
+   ldc 190
+   ldc 191  
+   ldc 192
+   ldc 193
+   ldc 194
+   ldc 195
+   ldc 196
+   ldc 197
+   ldc 198
+   ldc 199
+   ldc 200
+   ldc 201  
+   ldc 202
+   ldc 203
+   ldc 204
+   ldc 205
+   ldc 206
+   ldc 207
+   ldc 208
+   ldc 209
+   ldc 210
+   ldc 211  
+   ldc 212
+   ldc 213
+   ldc 214
+   ldc 215
+   ldc 216
+   ldc 217
+   ldc 218
+   ldc 219
+   ldc 220
+   ldc 221  
+   ldc 222
+   ldc 223
+   ldc 224
+   ldc 225
+   ldc 226
+   ldc 227
+   ldc 228
+   ldc 229
+   ldc 230
+   ldc 231  
+   ldc 232
+   ldc 233
+   ldc 234
+   ldc 235
+   ldc 236
+   ldc 237
+   ldc 238
+   ldc 239
+   ldc 240
+   ldc 241  
+   ldc 242
+   ldc 243
+   ldc 244
+   ldc 245
+   ldc 246
+   ldc 247
+   ldc 248
+   ldc 249
+   ldc 240
+   ldc 251  
+   ldc 252
+   ldc 253
+   ldc 254
+   ldc 255
+   ldc 256
+
+   ; must throw java.lang.VerifyError or java.lang.ClassFormatError
+   invokestatic Invoke/InvokeStatic(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)I
+   
+   return   
+.end method
+
+

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestVirtual.j
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestVirtual.j?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestVirtual.j (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/TestVirtual.j Mon Nov 27 13:05:53 2006
@@ -0,0 +1,281 @@
+.class public org/apache/harmony/drlvm/tests/regression/h788/TestVirtual
+.super java/lang/Object
+
+.method public <init>()V
+   aload_0
+   invokenonvirtual java/lang/Object/<init>()V
+   return
+.end method
+
+.method public static TestForVirtual()V
+   .limit stack 300
+   .limit locals 3 
+   
+   new Invoke
+   dup
+   invokespecial Invoke/<init>()V
+
+   ldc 1  
+   ldc 2
+   ldc 3
+   ldc 4
+   ldc 5
+   ldc 6
+   ldc 7
+   ldc 8
+   ldc 9
+   ldc 10
+   ldc 11  
+   ldc 12
+   ldc 13
+   ldc 14
+   ldc 15
+   ldc 16
+   ldc 17
+   ldc 18
+   ldc 19
+   ldc 20
+   ldc 21  
+   ldc 22
+   ldc 23
+   ldc 24
+   ldc 25
+   ldc 26
+   ldc 27
+   ldc 28
+   ldc 29
+   ldc 30
+   ldc 31  
+   ldc 32
+   ldc 33
+   ldc 34
+   ldc 35
+   ldc 36
+   ldc 37
+   ldc 38
+   ldc 39
+   ldc 40
+   ldc 41  
+   ldc 42
+   ldc 43
+   ldc 44
+   ldc 45
+   ldc 46
+   ldc 47
+   ldc 48
+   ldc 49
+   ldc 40
+   ldc 51  
+   ldc 52
+   ldc 53
+   ldc 54
+   ldc 55
+   ldc 56
+   ldc 57
+   ldc 58
+   ldc 59
+   ldc 60
+   ldc 61  
+   ldc 62
+   ldc 63
+   ldc 64
+   ldc 65
+   ldc 66
+   ldc 67
+   ldc 68
+   ldc 69
+   ldc 70
+   ldc 71  
+   ldc 72
+   ldc 73
+   ldc 74
+   ldc 75
+   ldc 76
+   ldc 77
+   ldc 78
+   ldc 79
+   ldc 80
+   ldc 81  
+   ldc 82
+   ldc 83
+   ldc 84
+   ldc 85
+   ldc 86
+   ldc 87
+   ldc 88
+   ldc 89
+   ldc 90
+   ldc 91  
+   ldc 92
+   ldc 93
+   ldc 94
+   ldc 95
+   ldc 96
+   ldc 97
+   ldc 98
+   ldc 99
+   ldc 100
+   ldc 101  
+   ldc 102
+   ldc 103
+   ldc 104
+   ldc 105
+   ldc 106
+   ldc 107
+   ldc 108
+   ldc 109
+   ldc 110
+   ldc 111  
+   ldc 112
+   ldc 113
+   ldc 114
+   ldc 115
+   ldc 116
+   ldc 117
+   ldc 118
+   ldc 119
+   ldc 120
+   ldc 121  
+   ldc 122
+   ldc 123
+   ldc 124
+   ldc 125
+   ldc 126
+   ldc 127
+   ldc 128
+   ldc 129
+   ldc 130
+   ldc 131  
+   ldc 132
+   ldc 133
+   ldc 134
+   ldc 135
+   ldc 136
+   ldc 137
+   ldc 138
+   ldc 139
+   ldc 140
+   ldc 141  
+   ldc 142
+   ldc 143
+   ldc 144
+   ldc 145
+   ldc 146
+   ldc 147
+   ldc 148
+   ldc 149
+   ldc 140
+   ldc 151  
+   ldc 152
+   ldc 153
+   ldc 154
+   ldc 155
+   ldc 156
+   ldc 157
+   ldc 158
+   ldc 159
+   ldc 160
+   ldc 161  
+   ldc 162
+   ldc 163
+   ldc 164
+   ldc 165
+   ldc 166
+   ldc 167
+   ldc 168
+   ldc 169
+   ldc 170
+   ldc 171  
+   ldc 172
+   ldc 173
+   ldc 174
+   ldc 175
+   ldc 176
+   ldc 177
+   ldc 178
+   ldc 179
+   ldc 180
+   ldc 181  
+   ldc 182
+   ldc 183
+   ldc 184
+   ldc 185
+   ldc 186
+   ldc 187
+   ldc 188
+   ldc 189
+   ldc 190
+   ldc 191  
+   ldc 192
+   ldc 193
+   ldc 194
+   ldc 195
+   ldc 196
+   ldc 197
+   ldc 198
+   ldc 199
+   ldc 200
+   ldc 201  
+   ldc 202
+   ldc 203
+   ldc 204
+   ldc 205
+   ldc 206
+   ldc 207
+   ldc 208
+   ldc 209
+   ldc 210
+   ldc 211  
+   ldc 212
+   ldc 213
+   ldc 214
+   ldc 215
+   ldc 216
+   ldc 217
+   ldc 218
+   ldc 219
+   ldc 220
+   ldc 221  
+   ldc 222
+   ldc 223
+   ldc 224
+   ldc 225
+   ldc 226
+   ldc 227
+   ldc 228
+   ldc 229
+   ldc 230
+   ldc 231  
+   ldc 232
+   ldc 233
+   ldc 234
+   ldc 235
+   ldc 236
+   ldc 237
+   ldc 238
+   ldc 239
+   ldc 240
+   ldc 241  
+   ldc 242
+   ldc 243
+   ldc 244
+   ldc 245
+   ldc 246
+   ldc 247
+   ldc 248
+   ldc 249
+   ldc 240
+   ldc 251  
+   ldc 252
+   ldc 253
+   ldc 254
+   ldc 255
+   ldc 256
+
+   ; must throw java.lang.VerifyError or java.lang.ClassFormatError
+   invokevirtual Invoke/InvokeVirtual(IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII)I
+   
+   return   
+.end method
+
+

Added: harmony/enhanced/drlvm/trunk/src/test/regression/H788/readme.txt
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H788/readme.txt?view=auto&rev=479764
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H788/readme.txt (added)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H788/readme.txt Mon Nov 27 13:05:53 2006
@@ -0,0 +1 @@
+tests were moved from src/test/array_method_limit/src
\ No newline at end of file

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H788/readme.txt
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message