harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r588187 [1/2] - in /harmony/enhanced/drlvm/trunk: src/test/harmony-1417/ src/test/jni/nio/ src/test/microbenchmark/harmony-2012/ src/test/microbenchmark/harmony-2223/ src/test/microbenchmark/harmony-2247/ src/test/microbenchmark/harmony-234...
Date Thu, 25 Oct 2007 10:08:23 GMT
Author: hindessm
Date: Thu Oct 25 03:07:43 2007
New Revision: 588187

URL: http://svn.apache.org/viewvc?rev=588187&view=rev
Log:
Fixing property typo and fixing line endings properly.

Modified:
    harmony/enhanced/drlvm/trunk/src/test/harmony-1417/Test2_LE.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.c   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2247/ArraycopyTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/abstractCall/test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/directCall/test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/interfaceCall/test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/virtualCall/test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/virtualIndirectCall/test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1578/NaNTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1578/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1748/IntfAccessTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1748/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1788/abcdTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1788/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedHandlerTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedParamTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1802/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1840/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1852/DivIntTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1852/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1857/Test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1857/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1861/Test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H1861/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2057/SyncTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2057/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2086/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2092/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2092/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2113/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2113/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2196/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2259/H2259.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2259/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2261/RCETest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2261/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2644/BootDelegationTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2644/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2773/InfinityTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2773/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2846/NoVerifyTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2873/RemTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2873/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2874/Test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2874/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2899/ManyArgsTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H2899/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3098/JsrNoRetTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3098/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3110/FieldTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3110/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3121/H3121.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3121/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3130/CallNativeTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3130/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3150/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3150/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3175/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3175/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3216/ASETest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3216/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3228/H3228.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3228/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3256/InterruptTimedWaitingTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3256/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3283/JavaLibraryPathTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3283/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3285/Test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3285/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3380/LongToBitsTest.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3380/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3446/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3652/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3652/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3658/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3658/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3691/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3691/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3738/Test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3738/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3751/Test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3751/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3784/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3784/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3862/SubrBounds.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3862/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3954/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H3954/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4073/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4073/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4267/UnresolvedArrayElem.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4267/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4514/Test.java   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4514/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4579/run.test.xml   (props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4579/test.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4675/DivLongTest.java   (contents, props changed)
    harmony/enhanced/drlvm/trunk/src/test/regression/H4675/run.test.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/vm/doc/build.xml   (contents, props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/javasrc/org/apache/harmony/drlvm/gc_gen/GCHelper.java   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/fix_repointed_refs.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/gc_space.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/large_pages.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/mark_scan_pool.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/common/space_tuner.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/finalizer_weakref/finalizer_weakref_metadata.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gc_for_barrier.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/gen/gen_adapt.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_natives.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_support.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/jni/java_support.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/fallback_mark_scan.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_collect_compact.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_extend_compact.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_move_compact.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/mark_compact/mspace_slide_compact.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/collector_alloc.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/gc_thread.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/thread/gc_thread.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_gen_forward_pool.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/trace_forward/fspace_nongen_forward_pool.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bidir_list.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/gc_gen/src/utils/bit_ops.h   (contents, props changed)
    harmony/enhanced/drlvm/trunk/vm/include/open/hycond_win.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/codegenerator/ia32/Ia32CgUtils.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/loop_unroll.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/port/src/lil/pim/m2n.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_condvar.c   (props changed)
    harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_mutex.c   (props changed)
    harmony/enhanced/drlvm/trunk/vm/thread/src/linux/os_thread.c   (props changed)
    harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_condvar.c   (props changed)
    harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_mutex.c   (props changed)
    harmony/enhanced/drlvm/trunk/vm/thread/src/win/os_thread.c   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/include/finalizer_thread.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/include/ref_enqueue_thread.h   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/finalizer_thread.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/ref_enqueue_thread.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/init/vm_properties.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/drlvm/VMHelperFastPath.java   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/kernel_classes/javasrc/org/apache/harmony/drlvm/thread/ThreadHelper.java   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/helpers/thread_helpers_em64t.cpp   (props changed)
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/thread/helpers/thread_helpers_ia32.cpp   (props changed)

Modified: harmony/enhanced/drlvm/trunk/src/test/harmony-1417/Test2_LE.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/harmony-1417/Test2_LE.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/harmony-1417/Test2_LE.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/harmony-1417/Test2_LE.java Thu Oct 25 03:07:43 2007
@@ -1,48 +1,48 @@
-public class Test2_LE { 
-    static int num = 0;
-    static int ln = 10000000;
-    static int cln = ln/5;
-    public static void main(String[] args) { 
-        System.out.println("Start Test_LE:");
-        Test2_LE test = new Test2_LE();
-        long start1, start2, end1, end2, time1, time2;
-
-        start1 = System.currentTimeMillis();
-        for(int i=0; i<ln; i++) {
-            try {
-                if (i%cln == 0)
-                    System.out.println("...");
-                test.test();
-            } catch(Exception e) {
-            }
-        }
-        end1 = System.currentTimeMillis();
-        System.out.println("Total time: " + (time1=end1-start1));
-
-        start2 = System.currentTimeMillis();
-        for(int i=0; i<ln; i++) {
-            try {
-                if (i%cln == 0) 
-                    System.out.println("...");
-                test.test2();
-            } catch(Exception e) {
-            }
-        }
-        end2 = System.currentTimeMillis();
-        System.out.println("Total time: " + (time2=end2-start2));
-        if (time2/time1 > 1)
-            System.out.println("Test passed " + time2/time1);
-        else
-            System.out.println("Test failed " + time2/time1);
-    }
-    void test() throws Exception {
-        Exception e = new Exception();
-        throw e; 
-    }
+public class Test2_LE { 
+    static int num = 0;
+    static int ln = 10000000;
+    static int cln = ln/5;
+    public static void main(String[] args) { 
+        System.out.println("Start Test_LE:");
+        Test2_LE test = new Test2_LE();
+        long start1, start2, end1, end2, time1, time2;
+
+        start1 = System.currentTimeMillis();
+        for(int i=0; i<ln; i++) {
+            try {
+                if (i%cln == 0)
+                    System.out.println("...");
+                test.test();
+            } catch(Exception e) {
+            }
+        }
+        end1 = System.currentTimeMillis();
+        System.out.println("Total time: " + (time1=end1-start1));
+
+        start2 = System.currentTimeMillis();
+        for(int i=0; i<ln; i++) {
+            try {
+                if (i%cln == 0) 
+                    System.out.println("...");
+                test.test2();
+            } catch(Exception e) {
+            }
+        }
+        end2 = System.currentTimeMillis();
+        System.out.println("Total time: " + (time2=end2-start2));
+        if (time2/time1 > 1)
+            System.out.println("Test passed " + time2/time1);
+        else
+            System.out.println("Test failed " + time2/time1);
+    }
+    void test() throws Exception {
+        Exception e = new Exception();
+        throw e; 
+    }
     void test2() throws Exception {
         Exception e = new Exception();
 	if (e.getMessage()!=null)
 	    System.out.println("null");
         throw e;
     }
-} 
+} 

Propchange: harmony/enhanced/drlvm/trunk/src/test/harmony-1417/Test2_LE.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.c?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.c (original)
+++ harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.c Thu Oct 25 03:07:43 2007
@@ -1,50 +1,50 @@
-#include <jni.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-JNIEXPORT jstring JNICALL Java_DirectByteBufferTest_testValidBuffer0
-  (JNIEnv *, jobject);
-
-
-/*
- * Class:     DirectByteBufferTest
- * Method:    testValidBuffer0
- * Signature: ()Ljava/lang/String;
- */
-JNIEXPORT jstring JNICALL Java_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;
-}
+#include <jni.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+JNIEXPORT jstring JNICALL Java_DirectByteBufferTest_testValidBuffer0
+  (JNIEnv *, jobject);
+
+
+/*
+ * Class:     DirectByteBufferTest
+ * Method:    testValidBuffer0
+ * Signature: ()Ljava/lang/String;
+ */
+JNIEXPORT jstring JNICALL Java_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/jni/nio/DirectByteBufferTest.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.c
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.java Thu Oct 25 03:07:43 2007
@@ -1,27 +1,27 @@
-
-public class DirectByteBufferTest {
-
-    static { System.loadLibrary("DirectByteBufferTest");}
-
-    public static void main(String[] args) {
-        new DirectByteBufferTest().testValidBuffer();
-    }
-
-    private native String testValidBuffer0();
-    
-    public void testValidBuffer() {
-        assertNull(testValidBuffer0());
-    }
-    
-    public void assertNull(Object o) {
-        if (o == null) {
-            System.out.println("PASSED");
-        } else {
-            fail(o.toString());
-        }
-    }
-    
-    public void fail(String s) {
-        System.out.println("FAILED: " + s);
-    }
-}
+
+public class DirectByteBufferTest {
+
+    static { System.loadLibrary("DirectByteBufferTest");}
+
+    public static void main(String[] args) {
+        new DirectByteBufferTest().testValidBuffer();
+    }
+
+    private native String testValidBuffer0();
+    
+    public void testValidBuffer() {
+        assertNull(testValidBuffer0());
+    }
+    
+    public void assertNull(Object o) {
+        if (o == null) {
+            System.out.println("PASSED");
+        } else {
+            fail(o.toString());
+        }
+    }
+    
+    public void fail(String s) {
+        System.out.println("FAILED: " + s);
+    }
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/jni/nio/DirectByteBufferTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java Thu Oct 25 03:07:43 2007
@@ -1,50 +1,50 @@
-interface Intf {
-    public void inc();
-    public long getNum();
-    public void reset();
-}
-
-class IntfImpl implements Intf {
-
-    private long num;
-
-    public IntfImpl() { num = 0; }
-    public void inc() { num++; }
-    public long getNum() { return num; }
-    public void reset() { num = 0; }
-}
-
-public class test2012 {
-    
-    static final long limit = 10000000;
-
-    static Intf obj = new IntfImpl();
-
-    public static void main(String[] args) {
-        test2012 testObject = new test2012();
-
-        long before = 0, after = 0;
-	long best = 0;
-
-        for (int i = 0; i < 10; i++) {    
-            obj.reset();
-
-            before = System.currentTimeMillis();
-            testObject.run();
-            after = System.currentTimeMillis();
-            
-            long current = obj.getNum() / (((after - before)==0) ? 1 : (after - before));
-            System.out.println("Current score: " + current);
-            if (current > best) best = current;
-        }
-        System.out.println("Calls per millisecond: " + best);
-    }
-
-    public void run() {
-
-        for (long k = 0; k < limit; k++ ) {
-            obj.inc();
-	}
-    }
-
-}
+interface Intf {
+    public void inc();
+    public long getNum();
+    public void reset();
+}
+
+class IntfImpl implements Intf {
+
+    private long num;
+
+    public IntfImpl() { num = 0; }
+    public void inc() { num++; }
+    public long getNum() { return num; }
+    public void reset() { num = 0; }
+}
+
+public class test2012 {
+    
+    static final long limit = 10000000;
+
+    static Intf obj = new IntfImpl();
+
+    public static void main(String[] args) {
+        test2012 testObject = new test2012();
+
+        long before = 0, after = 0;
+	long best = 0;
+
+        for (int i = 0; i < 10; i++) {    
+            obj.reset();
+
+            before = System.currentTimeMillis();
+            testObject.run();
+            after = System.currentTimeMillis();
+            
+            long current = obj.getNum() / (((after - before)==0) ? 1 : (after - before));
+            System.out.println("Current score: " + current);
+            if (current > best) best = current;
+        }
+        System.out.println("Calls per millisecond: " + best);
+    }
+
+    public void run() {
+
+        for (long k = 0; k < limit; k++ ) {
+            obj.inc();
+	}
+    }
+
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2012/test2012.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java Thu Oct 25 03:07:43 2007
@@ -1,51 +1,51 @@
-import java.util.*;
-
-/**
- * Microbenchmark on  64bit multiplications, division and remainder.
- */
-public class test_longmuldiv_speed {
-    public static void main(String[] args) {
-        //
-        // warm-up - force the method to be recompiled
-        //
-        System.out.println("Warming up ...");
-        for (int i=0; i<20000; i++) {
-            test(false);
-        }
-        //
-        // The real measure
-        //
-    System.out.println("Measuring ...");
-        long startTime = System.currentTimeMillis();
-        test(true);
-        long endTime = System.currentTimeMillis();
-        //
-        //
-        long spentTime = endTime - startTime;
-        System.out.println("... done.");
-        System.out.println("The test took: "+spentTime+"ms");
-    }
-
-    static void test(boolean do_test) {
-        int problem_size = do_test ? 10000000 : 5;
-        int array_size = 300000;
-        long[] array = new long[array_size];
-        Random rndValue = new Random(0);
-
-        for (int i=0; i<problem_size; i++) {
-            int index = i % array.length;
-            long v1 = rndValue.nextLong();
-            long v2 = rndValue.nextLong();
-            int what = (rndValue.nextInt() % 3);
-            if (what == 0) {
-                array[index] = v1*v2;
-            }
-            else if (what == 1) {
-                array[index] = v1/v2;
-            }
-            else {
-                array[index] = v1%v2;
-            }
-        }
-    }
+import java.util.*;
+
+/**
+ * Microbenchmark on  64bit multiplications, division and remainder.
+ */
+public class test_longmuldiv_speed {
+    public static void main(String[] args) {
+        //
+        // warm-up - force the method to be recompiled
+        //
+        System.out.println("Warming up ...");
+        for (int i=0; i<20000; i++) {
+            test(false);
+        }
+        //
+        // The real measure
+        //
+    System.out.println("Measuring ...");
+        long startTime = System.currentTimeMillis();
+        test(true);
+        long endTime = System.currentTimeMillis();
+        //
+        //
+        long spentTime = endTime - startTime;
+        System.out.println("... done.");
+        System.out.println("The test took: "+spentTime+"ms");
+    }
+
+    static void test(boolean do_test) {
+        int problem_size = do_test ? 10000000 : 5;
+        int array_size = 300000;
+        long[] array = new long[array_size];
+        Random rndValue = new Random(0);
+
+        for (int i=0; i<problem_size; i++) {
+            int index = i % array.length;
+            long v1 = rndValue.nextLong();
+            long v2 = rndValue.nextLong();
+            int what = (rndValue.nextInt() % 3);
+            if (what == 0) {
+                array[index] = v1*v2;
+            }
+            else if (what == 1) {
+                array[index] = v1/v2;
+            }
+            else {
+                array[index] = v1%v2;
+            }
+        }
+    }
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2223/test_longmuldiv_speed.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2247/ArraycopyTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2247/ArraycopyTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java Thu Oct 25 03:07:43 2007
@@ -1,41 +1,41 @@
-import java.util.*;
-
-/**
- * Microbenchmark for float & integer computations.
- */
-public class test_f2i_speed {
-    public static void main(String[] args) {
-        //
-        // warm-up - force the method to be recompiled
-        //
-	    System.out.println("Warming up ...");
-        for (int i=0; i<20000; i++) {
-            test(false);
-        }
-        //
-        // The real measure
-        //
-	System.out.println("Measuring ...");
-        long startTime = System.currentTimeMillis();
-        test(true);
-        long endTime = System.currentTimeMillis();
-        //
-        //
-        long spentTime = endTime - startTime;
-	    System.out.println("... done.");
-        System.out.println("The test took: "+spentTime+"ms");
-    }
-
-    static void test(boolean do_test) {
-        int problem_size = do_test ? 10000000 : 5;
-        int array_size = 300000;
-        int[] array = new int[array_size];
-        Random rndValue = new Random(0);
-
-        for (int i=0; i<problem_size; i++) {
-            int index = i % array.length;
-            float value = rndValue.nextFloat();
-            array[index] = (int)value;
-        }
-    }
+import java.util.*;
+
+/**
+ * Microbenchmark for float & integer computations.
+ */
+public class test_f2i_speed {
+    public static void main(String[] args) {
+        //
+        // warm-up - force the method to be recompiled
+        //
+	    System.out.println("Warming up ...");
+        for (int i=0; i<20000; i++) {
+            test(false);
+        }
+        //
+        // The real measure
+        //
+	System.out.println("Measuring ...");
+        long startTime = System.currentTimeMillis();
+        test(true);
+        long endTime = System.currentTimeMillis();
+        //
+        //
+        long spentTime = endTime - startTime;
+	    System.out.println("... done.");
+        System.out.println("The test took: "+spentTime+"ms");
+    }
+
+    static void test(boolean do_test) {
+        int problem_size = do_test ? 10000000 : 5;
+        int array_size = 300000;
+        int[] array = new int[array_size];
+        Random rndValue = new Random(0);
+
+        for (int i=0; i<problem_size; i++) {
+            int index = i % array.length;
+            float value = rndValue.nextFloat();
+            array[index] = (int)value;
+        }
+    }
 }

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2345/test_f2i_speed.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java Thu Oct 25 03:07:43 2007
@@ -1,41 +1,41 @@
-import java.security.Security;
-
-/**
-recursive call of run() checks for security permissions
-
-to run it, issue the recursion depth list via command-line parameters like this:
-java SecurityPerfTest 50 100 150 300 350 400 450 500 
-
-on Jrockit/ia32 the time spent for each step depends linearly on the number of
-iterations:
-50 107 // this line should be ignored
-100 1
-150 1
-300 3
-350 5
-400 6
-450 7
-500 9
-*/
-public class SecurityPerfTest {
-    public static void main(String[] args) {
-        System.setSecurityManager(new SecurityManager());
-        for (int i = 0; i < args.length; i++ ) {
-            long start_time = System.currentTimeMillis();
-            int amount = Integer.parseInt(args[i]);
-            run(amount);
-            long total_time = System.currentTimeMillis() - start_time;
-            System.out.println(amount + " " + total_time);
-        }
-   }
-
-public static void run(int count) {
-       if ( count < 0 ) {
-           return;
-       }
-
-//System.out.println("Runner: " + count);
-       System.getProperty("os.name");
-       run(count - 1);
-   }
-}
+import java.security.Security;
+
+/**
+recursive call of run() checks for security permissions
+
+to run it, issue the recursion depth list via command-line parameters like this:
+java SecurityPerfTest 50 100 150 300 350 400 450 500 
+
+on Jrockit/ia32 the time spent for each step depends linearly on the number of
+iterations:
+50 107 // this line should be ignored
+100 1
+150 1
+300 3
+350 5
+400 6
+450 7
+500 9
+*/
+public class SecurityPerfTest {
+    public static void main(String[] args) {
+        System.setSecurityManager(new SecurityManager());
+        for (int i = 0; i < args.length; i++ ) {
+            long start_time = System.currentTimeMillis();
+            int amount = Integer.parseInt(args[i]);
+            run(amount);
+            long total_time = System.currentTimeMillis() - start_time;
+            System.out.println(amount + " " + total_time);
+        }
+   }
+
+public static void run(int count) {
+       if ( count < 0 ) {
+           return;
+       }
+
+//System.out.println("Runner: " + count);
+       System.getProperty("os.name");
+       run(count - 1);
+   }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2815/SecurityPerfTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java Thu Oct 25 03:07:43 2007
@@ -1,35 +1,35 @@
-/**
- * Microbenchmark on scalar replacement optimization (final method test).
- * To see the effect, tests need to be run with the following switches:
- * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=on
- * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=off
- */
-class Cls0 {
-    private long num;
-    public Cls0() { num = 0; }
-    public final void inc(Integer i) { num= i+1; }
-    public long getNum() { return num; }
-    public void reset() { num = 0; }
-}
-
-public class test0 {  
-    static final long limit = 100000000;
-    static Cls0 obj = new Cls0();
-
-    public static void main(String[] args) {
-        long before = 0, after = 0;
-        for (int i = 0; i < 5; i++) {    
-            obj.reset();
-            before = System.currentTimeMillis();
-            for (long k = 0; k < limit; k++ ) {
-                dofc(k);
-            }
-            after = System.currentTimeMillis();
-            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
-        }
-    }
-    static void dofc(long i) {
-        Integer i1 = new Integer((int)i);
-        obj.inc(i1);
-    }
-}
+/**
+ * Microbenchmark on scalar replacement optimization (final method test).
+ * To see the effect, tests need to be run with the following switches:
+ * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=on
+ * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=off
+ */
+class Cls0 {
+    private long num;
+    public Cls0() { num = 0; }
+    public final void inc(Integer i) { num= i+1; }
+    public long getNum() { return num; }
+    public void reset() { num = 0; }
+}
+
+public class test0 {  
+    static final long limit = 100000000;
+    static Cls0 obj = new Cls0();
+
+    public static void main(String[] args) {
+        long before = 0, after = 0;
+        for (int i = 0; i < 5; i++) {    
+            obj.reset();
+            before = System.currentTimeMillis();
+            for (long k = 0; k < limit; k++ ) {
+                dofc(k);
+            }
+            after = System.currentTimeMillis();
+            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
+        }
+    }
+    static void dofc(long i) {
+        Integer i1 = new Integer((int)i);
+        obj.inc(i1);
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test0.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java Thu Oct 25 03:07:43 2007
@@ -1,36 +1,36 @@
-/**
- * Microbenchmark on scalar replacement optimization (virtual method test).
- * To see the effect, tests need to be run with the following switches:
- * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=on
- * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=off
- */
-
-class Cls1 { 
-    private long num;
-    public Cls1() { num = 0; }
-    public void inc(Integer i) { num= i+1; }
-    public long getNum() { return num; }
-    public void reset() { num = 0; }
-}
-
-public class test1 {
-    static final long limit = 100000000;
-    static Cls1 obj = new Cls1();
-
-    public static void main(String[] args) {
-        long before = 0, after = 0;
-        for (int i = 0; i < 5; i++) {    
-            obj.reset();
-            before = System.currentTimeMillis();
-            for (long k = 0; k < limit; k++ ) {
-                dovc(k);
-            }
-            after = System.currentTimeMillis();
-            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
-        }
-    }  
-    static void dovc(long i) {
-        Integer i1 = new Integer((int)i);
-        obj.inc(i1);
-    }
-}
+/**
+ * Microbenchmark on scalar replacement optimization (virtual method test).
+ * To see the effect, tests need to be run with the following switches:
+ * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=on
+ * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=off
+ */
+
+class Cls1 { 
+    private long num;
+    public Cls1() { num = 0; }
+    public void inc(Integer i) { num= i+1; }
+    public long getNum() { return num; }
+    public void reset() { num = 0; }
+}
+
+public class test1 {
+    static final long limit = 100000000;
+    static Cls1 obj = new Cls1();
+
+    public static void main(String[] args) {
+        long before = 0, after = 0;
+        for (int i = 0; i < 5; i++) {    
+            obj.reset();
+            before = System.currentTimeMillis();
+            for (long k = 0; k < limit; k++ ) {
+                dovc(k);
+            }
+            after = System.currentTimeMillis();
+            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
+        }
+    }  
+    static void dovc(long i) {
+        Integer i1 = new Integer((int)i);
+        obj.inc(i1);
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test1.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java Thu Oct 25 03:07:43 2007
@@ -1,42 +1,42 @@
-/**
- * Microbenchmark on scalar replacement optimization (interface method test).
- * To see the effect, tests need to be run with the following switches:
- * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=on
- * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=off
- */
-
-interface Intf2 {
-    public void inc(Integer i) ;
-    public long getNum();
-    public void reset();
-}
-
-class Cls2 implements Intf2 {
-    private long num;
-    public Cls2() { num = 0; }
-    public void inc(Integer i) { num= i+1; }
-    public long getNum() { return num; }
-    public void reset() { num = 0; }
-}
-
-public class test2 {  
-    static final long limit = 100000000;
-    static Intf2 obj = new Cls2();
-
-    public static void main(String[] args) {
-        long before = 0, after = 0;
-        for (int i = 0; i < 5; i++) {    
-            obj.reset();
-            before = System.currentTimeMillis();
-            for (long k = 0; k < limit; k++ ) {
-                doic(k);
-            }
-            after = System.currentTimeMillis();
-            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
-        }
-    }
-    static void doic(long i) {
-        Integer i1 = new Integer((int)i);
-        obj.inc(i1);
-    }
-}
+/**
+ * Microbenchmark on scalar replacement optimization (interface method test).
+ * To see the effect, tests need to be run with the following switches:
+ * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=on
+ * -Xem:server -XX:jit.SD2_OPT.arg.optimizer.escape=off
+ */
+
+interface Intf2 {
+    public void inc(Integer i) ;
+    public long getNum();
+    public void reset();
+}
+
+class Cls2 implements Intf2 {
+    private long num;
+    public Cls2() { num = 0; }
+    public void inc(Integer i) { num= i+1; }
+    public long getNum() { return num; }
+    public void reset() { num = 0; }
+}
+
+public class test2 {  
+    static final long limit = 100000000;
+    static Intf2 obj = new Cls2();
+
+    public static void main(String[] args) {
+        long before = 0, after = 0;
+        for (int i = 0; i < 5; i++) {    
+            obj.reset();
+            before = System.currentTimeMillis();
+            for (long k = 0; k < limit; k++ ) {
+                doic(k);
+            }
+            after = System.currentTimeMillis();
+            System.out.println("Calls per millisecond: " + (obj.getNum() / (after - before)));
+        }
+    }
+    static void doic(long i) {
+        Integer i1 = new Integer((int)i);
+        obj.inc(i1);
+    }
+}

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-2874/test2.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java Thu Oct 25 03:07:43 2007
@@ -1,62 +1,62 @@
-import java.util.*;
-import java.io.*;
-
-class ArrayFillPerf
-{
-
-    int     rows;
-    int     cols;
-    char    screenBuf[][];
-    
-    public tp() {
-        int x, y;
-        rows = 24;
-        cols = 80;
-        screenBuf = new char[rows][];
-        for (y = 0; y < rows; y++) {
-            screenBuf[y] = new char[cols];
-            for (x = 0; x < cols; x++) {
-                screenBuf[y][x] = 'r';
-            }
-            ;
-        }
-        ;
-    }
-    
-    public void foo() {
-        int x, y;
-        for (y = 0; y < rows; y++) {
-            for (x = 0; x < cols; x++) {
-                screenBuf[y][x] = ' ';
-            }
-            ;
-        }
-        ;
-    }
-
-
-
-	public static void main(String args[])
-	{
-        tp t = new tp();
-        for (int i = 0; i < 500000; i++) {
-    	    t.foo();
-        }
-        
-        try {
-            Thread.sleep(1000);
-        } catch (Exception e) {};
-        
-        long t0 = System.currentTimeMillis();
-        
-        t = new tp();
-        for (int i = 0; i < 900000; i++) {
-    	    t.foo();
-        }
-        
-        System.out.println("time:"+(System.currentTimeMillis() - t0));
-
-        System.out.println("PASSED!");
-    }
-}
-
+import java.util.*;
+import java.io.*;
+
+class ArrayFillPerf
+{
+
+    int     rows;
+    int     cols;
+    char    screenBuf[][];
+    
+    public tp() {
+        int x, y;
+        rows = 24;
+        cols = 80;
+        screenBuf = new char[rows][];
+        for (y = 0; y < rows; y++) {
+            screenBuf[y] = new char[cols];
+            for (x = 0; x < cols; x++) {
+                screenBuf[y][x] = 'r';
+            }
+            ;
+        }
+        ;
+    }
+    
+    public void foo() {
+        int x, y;
+        for (y = 0; y < rows; y++) {
+            for (x = 0; x < cols; x++) {
+                screenBuf[y][x] = ' ';
+            }
+            ;
+        }
+        ;
+    }
+
+
+
+	public static void main(String args[])
+	{
+        tp t = new tp();
+        for (int i = 0; i < 500000; i++) {
+    	    t.foo();
+        }
+        
+        try {
+            Thread.sleep(1000);
+        } catch (Exception e) {};
+        
+        long t0 = System.currentTimeMillis();
+        
+        t = new tp();
+        for (int i = 0; i < 900000; i++) {
+    	    t.foo();
+        }
+        
+        System.out.println("time:"+(System.currentTimeMillis() - t0));
+
+        System.out.println("PASSED!");
+    }
+}
+

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3243/ArrayFillPerf.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/abstractCall/test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/abstractCall/test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/directCall/test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/directCall/test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/interfaceCall/test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/interfaceCall/test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/virtualCall/test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/virtualCall/test.java
            ('svn:eol-stype' removed)

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/virtualIndirectCall/test.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: harmony/enhanced/drlvm/trunk/src/test/microbenchmark/harmony-3630/virtualIndirectCall/test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1578/NaNTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1578/NaNTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1578/NaNTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1578/NaNTest.java Thu Oct 25 03:07:43 2007
@@ -1,22 +1,22 @@
-package org.apache.harmony.drlvm.tests.regression.H1578;
-
-import junit.framework.TestCase;
-
-public class NaNTest extends TestCase {
-    
-    public void testDcmp() throws Exception {
-        assertEquals(1, dcmp1.test());
-    }
-    
-    public void testFcmp() throws Exception {
-        assertEquals(-1, fcmp1.test());
-    }
-    
-    public void testFloatNaN() {
-        assertTrue(Float.isNaN(Float.NaN));
-    }
-    
-    public void testDoubleNaN() {
-        assertTrue(Double.isNaN(Double.NaN));
-    }
+package org.apache.harmony.drlvm.tests.regression.H1578;
+
+import junit.framework.TestCase;
+
+public class NaNTest extends TestCase {
+    
+    public void testDcmp() throws Exception {
+        assertEquals(1, dcmp1.test());
+    }
+    
+    public void testFcmp() throws Exception {
+        assertEquals(-1, fcmp1.test());
+    }
+    
+    public void testFloatNaN() {
+        assertTrue(Float.isNaN(Float.NaN));
+    }
+    
+    public void testDoubleNaN() {
+        assertTrue(Double.isNaN(Double.NaN));
+    }
 }

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1578/NaNTest.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1578/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1748/IntfAccessTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1748/IntfAccessTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1748/IntfAccessTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1748/IntfAccessTest.java Thu Oct 25 03:07:43 2007
@@ -1,23 +1,23 @@
-package org.apache.harmony.drlvm.tests.regression.h1748;
-
-import junit.framework.TestCase;
-
-public class IntfAccessTest extends TestCase{
-
-    public void test() {
-		try {
-		 	Intf i = new BadIntfImpl();
-			i.test();
-			fail("Test failed, IllegalAccessError is not thrown");
-		} catch (IllegalAccessError ok) {
-		 	System.out.println("Test passed");
-			ok.printStackTrace();
-		}
-    }
-}
-
-
-interface Intf {
-
-	void test();
-}
+package org.apache.harmony.drlvm.tests.regression.h1748;
+
+import junit.framework.TestCase;
+
+public class IntfAccessTest extends TestCase{
+
+    public void test() {
+		try {
+		 	Intf i = new BadIntfImpl();
+			i.test();
+			fail("Test failed, IllegalAccessError is not thrown");
+		} catch (IllegalAccessError ok) {
+		 	System.out.println("Test passed");
+			ok.printStackTrace();
+		}
+    }
+}
+
+
+interface Intf {
+
+	void test();
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1748/IntfAccessTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1748/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1748/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1748/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1748/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,9 +1,9 @@
-<project name="RUN HARMONY-1748 Regression Test">
-    <target name="run-test">
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h1748.IntfAccessTest"
-             vmarg="-Xem:opt">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-1748 Regression Test">
+    <target name="run-test">
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h1748.IntfAccessTest"
+             vmarg="-Xem:opt">
+        </run-junit-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1748/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1788/abcdTest.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1788/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedHandlerTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedHandlerTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedHandlerTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedHandlerTest.java Thu Oct 25 03:07:43 2007
@@ -1,29 +1,29 @@
-package org.apache.harmony.drlvm.tests.regression.h1802;
-
-import junit.framework.TestCase;
-
-public class UnresolvedHandlerTest extends TestCase {
-
-    public void test() throws Exception {
-       try {
-           X x = new X();
-           x.foo(false);
-           fail();
-       } catch (NoClassDefFoundError ok) {}
-    }
-
-    static class X {
-
-    public void foo(boolean a) {
-        try {
-            if (a) {
-                throw new MissedThrowable();
-            }
-        } catch (MissedThrowable e) {
-            System.out.println(e.getMessage());
-        }
-    }
-    }
-}
-
-class MissedThrowable extends Throwable {}
+package org.apache.harmony.drlvm.tests.regression.h1802;
+
+import junit.framework.TestCase;
+
+public class UnresolvedHandlerTest extends TestCase {
+
+    public void test() throws Exception {
+       try {
+           X x = new X();
+           x.foo(false);
+           fail();
+       } catch (NoClassDefFoundError ok) {}
+    }
+
+    static class X {
+
+    public void foo(boolean a) {
+        try {
+            if (a) {
+                throw new MissedThrowable();
+            }
+        } catch (MissedThrowable e) {
+            System.out.println(e.getMessage());
+        }
+    }
+    }
+}
+
+class MissedThrowable extends Throwable {}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedHandlerTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedParamTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedParamTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedParamTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedParamTest.java Thu Oct 25 03:07:43 2007
@@ -1,20 +1,20 @@
-package org.apache.harmony.drlvm.tests.regression.h1802;
-
-import junit.framework.TestCase;
-
-public class UnresolvedParamTest extends TestCase {
-
-    public void test() throws Exception {
-       try {
-           X.foo(null);
-       } catch (NoClassDefFoundError ok) {}
-    }
-    static class X {
-       static void foo(Missed m){
-           System.out.println(m);
-       }
-    }
-}
-
-class Missed {
-}
+package org.apache.harmony.drlvm.tests.regression.h1802;
+
+import junit.framework.TestCase;
+
+public class UnresolvedParamTest extends TestCase {
+
+    public void test() throws Exception {
+       try {
+           X.foo(null);
+       } catch (NoClassDefFoundError ok) {}
+    }
+    static class X {
+       static void foo(Missed m){
+           System.out.println(m);
+       }
+    }
+}
+
+class Missed {
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1802/UnresolvedParamTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1802/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1802/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1802/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1802/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,19 +1,19 @@
-<project name="RUN HARMONY-1802 Regression Test">
-    <target name="run-test">
-        <delete
-             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h1802/Missed.class"
-             verbose="true"/>
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h1802.UnresolvedParamTest"
-             vmarg="-Xem:opt">
-        </run-junit-test>
-        <delete
-             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h1802/MissedThrowable.class"
-             verbose="true"/>
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h1802.UnresolvedHandlerTest"
-             vmarg="-Xem:opt -Xverify:none">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-1802 Regression Test">
+    <target name="run-test">
+        <delete
+             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h1802/Missed.class"
+             verbose="true"/>
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h1802.UnresolvedParamTest"
+             vmarg="-Xem:opt">
+        </run-junit-test>
+        <delete
+             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h1802/MissedThrowable.class"
+             verbose="true"/>
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h1802.UnresolvedHandlerTest"
+             vmarg="-Xem:opt -Xverify:none">
+        </run-junit-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1802/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1840/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1852/DivIntTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1852/DivIntTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1852/DivIntTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1852/DivIntTest.java Thu Oct 25 03:07:43 2007
@@ -1,22 +1,22 @@
-package org.apache.harmony.drlvm.tests.regression.h1852;
-
-import junit.framework.TestCase;
-
-public class DivIntTest extends TestCase {
-
-    public void testIDIV() {
-        int i_min = Integer.MIN_VALUE;
-        int i_1 = -1;
-        int res = i_min / i_1;
-
-        assertEquals(Integer.MIN_VALUE, res);
-    }
-
-    public void testIREM() {
-        int i_min = Integer.MIN_VALUE;
-        int i_1 = -1;
-        int res = i_min % i_1;
-
-        assertEquals(0, res);
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.h1852;
+
+import junit.framework.TestCase;
+
+public class DivIntTest extends TestCase {
+
+    public void testIDIV() {
+        int i_min = Integer.MIN_VALUE;
+        int i_1 = -1;
+        int res = i_min / i_1;
+
+        assertEquals(Integer.MIN_VALUE, res);
+    }
+
+    public void testIREM() {
+        int i_min = Integer.MIN_VALUE;
+        int i_1 = -1;
+        int res = i_min % i_1;
+
+        assertEquals(0, res);
+    }
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1852/DivIntTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1852/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1852/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1852/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1852/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,9 +1,9 @@
-<project name="RUN HARMONY-1852 Regression Test">
-    <target name="run-test">
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h1852.DivIntTest"
-             vmarg="-Xem:jet">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-1852 Regression Test">
+    <target name="run-test">
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h1852.DivIntTest"
+             vmarg="-Xem:jet">
+        </run-junit-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1852/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1857/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1857/Test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1857/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1857/Test.java Thu Oct 25 03:07:43 2007
@@ -1,25 +1,25 @@
-package org.apache.harmony.drlvm.tests.regression.h1857;
-
-import junit.framework.TestCase;
-
-public class Test extends TestCase {
-
-    public void test() throws Exception {
-       try {
-            new TestClass();
-            fail("NoClassDefFoundError expected. Misconfiguration?");
-        } catch (NoClassDefFoundError ok) {}
-    }
-}
-
-class MissedThrowable extends Throwable {}
-
-class TestClass {
-    public void run() throws MissedThrowable {}
-
-    public void tryMe() {
-        try {
-            run();
-        } catch (MissedThrowable e) {}
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.h1857;
+
+import junit.framework.TestCase;
+
+public class Test extends TestCase {
+
+    public void test() throws Exception {
+       try {
+            new TestClass();
+            fail("NoClassDefFoundError expected. Misconfiguration?");
+        } catch (NoClassDefFoundError ok) {}
+    }
+}
+
+class MissedThrowable extends Throwable {}
+
+class TestClass {
+    public void run() throws MissedThrowable {}
+
+    public void tryMe() {
+        try {
+            run();
+        } catch (MissedThrowable e) {}
+    }
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1857/Test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1857/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1857/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1857/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1857/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,12 +1,12 @@
-<project name="RUN HARMONY-1857 Regression Test">
-    <target name="run-test">
-        <delete
-             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h1857/MissedThrowable.class"
-             verbose="true"/>
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h1857.Test"
-             vmarg="-Xem:opt">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-1857 Regression Test">
+    <target name="run-test">
+        <delete
+             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h1857/MissedThrowable.class"
+             verbose="true"/>
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h1857.Test"
+             vmarg="-Xem:opt">
+        </run-junit-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1857/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1861/Test.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1861/Test.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1861/Test.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1861/Test.java Thu Oct 25 03:07:43 2007
@@ -1,30 +1,30 @@
-package org.apache.harmony.drlvm.tests.regression.h1861;
-
-import junit.framework.TestCase;
-
-public class Test extends TestCase {
-    public static long [] arr = new long [] {6, 25, 50};
-    public static Test t = new Test();
-    public double d = 30d;
-
-
-    public void test() {
-        double d1 = t.d / arr[0];
-        assertEquals(5.0d, d1, 0);
-
-        d1 = t.d % arr[1];
-        assertEquals(5.0d, d1, 0);
-
-        d1= t.d - arr[1];
-        assertEquals(5.0d, d1, 0);
-
-        d1= t.d + arr[0];
-        assertEquals(36.0d, d1, 0);
-
-        boolean b = (t.d >= arr[0]);
-        assertTrue(b);
-
-        b = (t.d < arr[1]);
-        assertFalse(b);
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.h1861;
+
+import junit.framework.TestCase;
+
+public class Test extends TestCase {
+    public static long [] arr = new long [] {6, 25, 50};
+    public static Test t = new Test();
+    public double d = 30d;
+
+
+    public void test() {
+        double d1 = t.d / arr[0];
+        assertEquals(5.0d, d1, 0);
+
+        d1 = t.d % arr[1];
+        assertEquals(5.0d, d1, 0);
+
+        d1= t.d - arr[1];
+        assertEquals(5.0d, d1, 0);
+
+        d1= t.d + arr[0];
+        assertEquals(36.0d, d1, 0);
+
+        boolean b = (t.d >= arr[0]);
+        assertTrue(b);
+
+        b = (t.d < arr[1]);
+        assertFalse(b);
+    }
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1861/Test.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H1861/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H1861/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H1861/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H1861/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,9 +1,9 @@
-<project name="RUN HARMONY-1861 Regression Test">
-    <target name="run-test">
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h1861.Test"
-             vmarg="-Xem:jet">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-1861 Regression Test">
+    <target name="run-test">
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h1861.Test"
+             vmarg="-Xem:jet">
+        </run-junit-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H1861/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2057/SyncTest.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2057/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2086/Test.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2092/Test.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2092/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2113/Test.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2113/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H2196/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2196/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2196/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2196/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,9 +1,9 @@
-<project name="RUN HARMONY-2196 Regression Test">
-    <target name="run-test">
-        <run-pjava-test 
-             test="org.apache.harmony.drlvm.tests.regression.h2196.LoopExcTest"
-             vmarg="-Xem:server_static">
-        </run-pjava-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-2196 Regression Test">
+    <target name="run-test">
+        <run-pjava-test 
+             test="org.apache.harmony.drlvm.tests.regression.h2196.LoopExcTest"
+             vmarg="-Xem:server_static">
+        </run-pjava-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2196/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2259/H2259.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2259/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2261/RCETest.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2261/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H2644/BootDelegationTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2644/BootDelegationTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2644/BootDelegationTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2644/BootDelegationTest.java Thu Oct 25 03:07:43 2007
@@ -1,29 +1,29 @@
-package org.apache.harmony.drlvm.tests.regression.h2644;
-
-import junit.framework.TestCase;
-
-public class BootDelegationTest extends TestCase {
-
-    public void test1() throws Exception {
-        try {
-            System.out.println("SubClass=" + Class.forName("org.apache.harmony.drlvm.tests.regression.h2644.SubClass"));
-            fail("Misconfigured!");
-        } catch (ClassNotFoundException e) {
-            fail();
-        } catch (NoClassDefFoundError ok) {}
-    }
-
-    public void test2() throws Exception {
-        try {
-            System.out.println("SubClass=" + Class.forName("org.apache.harmony.drlvm.tests.regression.h2644.SubClass", true, null));
-            fail("Misconfigured!");
-        } catch (ClassNotFoundException e) {
-            fail();
-        } catch (NoClassDefFoundError ok) {}
-    }
-}
-
-class SuperClass {}
-class SubClass extends SuperClass {}
-
-
+package org.apache.harmony.drlvm.tests.regression.h2644;
+
+import junit.framework.TestCase;
+
+public class BootDelegationTest extends TestCase {
+
+    public void test1() throws Exception {
+        try {
+            System.out.println("SubClass=" + Class.forName("org.apache.harmony.drlvm.tests.regression.h2644.SubClass"));
+            fail("Misconfigured!");
+        } catch (ClassNotFoundException e) {
+            fail();
+        } catch (NoClassDefFoundError ok) {}
+    }
+
+    public void test2() throws Exception {
+        try {
+            System.out.println("SubClass=" + Class.forName("org.apache.harmony.drlvm.tests.regression.h2644.SubClass", true, null));
+            fail("Misconfigured!");
+        } catch (ClassNotFoundException e) {
+            fail();
+        } catch (NoClassDefFoundError ok) {}
+    }
+}
+
+class SuperClass {}
+class SubClass extends SuperClass {}
+
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2644/BootDelegationTest.java
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H2644/run.test.xml
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2644/run.test.xml?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2644/run.test.xml (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2644/run.test.xml Thu Oct 25 03:07:43 2007
@@ -1,12 +1,12 @@
-<project name="RUN HARMONY-2644 Regression Test">
-    <target name="run-test">
-        <delete
-             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h2644/SuperClass.class"
-             verbose="true"/>
-        <run-junit-test 
-             test="org.apache.harmony.drlvm.tests.regression.h2644.BootDelegationTest"
-             vmarg="-Xbootclasspath/a:${reg.test.class.path}${path.separator}${junit.jar}">
-        </run-junit-test>
-    </target>
-</project>
-
+<project name="RUN HARMONY-2644 Regression Test">
+    <target name="run-test">
+        <delete
+             file="${reg.test.class.path}/org/apache/harmony/drlvm/tests/regression/h2644/SuperClass.class"
+             verbose="true"/>
+        <run-junit-test 
+             test="org.apache.harmony.drlvm.tests.regression.h2644.BootDelegationTest"
+             vmarg="-Xbootclasspath/a:${reg.test.class.path}${path.separator}${junit.jar}">
+        </run-junit-test>
+    </target>
+</project>
+

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2644/run.test.xml
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2773/InfinityTest.java
            ('svn:eol-stype' removed)

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2773/run.test.xml
            ('svn:eol-stype' removed)

Modified: harmony/enhanced/drlvm/trunk/src/test/regression/H2846/NoVerifyTest.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/src/test/regression/H2846/NoVerifyTest.java?rev=588187&r1=588186&r2=588187&view=diff
==============================================================================
--- harmony/enhanced/drlvm/trunk/src/test/regression/H2846/NoVerifyTest.java (original)
+++ harmony/enhanced/drlvm/trunk/src/test/regression/H2846/NoVerifyTest.java Thu Oct 25 03:07:43 2007
@@ -1,15 +1,15 @@
-package org.apache.harmony.drlvm.tests.regression.h2846;
-
-import junit.framework.TestCase;
-
-public class NoVerifyTest extends TestCase {
-
-    public void test() throws Exception {
-        for (int i = 0; i < 3; i++) {
-            try {
-                Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h2846.NoVerify");  
-                fail();
-            } catch (VerifyError ok) {}
-        }
-    }
-}
+package org.apache.harmony.drlvm.tests.regression.h2846;
+
+import junit.framework.TestCase;
+
+public class NoVerifyTest extends TestCase {
+
+    public void test() throws Exception {
+        for (int i = 0; i < 3; i++) {
+            try {
+                Class cl = Class.forName("org.apache.harmony.drlvm.tests.regression.h2846.NoVerify");  
+                fail();
+            } catch (VerifyError ok) {}
+        }
+    }
+}

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

Propchange: harmony/enhanced/drlvm/trunk/src/test/regression/H2846/NoVerifyTest.java
            ('svn:eol-stype' removed)



Mime
View raw message