harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6613) [classlib][luni] ClassTest has error when run alone
Date Mon, 09 Aug 2010 10:41:16 GMT
[classlib][luni] ClassTest has error when run alone
---------------------------------------------------

                 Key: HARMONY-6613
                 URL: https://issues.apache.org/jira/browse/HARMONY-6613
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Mark Hindess


Running:

target/hdk/jdk/jre/bin/java -cp target/hdk/build/test/junit.jar:target/hdk/build/test/luni/luni_tests_api.jar:target/hdk/build/test/support.jar:target/hdk/build/test/luni/resources
\
  org.junit.runner.JUnitCore org.apache.harmony.luni.tests.java.lang.AbstractMethodErrorTest
\
  org.apache.harmony.luni.tests.java.lang.ClassTest

works but running just:

target/hdk/jdk/jre/bin/java -cp target/hdk/build/test/junit.jar:target/hdk/build/test/luni/luni_tests_api.jar:target/hdk/build/test/support.jar:target/hdk/build/test/luni/resources
\
    org.apache.harmony.luni.tests.java.lang.ClassTest

fails with:

  test_forNameLjava_lang_String(org.apache.harmony.luni.tests.java.lang.ClassTest)
java.lang.LinkageError: Illegal attempt to redefine class : org/bouncycastle/jce/provider/BouncyCastleProvider
        at java.lang.ClassLoader.defineClass0(ClassLoader.java)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:366)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:109)
        at java.net.URLClassLoader.access$3(URLClassLoader.java:1)
        at java.net.URLClassLoader$URLJarHandler.createClass(URLClassLoader.java:440)
        at java.net.URLClassLoader$URLJarHandler.findClass(URLClassLoader.java:371)
...


This means that running ClassTest with "ant -Dtest.case=...ClassTest" always has an error.

ClassTest passes on the RI when run alone.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message