You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Egor Pasko (JIRA)" <ji...@apache.org> on 2007/02/01 14:29:05 UTC

[jira] Created: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

[drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
------------------------------------------------------------------------------------------------

                 Key: HARMONY-3109
                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
             Project: Harmony
          Issue Type: Bug
          Components: DRLVM
         Environment: all
            Reporter: Egor Pasko


to reproduce:

$DRLVM --Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest

output:
........F..
Time: 4.505
There was 1 failure:
1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
        at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
        at java.lang.reflect.VMReflection.invokeMethod(Native Method)
        at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
        at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
        at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
        at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java)
        at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)

FAILURES!!!
Tests run: 10,  Failures: 1,  Errors: 0

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


[jira] Updated: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Egor Pasko updated HARMONY-3109:
--------------------------------

    Patch Info: [Patch Available]

> [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3109
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Egor Pasko
>         Attachments: DoubleTest.java, isFPConst-double-fixed.txt
>
>
> to reproduce:
> $DRLVM --Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest
> output:
> ........F..
> Time: 4.505
> There was 1 failure:
> 1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
>         at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
>         at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
>         at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0

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


[jira] Updated: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Egor Pasko updated HARMONY-3109:
--------------------------------

    Attachment: isFPConst-double-fixed.txt

"isFPConst-double-fixed.txt" <-- the fix to the problem (the bug appears from incorrect double constant handling in the "peephole" IA32 CG optimization)

the patch fixes the trivial copy-paste bug

> [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3109
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Egor Pasko
>         Attachments: DoubleTest.java, isFPConst-double-fixed.txt
>
>
> to reproduce:
> $DRLVM --Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest
> output:
> ........F..
> Time: 4.505
> There was 1 failure:
> 1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
>         at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
>         at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
>         at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0

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


[jira] Updated: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Egor Pasko updated HARMONY-3109:
--------------------------------

    Attachment: DoubleTest.java

DoubleTest.java is a small reproducer to this issue. To reproduce, comment out the "inline" action in the "opt.emconf" file and run with -Xem:opt

> [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3109
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Egor Pasko
>         Attachments: DoubleTest.java
>
>
> to reproduce:
> $DRLVM --Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest
> output:
> ........F..
> Time: 4.505
> There was 1 failure:
> 1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
>         at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
>         at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
>         at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0

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


[jira] Updated: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

Posted by "Egor Pasko (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Egor Pasko updated HARMONY-3109:
--------------------------------

    Description: 
to reproduce:

$DRLVM -Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest

output:
........F..
Time: 4.505
There was 1 failure:
1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
        at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
        at java.lang.reflect.VMReflection.invokeMethod(Native Method)
        at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
        at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
        at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
        at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java)
        at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)

FAILURES!!!
Tests run: 10,  Failures: 1,  Errors: 0

  was:
to reproduce:

$DRLVM --Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest

output:
........F..
Time: 4.505
There was 1 failure:
1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
        at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
        at java.lang.reflect.VMReflection.invokeMethod(Native Method)
        at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
        at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
        at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
        at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java)
        at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)

FAILURES!!!
Tests run: 10,  Failures: 1,  Errors: 0


> [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3109
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Egor Pasko
>         Attachments: DoubleTest.java, isFPConst-double-fixed.txt
>
>
> to reproduce:
> $DRLVM -Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest
> output:
> ........F..
> Time: 4.505
> There was 1 failure:
> 1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
>         at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
>         at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
>         at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0

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


[jira] Assigned: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov reassigned HARMONY-3109:
----------------------------------------

    Assignee: Alexey Varlamov

> [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3109
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Egor Pasko
>         Assigned To: Alexey Varlamov
>         Attachments: DoubleTest.java, isFPConst-double-fixed.txt
>
>
> to reproduce:
> $DRLVM -Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest
> output:
> ........F..
> Time: 4.505
> There was 1 failure:
> 1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
>         at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
>         at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
>         at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0

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


[jira] Closed: (HARMONY-3109) [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET

Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HARMONY-3109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Varlamov closed HARMONY-3109.
------------------------------------

    Resolution: Fixed

Applied at r502588, thanks!

> [drlvm][jit][opt] javax.swing.plaf.UIResourceTest fails with Jitrino.OPT, but passes on pure JET
> ------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3109
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3109
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: all
>            Reporter: Egor Pasko
>         Assigned To: Alexey Varlamov
>         Attachments: DoubleTest.java, isFPConst-double-fixed.txt
>
>
> to reproduce:
> $DRLVM -Xem:opt -Xbootclasspath/p:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/deploy/build/test/support.jar:$classlib/modules/swing/bin/test junit.textui.TestRunner javax.swing.plaf.UIResourceTest
> output:
> ........F..
> Time: 4.505
> There was 1 failure:
> 1) testDimensionUIResource(javax.swing.plaf.UIResourceTest)junit.framework.AssertionFailedError
>         at javax.swing.plaf.UIResourceTest.testDimensionUIResource(UIResourceTest.java:127)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
>         at javax.swing.BasicSwingTestCase.runBareSuper(BasicSwingTestCase.java:117)
>         at javax.swing.SwingTestCase$1.run(SwingTestCase.java)
>         at java.awt.event.InvocationEvent.runAndNotify(InvocationEvent.java)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:81)
>         at java.awt.EventQueueCore.dispatchEventImpl(EventQueueCore.java)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java)
>         at java.awt.EventDispatchThread.runModalLoop(EventDispatchThread.java)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:48)
> FAILURES!!!
> Tests run: 10,  Failures: 1,  Errors: 0

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