Opened 7 years ago

Last modified 11 days ago

#330 assigned defect

Finish java:jnew-runtime-class implementation

Reported by: Mark Evenson Owned by: nobody
Priority: critical Milestone: 1.8.0
Component: java Version: 1.3.0-dev
Keywords: needs-test Cc:
Parent Tickets:

Description (last modified by Mark Evenson)

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

Change History (18)

comment:1 Changed 7 years ago by Mark Evenson

Owner: changed from nobody to Mark Evenson
Status: newassigned

comment:2 Changed 7 years ago by Mark Evenson

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

comment:3 Changed 7 years ago by Mark Evenson

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 7 years ago by Mark Evenson

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 7 years ago by Mark Evenson

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 7 years ago by Mark Evenson

Cannot define constructors (see #346)

comment:7 Changed 7 years ago by Mark Evenson

Milestone: 1.3.02.0

Ticket retargeted after milestone closed

comment:8 Changed 7 years ago by Mark Evenson

Milestone: 2.02.0.0

Milestone renamed

comment:9 Changed 7 years ago by Mark Evenson

Milestone: 2.0.01.4.0

comment:10 Changed 4 years ago by Mark Evenson

Milestone: 1.4.01.5.0

Ticket retargeted after milestone closed

comment:11 Changed 3 years ago by Mark Evenson

Milestone: 1.5.01.6.0

Ticket retargeted after milestone closed

comment:12 Changed 11 months ago by Mark Evenson

Owner: changed from Mark Evenson to nobody
Priority: blockercritical

comment:13 Changed 10 months ago by Mark Evenson

Milestone: 1.6.01.6.1

Ticket retargeted after milestone closed

comment:14 Changed 5 months ago by Mark Evenson

Milestone: 1.6.11.6.2

Ticket retargeted after milestone closed

comment:15 Changed 4 months ago by Mark Evenson

Milestone: 1.6.21.7.0

comment:16 Changed 4 months ago by Mark Evenson

Milestone: 1.7.01.7.1

Ticket retargeted after milestone closed

comment:17 Changed 2 months ago by Mark Evenson

Milestone: 1.7.11.7.2

Ticket retargeted after milestone closed

comment:18 Changed 11 days ago by Mark Evenson

Milestone: 1.7.21.8.0

Milestone renamed

Note: See TracTickets for help on using tickets.