Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-6992083

APICheckMode started to allow supersetting API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • st2.2
    • st2.2
    • tools
    • b13
    • generic
    • generic

      If the SignatureTest.isAPICheckMode method returns true, the sigtest doesn't report about added API members. This differs from how it worked in 2.2 b03. See the changes made in the SignatureTest.trackMember method near the line starting:
          "if (!isSupersettingEnabled && !isAPICheckMode() ..."

      Since the JCK compiler signature test works in the APICheckMode, this makes the test less strict.

      This may be by design, but then the JCK compiler signature test needs a way to override this.
      The JCK has a mini test suite to self-verify the JCK compiler sigtest. It's located in the <jck7-master-workspace>/libs/general/unittests/compilersigtest . There is a readme file that describing how to use. This test suite fails due to this issue.

            ersh Mikhail Ershov (Inactive)
            agavrilosunw Alexey Gavrilov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: