Source code analysis: calls to wrapper class constructors

John Rose john.r.rose at oracle.com
Wed Oct 28 04:47:13 UTC 2020


On Oct 27, 2020, at 1:36 PM, Dan Smith <daniel.smith at oracle.com> wrote:
> 
> I'm not sure whether there's a mechanism in HotSpot to generate warnings about deprecated APIs at link/run time. It does seem like it would be a reasonable feature...

+1

There is no such feature at present; maybe something
could be built on top of the debugger interface.  A quick
look at the event index [1] does not turn up dynamic
linkage (resolution) events, which would be the obvious
place to start.

[1]: https://docs.oracle.com/javase/1.5.0/docs/guide/jvmti/jvmti.html#EventIndex



More information about the valhalla-spec-observers mailing list