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

Allow checking local and anonymous classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • TBD_Major
    • st2.2
    • tools
    • generic
    • generic

      The JCK uses signature test for checking class generated by the Java compiler. It would be good to allow checking local and anonymous classes, those which have "$" in it's names. Currently, it seems to be impossible because the SignatureTest.isPackageMember() method always returns false when a name of those classes is given. See PackageGroup.checkName() and PackageGroup.getPackageName() for details.

      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. The "anonymous_snegative" test 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:
              Imported:
              Indexed: