a cryptic error on using Java agents in build 144
Roman Shevchenko
roman.shevchenko at jetbrains.com
Thu Nov 17 16:01:36 UTC 2016
OK, thanks!
On Do, Nov 17, 2016 at 4:48 , Alan Bateman <Alan.Bateman at oracle.com>
wrote:
> On 16/11/2016 17:48, Roman Shevchenko wrote:
>
>> Nope (sorry, should have mentioned this).
> This could only be one of two things so there's enough here to say
> that this is a bug (a regression in jdk-9+143). In thaht build we
> cleaned up the scenario that is the initial module on the module path
> but no class path. When running with -javaagent then the class path
> is extended which leads to a NPE (you can't see it because the
> exception is cleared in the VM). I'll create a bug for this and we'll
> get it fixed. You can work around it in the mean-time by adding `-cp
> <anything>` to the command line.
>
> -Alan.
More information about the jdk9-dev
mailing list