harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egor Pasko (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2261) [drlvm][jit][opt] java.awt.ScrollbarTest fails on Jitrino.OPT while passes on Jitrino.JET
Date Wed, 29 Nov 2006 09:55:25 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2261?page=comments#action_12454268 ] 
            
Egor Pasko commented on HARMONY-2261:
-------------------------------------

Alexei, Alexey,

1. HUT catches it, but only in OPT mode, which takes too long to make an alarm

2. my test is not ideal, and very sensitive to what optimizations run inside JIT
   and in which order, this behaviour would evolve, obviously. I do not believe
   the test will catch something in the future (unless the nearest future). A
   specially crafted "JIT regression test" would suit best. I am thinking
   of one to implement.

3. I did not try the existing "regression suite". Does it allow -Xem:opt for a
   single test?

> [drlvm][jit][opt] java.awt.ScrollbarTest fails on Jitrino.OPT while passes on Jitrino.JET
> -----------------------------------------------------------------------------------------
>
>                 Key: HARMONY-2261
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2261
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux SUSE9 gcc 3.3.3 / ia32
>            Reporter: Egor Pasko
>         Assigned To: Alexey Varlamov
>         Attachments: patch.diff, Test.java
>
>
> shell> $HARMONY -Xem:jet -Xbootclasspath/a:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/awt/bin/test:$classlib/deploy/build/test/support.jar
junit.textui.TestRunner java.awt.ScrollbarTest
> .............................
> Time: 0.266
> OK (29 tests)
> shell> $HARMONY -Xem:opt -Xbootclasspath/a:$classlib/depends/jars/junit_3.8.2/junit.jar:$classlib/modules/awt/bin/test:$classlib/deploy/build/test/support.jar
junit.textui.TestRunner java.awt.ScrollbarTest
> ..........F..F..............F...
> Time: 0.961
> There were 3 failures:
> 1) testSetMinimum(java.awt.ScrollbarTest)junit.framework.AssertionFailedError: expected:<-11>
but was:<-2147483648>
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:46)
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:66)
>         at java.awt.ScrollbarTest.testSetMinimum(ScrollbarTest.java:170)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 2) testSetMaximum(java.awt.ScrollbarTest)junit.framework.AssertionFailedError: expected:<10>
but was:<-2147483549>
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:47)
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:66)
>         at java.awt.ScrollbarTest.testSetMaximum(ScrollbarTest.java:197)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> 3) testSetValues(java.awt.ScrollbarTest)junit.framework.AssertionFailedError: expected:<-201>
but was:<-2147483648>
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:46)
>         at java.awt.ScrollbarTest.checkScrollbar(ScrollbarTest.java:66)
>         at java.awt.ScrollbarTest.testSetValues(ScrollbarTest.java:303)
>         at java.lang.reflect.VMReflection.invokeMethod(Native Method)
> FAILURES!!!
> Tests run: 29,  Failures: 3,  Errors: 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message