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

SignatureTest in bin mode throws an exception if inner class is within param bounds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • st1.3
    • st1.3
    • tools
    • None
    • b03
    • sparc
    • solaris_9
    • Verified

      Signaturetest throws an exception while processing inner class (public or private) within the bounds in bin mode
      /**************************************/
      public class Inn {
              public class Inner {}
              public <T extends Inner> T met() {return null;}
      }
      /****************************************/
      SignatureTest report
      Tested version:
      Check mode: bin
      Constant checking: on

      Exception in thread "main" java.lang.IllegalArgumentException: Illegal group reference
              at java.util.regex.Matcher.appendReplacement(Matcher.java:706)
              at java.util.regex.Matcher.replaceFirst(Matcher.java:848)
              at com.sun.tdk.signaturetest.Erasurator.convert(Erasurator.java:70)
              at com.sun.tdk.signaturetest.Erasurator.processMember(Erasurator.java:163)
              at com.sun.tdk.signaturetest.Erasurator.processMembers(Erasurator.java:144)
              at com.sun.tdk.signaturetest.Erasurator.erasure(Erasurator.java:48)
              at com.sun.tdk.signaturetest.SignatureTest.check(SignatureTest.java:634)
              at com.sun.tdk.signaturetest.SignatureTest.run(SignatureTest.java:230)
              at com.sun.tdk.signaturetest.SignatureTest.main(SignatureTest.java:200)

            rmakarch Roman Makarchuk (Inactive)
            asokolovsunw Aleksandr Sokolov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: