You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Vladimir Ivanov (JIRA)" <ji...@apache.org> on 2007/07/06 10:04:04 UTC
[jira] Created: (HARMONY-4361) [buildtest][func] test
functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml
is invalid
[buildtest][func] test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid
-------------------------------------------------------------------------------------------------------------------------------------------------
Key: HARMONY-4361
URL: https://issues.apache.org/jira/browse/HARMONY-4361
Project: Harmony
Issue Type: Bug
Components: build - test - ci
Reporter: Vladimir Ivanov
Priority: Minor
The test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid.
This test creates ThreadGroup, destroy it and trying to add new thread to the destroyed group.
So, test should expect IllegalThreadStateException or order of checks should be changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-4361) [buildtest][func] test
functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml
is invalid
Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Pavlenko reassigned HARMONY-4361:
----------------------------------------
Assignee: Andrey Pavlenko
> [buildtest][func] test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4361
> URL: https://issues.apache.org/jira/browse/HARMONY-4361
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Reporter: Vladimir Ivanov
> Assignee: Andrey Pavlenko
> Priority: Minor
> Attachments: H-4361.patch, H-4361.patch
>
>
> The test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid.
> This test creates ThreadGroup, destroy it and trying to add new thread to the destroyed group.
> So, test should expect IllegalThreadStateException or order of checks should be changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4361) [buildtest][func] test
functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml
is invalid
Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Berezhniuk updated HARMONY-4361:
-------------------------------------
Attachment: H-4361.patch
Suggested patch fixes the test to check desired functionality (see HARMONY-4766).
Exclude list was also modified: the test is still excluded but because of HARMONY-4766.
> [buildtest][func] test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4361
> URL: https://issues.apache.org/jira/browse/HARMONY-4361
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Reporter: Vladimir Ivanov
> Priority: Minor
> Attachments: H-4361.patch
>
>
> The test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid.
> This test creates ThreadGroup, destroy it and trying to add new thread to the destroyed group.
> So, test should expect IllegalThreadStateException or order of checks should be changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-4361) [buildtest][func] test
functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml
is invalid
Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12525434 ]
Ilya Berezhniuk commented on HARMONY-4361:
------------------------------------------
I've looked at the source of this test and have found that result calculation is absolutely incorrect. Strange meaningless construction 'results[xx] |= false' is used.
When I've corrected the places where the result is assigned, the test has failed. I'll continue investigation and will try to correct the test.
> [buildtest][func] test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4361
> URL: https://issues.apache.org/jira/browse/HARMONY-4361
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Reporter: Vladimir Ivanov
> Priority: Minor
>
> The test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid.
> This test creates ThreadGroup, destroy it and trying to add new thread to the destroyed group.
> So, test should expect IllegalThreadStateException or order of checks should be changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-4361) [buildtest][func] test
functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml
is invalid
Posted by "Ilya Berezhniuk (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ilya Berezhniuk updated HARMONY-4361:
-------------------------------------
Attachment: H-4361.patch
I've discovered that Sun VM behavior is correct (see HARMONY-4766).
So I've changed the test to match RI behavior - updated patch is in attachment.
> [buildtest][func] test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4361
> URL: https://issues.apache.org/jira/browse/HARMONY-4361
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Reporter: Vladimir Ivanov
> Priority: Minor
> Attachments: H-4361.patch, H-4361.patch
>
>
> The test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid.
> This test creates ThreadGroup, destroy it and trying to add new thread to the destroyed group.
> So, test should expect IllegalThreadStateException or order of checks should be changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-4361) [buildtest][func] test
functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml
is invalid
Posted by "Andrey Pavlenko (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-4361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrey Pavlenko resolved HARMONY-4361.
--------------------------------------
Resolution: Fixed
The patch has been applied.
> [buildtest][func] test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid
> -------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HARMONY-4361
> URL: https://issues.apache.org/jira/browse/HARMONY-4361
> Project: Harmony
> Issue Type: Bug
> Components: build - test - ci
> Reporter: Vladimir Ivanov
> Assignee: Andrey Pavlenko
> Priority: Minor
> Attachments: H-4361.patch, H-4361.patch
>
>
> The test functional/org/apache/harmony/test/func/api/java/lang/ThreadGroup/destroy/destroy10/destroy1010/destroy1010.xml is invalid.
> This test creates ThreadGroup, destroy it and trying to add new thread to the destroyed group.
> So, test should expect IllegalThreadStateException or order of checks should be changed.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.