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 2006/07/17 05:16:15 UTC
[jira] Commented: (HARMONY-869) [classlib][logging] run of logging
test lead to remove the deploy\jdk\jre\lib\logging.properties file
[ http://issues.apache.org/jira/browse/HARMONY-869?page=comments#action_12421503 ]
Vladimir Ivanov commented on HARMONY-869:
-----------------------------------------
verified, thanks
> [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file
> -----------------------------------------------------------------------------------------------------
>
> Key: HARMONY-869
> URL: http://issues.apache.org/jira/browse/HARMONY-869
> Project: Harmony
> Issue Type: Bug
> Components: Classlib
> Reporter: Vladimir Ivanov
> Assigned To: Nathan Beyer
> Attachments: DefaultPropertyHelper.patch
>
>
> In the process of logging tests run the logging.properties file substituted by other file and both are deleted on the vm-exit.
> If the add string System.out.println("result of rename = " + bak.renameTo(file)); to the DefaultPropertyHelper.reset(File) it prints:
> =========
> ....
> [junit] Tests run: 40, Failures: 0, Errors: 0, Time elapsed: 0.13 sec
> [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.15 sec
> [junit] result of rename = true
> [junit] result of rename = false
> [junit] result of rename = false
> [junit] result of rename = false
> [junit] Tests FAILED
> ....
> =========
> because each test from FileHandlerTest.java, LogManagerTest.java, MemoryHandlerTest.java and SocketHandlerTest.java set up proper ShutdownHook to delete property file and rename '*.bak' file to 'logging.properties'.
--
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