harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4493) [drlvm][EUT] org.eclipse.jdt.core.tests.model.ClasspathTests.testEncoding cannot remove unicode dir
Date Thu, 19 Jul 2007 16:07:06 GMT

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

Vladimir Beliaev commented on HARMONY-4493:

I've reproduced this bug on Windows/x86 also - so you are welcome to debug it on windows.

Note that I run suite from the command line based on instrction on: http://wiki.apache.org/harmony/Eclipse_Unit_Tests_Pass_on_DRLVM
(it is EUT3.2 oriented but it is simple adaptable for EUT3.3). Namely:

1. unzip eclipse-Automated-Tests-3.3.zip, enter eclipse-testing, unzip eclipse-junit-tests-I20070625-1500.zip
2. finally unzip eclipse-SDK-3.3-win32.zip to this eclipse-testing saying "yes" for all overridings

3. execute the command like given in that instrction (the name of main JAR has changed, it
worth adding '-data workspace' to avoid blocking dialog). So the bat script may look like:

    @echo off
    set JAVA_HOME=c:\EUT\harmony-jdk-551077
    set PATH=%JAVA_HOME%\bin;%PATH%

    set CMD=%CMD% java
    set CMD=%CMD% -jar eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar
    set CMD=%CMD% -application org.eclipse.test.uitestapplication
    set CMD=%CMD% -dev bin
    set CMD=%CMD% -data workspace 
    set CMD=%CMD% formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,log.xml
    set CMD=%CMD% -testpluginname org.eclipse.jdt.core.tests.model
    set CMD=%CMD% -classname org.eclipse.jdt.core.tests.model.AllJavaModelTests

    echo %CMD%

Do not forget to cleanup .\workspace (remove it) & .\eclipse\configuration (remove org.*
stuff) directories.

Vladimir Beliaev

> [drlvm][EUT] org.eclipse.jdt.core.tests.model.ClasspathTests.testEncoding cannot remove
unicode dir
> ---------------------------------------------------------------------------------------------------
>                 Key: HARMONY-4493
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4493
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: Linux/ia32
>            Reporter: Ilya Berezhniuk
>            Priority: Minor
> Test org.eclipse.jdt.core.tests.model.ClasspathTests.testEncoding creates directory with
unicode name in its project directory. Then it removes project, it involves removing underlying
files and directories.
> When executing on DRLVM, it cannot remove unicode directory and therefore the whole project,
and then tries 60 times with 1 second delay. So test goes 1 minute, and all remaining tests
in ClasspathTests suite also execute 1 minute.
> Although debugging under Eclipse is now unstable on DRLVM/Linux (it often crashes with
SIGSEGV when using single stepping), I've got some results using breakpoints.
> Looks like the problem is somewhere in enumerating subdirectories of project dir "P".
Eclipse uses org.eclipse.core.internal.localstore.UnifiedTree to enumerate subitems in project
folder: accept(IUnifiedTreeVisitor, int) calls addNodeChildrenToQueue to fill queue with subitems.
But when queue is filled, it contains incorrect path to unicode directory. Directory is named
"src\u3400", but queue item for this directory contains path from 6 to 8 chars and named as
"srcXXXXX", where XXXXX can be various characters including space.
> I cannot determine a cause of this error certainly - so bug is now tagged as [drlvm].
I'll try to go forward and investigate bug deeper.

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

View raw message