Opened 6 years ago

Last modified 2 years ago

#330 assigned defect

Finish java:jnew-runtime-class implementation

Reported by: Evenson Not Org Owned by: Evenson Not Org
Priority: blocker Milestone: 1.6.0
Component: java Version: 1.3.0-dev
Keywords: needs-test Cc:
Parent Tickets:

Description (last modified by Evenson Not Org)

This ticket collects issues about JAVA:JNEW-RUNTIME-CLASS

Subtickets

Change History (11)

comment:1 Changed 6 years ago by Evenson Not Org

Owner: changed from nobody to Evenson Not Org
Status: newassigned

comment:2 Changed 5 years ago by Evenson Not Org

Description: modified (diff)
Summary: java:jnew-runtime-class bitrotFinish java:jnew-runtime-class implementation

comment:3 Changed 5 years ago by Evenson Not Org

Cannot define a method of no arguments:

(jnew-runtime-class 
 "Actor"
 :fields (list '("name" "java.lang.String"))
 :methods (list 
           (list "getName" "java.lang.String" nil
                 (lambda (this) 
                   (java:jfield this "name")))))

comment:4 Changed 5 years ago by Evenson Not Org

Cannot define a method taking arguments of primitive type:

(jnew-runtime-class 
 "Actor"
 :fields (list '("name" "java.lang.String"))
 :methods (list 
           (list "getName" "java.lang.String" '(:int)
                 (lambda (this) 
                   (java:jfield this "name")))))

comment:5 Changed 5 years ago by Evenson Not Org

Cannot use a runtime class as superclass for further classes:

(jnew-runtime-class 
 "foo.Actor"
 :fields (list '("name" "java.lang.String")))
(jnew-runtime-class 
 "foo.StageActor"
 :superclass "foo.Actor"
 :fields (list '("givenName" "java.lang.String")))

comment:6 Changed 5 years ago by Evenson Not Org

Cannot define constructors (see #346)

comment:7 Changed 5 years ago by Evenson Not Org

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:8 Changed 5 years ago by Evenson Not Org

Milestone: 2.02.0.0

Milestone renamed

comment:9 Changed 5 years ago by Evenson Not Org

Milestone: 2.0.01.4.0

comment:10 Changed 3 years ago by Evenson Not Org

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:11 Changed 2 years ago by Evenson Not Org

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.