Opened 11 years ago

Closed 7 years ago

#326 closed defect (wontfix)

abcl cannot be compiled with Java5

Reported by: Mark Evenson 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;

Change History (8)

comment:1 Changed 11 years ago by Mark Evenson

Owner: changed from nobody to Mark Evenson
Priority: minorblocker
Status: newaccepted

comment:2 Changed 11 years ago by Mark Evenson

Owner: changed from Mark Evenson to unassigned
Status: acceptedassigned

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

TODO: move testing to a free Java.

comment:3 Changed 11 years ago by Mark Evenson

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:4 Changed 11 years ago by Mark Evenson

Milestone: 2.02.0.0

Milestone renamed

comment:5 Changed 11 years ago by Mark Evenson

Milestone: 2.0.01.4.0

comment:6 Changed 8 years ago by Mark Evenson

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:7 Changed 7 years ago by Mark Evenson

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

comment:8 Changed 7 years ago by Mark Evenson

Resolution: wontfix
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.