On 16/10/2019 09:28, Schmelter, Ralf wrote:
Hi David,
the canonicalize() method is never used by java.io or any Java code. Currently
it is used by the hotspot in classloader.cpp (which I use in the test) and in
libinstrument in InvocationAdapter.c. There is no way to test it in core-libs.
One can argue if the canonicalize method is in the right file, but that should
be a separate discussion.
I plan to review this, I just haven't had time yet. You are right that
there is technical debt here, include dependency in the JPLIS agent
which crept in when java.lang.instrument was updated to support
augmenting of the boot class path.
-Alan