Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-75

LineNumberTable toString method uses jdk 1.4 StringBuffer append(StringBuffer) method.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • Main
    • None
    • Operating System: All
      Platform: All

    Description

      I have noticed that the current BCEL trunk expects to build the BCEL package
      against jdk 1.3. The LineNumberTable class toString method uses the StringBuffer
      append(StringBuffer) method that been defined since jdk 1.4. Any builds using
      jdk 1.4 or greater will use of this method call.

      I have also noticed that the toString method adds a new line after printing 72
      characters but it append the '\n' character instead of what the "line.separator"
      property is defined as.

      I have a patch for this issue that I will add to this bug report.

      Attachments

        1. patch.txt
          0.8 kB
          Claudio Corsi

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            ccorsi@progress.com Claudio Corsi
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: