harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6298) LogManager breaks on subclassing
Date Thu, 06 Aug 2009 15:45:14 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12740116#action_12740116
] 

Sean Qiu commented on HARMONY-6298:
-----------------------------------

I do find a potential defect in this module.
I will investigate it and supply a fix as soon as possible.

> LogManager breaks on subclassing
> --------------------------------
>
>                 Key: HARMONY-6298
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6298
>             Project: Harmony
>          Issue Type: Bug
>          Components: Classlib
>         Environment: AIX, IBM's java6, glassfishv2
>            Reporter: Justin Lee
>            Assignee: Sean Qiu
>            Priority: Critical
>
> In LogManager.readConfiguration() after the config file is found, a call is made to the
private method readConfigurationImpl(InputStream) rather than the public readConfiguration(InputStream).
 In glassfishv2, our ServerLogManger overrides readConfiguration(InputStream) but it never
gets called on AIX under java6 because readConfiguration(InputStream) is skipped over in favor
of readConfigurationImpl().  This causes glassfishv2 to break catastrophically.  readConfiguration()
should call readConfiguration(InputStream) instead so that others may override behavior as
necessary.

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


Mime
View raw message