Opened 4 years ago

Closed 2 months ago

#326 closed defect (wontfix)

abcl cannot be compiled with Java5

Reported by: mevenson Owned by: unassigned
Priority: blocker Milestone: 1.6.0
Component: java Version: 1.3.0-dev
Keywords: Cc:
Parent Tickets:

Description

Dunno how long we have been failing to compile under JDK5, but checking with jdk1.5.0_22 produces the following errors.

It seems that we run ok with Java5: the Java classes can't be successfully compiled.

                                 ^
/home/evenson/work/abcl.java5/src/org/armedbear/lisp/StringFunctions.java:421: incompatible types
found   : java.lang.Object&java.io.Serializable&org.armedbear.lisp.LispObject
required: org.armedbear.lisp.LispObject
            return (retVal >= 0) ? Fixnum.getInstance(retVal) : NIL;
                                 ^
/home/evenson/work/abcl.java5/src/org/armedbear/lisp/StringFunctions.java:488: incompatible types
found   : java.lang.Object&java.io.Serializable&org.armedbear.lisp.LispObject
required: org.armedbear.lisp.LispObject
            return (tmp >= 0) ? Fixnum.getInstance(tmp) : NIL;
                              ^
/home/evenson/work/abcl.java5/src/org/armedbear/lisp/StringFunctions.java:867: incompatible types
found   : java.lang.Object&java.io.Serializable&org.armedbear.lisp.LispObject
required: org.armedbear.lisp.LispObject
            return index >= 0 ? Fixnum.getInstance(index) : NIL;
                              ^
/home/evenson/work/abcl.java5/src/org/armedbear/lisp/jclass_of.java:61: incompatible types
found   : java.lang.Object&java.io.Serializable&org.armedbear.lisp.LispObject
required: org.armedbear.lisp.LispObject
            (className != null) ? new SimpleString(className) : NIL;

Subtickets

Change History (8)

comment:1 Changed 4 years ago by mevenson

  • Owner changed from nobody to mevenson
  • Priority changed from minor to blocker
  • Status changed from new to accepted

comment:2 Changed 4 years ago by mevenson

  • Owner changed from mevenson to unassigned
  • Status changed from accepted to assigned

ORCL Java5 can no longer be downloaded without registering for an Oracle ID.

TODO: move testing to a free Java.

comment:3 Changed 3 years ago by mevenson

  • Milestone changed from 1.3.0 to 2.0

Ticket retargeted after milestone closed

comment:4 Changed 3 years ago by mevenson

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

comment:5 Changed 3 years ago by mevenson

  • Milestone changed from 2.0.0 to 1.4.0

comment:6 Changed 11 months ago by mevenson

  • Milestone changed from 1.4.0 to 1.5.0

Ticket retargeted after milestone closed

comment:7 Changed 2 months ago by mevenson

  • Milestone changed from 1.5.0 to 1.6.0

Ticket retargeted after milestone closed

comment:8 Changed 2 months ago by mevenson

  • Resolution set to wontfix
  • Status changed from assigned to closed

Java 5 is no longer supported. -- The Mgmt.

Note: See TracTickets for help on using tickets.