On Oct 27, 2020, at 1:36 PM, Dan Smith <daniel.sm...@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