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

BCEL does not compile with JDK 1.5.0-beta-b32c

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Cannot Reproduce
    • 5.1
    • 5.2
    • Main
    • None

    Description

      Hi there

      One got 2 compile error when compiling BCEL with the JDK 1.5.0-beta-b32c
      ----------
      1. ERROR in D:\Eclipse\M8
      \eclipse\workspace\com.pac.cdt.core\bcl\org\apache\bcel\classfile\Utility.java
      (at line 1352)
      private static class JavaWriter extends FilterWriter {
      ^^^^^^^^^^
      The return type is incompatible with Appendable.append(char), Writer.append
      (char)
      ----------
      2. ERROR in D:\Eclipse\M8
      \eclipse\workspace\com.pac.cdt.core\bcl\org\apache\bcel\classfile\Utility.java
      (at line 1352)
      private static class JavaWriter extends FilterWriter {
      ^^^^^^^^^^
      The return type is incompatible with Appendable.append(CharSequence),
      Writer.append(CharSequence)
      ----------
      2 problems (2 errors)

      C:\java -version
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32c)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32c, mixed mode)

      Regards

      Attachments

        1. bcel-5.1-ambiguity-fix.diff
          1.0 kB
          Kurt Huwig

        Activity

          People

            issues@commons.apache.org Apache Commons Developers
            francis.andre@easynet.fr Francis ANDRE
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: