Opened 4 years ago

Last modified 2 months ago

#330 assigned defect

Finish java:jnew-runtime-class implementation

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

Description (last modified by mevenson)

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

Subtickets (add)

Change History (11)

comment:1 Changed 4 years ago by mevenson

  • Owner changed from nobody to mevenson
  • Status changed from new to assigned

comment:2 Changed 3 years ago by mevenson

  • Description modified (diff)
  • Summary changed from java:jnew-runtime-class bitrot to Finish java:jnew-runtime-class implementation

comment:3 Changed 3 years ago by mevenson

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 3 years ago by mevenson

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 3 years ago by mevenson

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 3 years ago by mevenson

Cannot define constructors (see #346)

comment:7 Changed 3 years ago by mevenson

  • Milestone changed from 1.3.0 to 2.0

Ticket retargeted after milestone closed

comment:8 Changed 3 years ago by mevenson

  • Milestone changed from 2.0 to 2.0.0

Milestone renamed

comment:9 Changed 3 years ago by mevenson

  • Milestone changed from 2.0.0 to 1.4.0

comment:10 Changed 11 months ago by mevenson

  • Milestone changed from 1.4.0 to 1.5.0

Ticket retargeted after milestone closed

comment:11 Changed 2 months ago by mevenson

  • Milestone changed from 1.5.0 to 1.6.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.