Uploaded image for project: 'Harmony'
  1. Harmony
  2. HARMONY-6298

LogManager breaks on subclassing

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • Classlib
    • None
    • AIX, IBM's java6, glassfishv2

    Description

      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.

      Attachments

        1. HARMONY-6298.diff
          2 kB
          Sean Qiu

        Activity

          People

            qiuxiaox Sean Qiu
            cheeser Justin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: