harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Volosyuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-2100) [drlvm][interpreter] java.awt.color.ICC_ProfileRTest fails
Date Mon, 13 Nov 2006 13:08:39 GMT
    [ http://issues.apache.org/jira/browse/HARMONY-2100?page=comments#action_12449358 ] 
            
Ivan Volosyuk commented on HARMONY-2100:
----------------------------------------

The problem is in NativeCMM.c

Function gl_cmsErrorHandler() stores string pointer allocated on stack into static variable.
As interpreter uses more stack for method execution this place gets overwritten before it
is used. Moreover, the code is not thread-safe.

> [drlvm][interpreter] java.awt.color.ICC_ProfileRTest fails
> ----------------------------------------------------------
>
>                 Key: HARMONY-2100
>                 URL: http://issues.apache.org/jira/browse/HARMONY-2100
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SUSE 9 
> debug DRLVM
>            Reporter: Alexey Varlamov
>            Priority: Minor
>
> The java.awt.color.ICC_ProfileRTest passes on JITs and fails on interpreter:
> junit.framework.AssertionFailedError: IllegalArgumentExceptione expected 
> at java.awt.color.ICC_ProfileRTest.testGetInstance(ICC_ProfileRTest.java:38) 
> at java.lang.reflect.VMReflection.invokeMethod(VMReflection.java)
> To reproduce:
> edit $vm/build/lnx_ia32_gcc_debug/deploy/jre/bin/default/harmonyvm.properties, add "-Xint"
line to it;
> cd $classlib
> ant -Dtest.jre.home=$vm/build/lnx_ia32_gcc_debug/deploy/jre test -Dtest.case=java.awt.color.ICC_ProfileRTest
-Dbuild.module=awt

-- 
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