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

type system initialization of built-in arrays has wrong supertype

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6.0SDK
    • Fix Version/s: 2.7.0SDK
    • Component/s: Core Java Framework
    • Labels:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development