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/14 07:43:29 UTC

[jira] Created: (HARMONY-869) [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file

[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
        Type: Bug

  Components: Classlib  
    Reporter: Vladimir Ivanov
 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


[jira] Closed: (HARMONY-869) [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-869?page=all ]

Nathan Beyer closed HARMONY-869.
--------------------------------


verified

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

        

[jira] Updated: (HARMONY-869) [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-869?page=all ]

Vladimir Ivanov updated HARMONY-869:
------------------------------------

    Attachment: DefaultPropertyHelper.patch

patch

> [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
>         Type: Bug

>   Components: Classlib
>     Reporter: Vladimir Ivanov
>  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


[jira] Assigned: (HARMONY-869) [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-869?page=all ]

Nathan Beyer reassigned HARMONY-869:
------------------------------------

    Assignee: Nathan Beyer

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

        

[jira] Resolved: (HARMONY-869) [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file

Posted by "Nathan Beyer (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HARMONY-869?page=all ]

Nathan Beyer resolved HARMONY-869.
----------------------------------

    Resolution: Fixed

Patch applied at r422304. Please verify it. 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

        

[jira] Commented: (HARMONY-869) [classlib][logging] run of logging test lead to remove the deploy\jdk\jre\lib\logging.properties file

Posted by "Vladimir Ivanov (JIRA)" <ji...@apache.org>.
    [ 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