You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Petrenko (JIRA)" <ji...@apache.org> on 2007/04/24 10:07:16 UTC

[jira] Commented: (HARMONY-3736) [classlib][luni] provide appropriate values for non-standard impl-specifc properties

    [ https://issues.apache.org/jira/browse/HARMONY-3736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12491173 ] 

Alexey Petrenko commented on HARMONY-3736:
------------------------------------------

Unfortunately IBM VME fails with your patch while starting unit tests :(
Here is error message:

run-tests:
     [echo] Running LUNI JUnit Tests
    [mkdir] Created dir: C:\Users\cap\harmony\working_classlib\build\test_report
    [junit] <error: unable to load hyluni (Incompatible JNI version (not 1.1, 1.2 or 1.4))>
    [junit] JVMJ9VM015W Initialization error for library jclclear_23(14): JVMJ9VM009E J9VMDllMain failed
    [junit] HMYEXEL062E Internal VM error: Failed to create Java VM
    [junit] FAILED to invoke JVM.
    [junit] java.io.FileNotFoundException: C:\Users\cap\harmony\working_classlib\modules\luni\junitvmwatcher2005985557.properties: The system cannot find the file specified
    [junit] 	at jrockit.io.FileNativeIO.open0(Ljava.lang.String;I)I(Native Method)
    [junit] 	at jrockit.io.FileNativeIO.open(Ljava.lang.String;I)Ljava.io.FileDescriptor;(Unknown Source)
    [junit] 	at java.io.FileInputStream.<init>(Ljava.lang.String;)V(Unknown Source)
    [junit] 	at java.io.FileInputStream.<init>(Ljava.io.File;)V(Unknown Source)
    [junit] 	at java.io.FileReader.<init>(FileReader.java:55)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitTask.java:1028)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:859)
    [junit] 	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java:782)
    [junit] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [junit] 	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    [junit] 	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
    [junit] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [junit] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [junit] 	at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
    [junit] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [junit] 	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    [junit] 	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
    [junit] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [junit] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [junit] 	at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
    [junit] 	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
    [junit] 	at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
    [junit] 	at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
    [junit] 	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
    [junit] 	at org.apache.tools.ant.Task.perform(Task.java:348)
    [junit] 	at org.apache.tools.ant.Target.execute(Target.java:357)
    [junit] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
    [junit] 	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
    [junit] 	at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
    [junit] 	at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
    [junit] 	at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
    [junit] 	at org.apache.tools.ant.taskdefs.SubAnt.execute(SubAnt.java:289)
    [junit] Running tests.api.java.util.WeakHashMapTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec


> [classlib][luni] provide appropriate values for non-standard impl-specifc properties
> ------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3736
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3736
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>            Reporter: Alexey Varlamov
>         Assigned To: Alexey Petrenko
>         Attachments: classlib.diff, drlvm.diff
>
>
> Currently classlib mostly relies on VMs providing non-standard properties which are needed for classlib implementation.
> These in particular include:
> "java.tmpdir", "user.language", "user.region", "file.encoding", "user.timezone", "java.util.prefs.PreferencesFactory", "javax.xml.transform.TransformerFactory"
> Some of them may be not needed at all, while others are required. Classlib should take care of them and set them if VM does not provide specific values.

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