Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4031

type system initialization of built-in arrays has wrong supertype

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.6.0SDK
    • 2.7.0SDK
    • Core Java Framework
    • None

    Description

      While working Json serialization, I noticed an unexpected listing of subtype information which was eventually traced to the built-in array types having a wrong supertype. This is due to a bad initialization ordering - the part which sets up the supertype for the built-in array types was depending on some initialization which hadn't happened yet.

      Fix by moving the initialization done later into the main type system setup code. I verified that via adding a test case to TypeSystemTest that this is a very old error - it existed in the code back in 2008 while still in the incubator - in 2.2.1-incubating release.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: