Menu

#46 Creating instances from abstract classes

Next Release
closed-fixed
nobody
None
5
2019-02-01
2019-02-01
No

The new reflection mechanism in BSF4ooRexx does not intercept the creation of instances of abstract classes reflectively (which seems to be possible, if a concrete default constructor is available, causing an instance of Object to be created). This should cause an error.

(Note: it is possible to create instances of abstract Java classes in BSF4ooRexx using BsfCreateRexxProxy(), if the Rexx object to be boxed implements all abstract methods of the abstract Java class.)

Discussion

  • Rony G. Flatscher

    • status: open --> closed-fixed
     
  • Rony G. Flatscher

    Fixed with [r644].

     

    Related

    Commit: [r644]


Log in to post a comment.

Auth0 Logo