Opened 6 years ago

Last modified 10 months ago

#458 new enhancement

Extend JAVA FFI to allow access to non-public methods

Reported by: aruttenberg Owned by:
Priority: major Milestone: 1.9.3
Component: java Version:
Keywords: Cc:
Parent Tickets:

Description

I'm mixed as to the interface.

Option 1: Global variable says whether non-public methods available during jcall, jmethod and friends

Option 2: Provide alternative calls e.g jcall-any, jmethod-any etc that

Ideally cache calls to setAccessible so they are done only the first time.

This functionality is important because 1) it is not infrequent that libraries need to be debugged and to do that we need to be able to call private and protected methods 2) Introspection

It is possible to manage this without messing with jcall but it is slower and ugly.

Change History (9)

comment:1 Changed 4 years ago by Mark Evenson

Component: (A)MOPjava
Milestone: 1.6.1

comment:2 Changed 4 years ago by Mark Evenson

Milestone: 1.6.11.6.2

Ticket retargeted after milestone closed

comment:3 Changed 4 years ago by Mark Evenson

Milestone: 1.6.21.7.0

comment:4 Changed 4 years ago by Mark Evenson

Milestone: 1.7.01.7.1

Ticket retargeted after milestone closed

comment:5 Changed 4 years ago by Mark Evenson

Milestone: 1.7.11.7.2

Ticket retargeted after milestone closed

comment:6 Changed 4 years ago by Mark Evenson

Milestone: 1.7.21.8.0

Milestone renamed

comment:7 Changed 3 years ago by Mark Evenson

Milestone: 1.8.01.8.1

Ticket retargeted after milestone closed

comment:8 Changed 14 months ago by Mark Evenson

Milestone: 1.8.11.9.2

comment:9 Changed 10 months ago by Mark Evenson

Milestone: 1.9.21.9.3
Note: See TracTickets for help on using tickets.