You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alex Herbert (Jira)" <ji...@apache.org> on 2022/10/27 11:32:00 UTC
[jira] [Updated] (BCEL-75) LineNumberTable toString method uses jdk 1.4 StringBuffer append(StringBuffer) method.
[ https://issues.apache.org/jira/browse/BCEL-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Herbert updated BCEL-75:
-----------------------------
Priority: (was: P2)
> LineNumberTable toString method uses jdk 1.4 StringBuffer append(StringBuffer) method.
> --------------------------------------------------------------------------------------
>
> Key: BCEL-75
> URL: https://issues.apache.org/jira/browse/BCEL-75
> Project: Commons BCEL
> Issue Type: Bug
> Components: Main
> Affects Versions: unspecified
> Environment: Operating System: All
> Platform: All
> Reporter: Claudio Corsi
> Assignee: Apache Commons Developers
> Attachments: patch.txt
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)