RFR: 8245167: Top package in method profiling shows "null" in JMC

Andrey Petushkov andrey at azul.com
Wed Jun 3 10:15:10 UTC 2020


Hi Andrew,

This 'L' -checking code is activated only when the method in question is
given the array (i.e. the FQN of the class is something "[L...").
However the caller never applies the method to array classes, only
instance classes.
(and I've actually checked that "L.Main" class has appeared in the JMC's
"Top packages" window)

Andrey

On 03.06.2020 13:08, Andrew Dinn wrote:
> On 03/06/2020 10:46, Mario Torre wrote:
>> I think this should be in by release, so I support the use of a
>> critical fix label.
> I'm happy with that even though I agree with Mario that the check for
> names beginning with L in the original patch is over-restrictive. That L
> could legitimately be the start of a package name. However, it is very
> unlikely to affect any real code (package names don't usually start with
> a capital letter) and if it does it will be little more than an
> inconvenience.
>
> regards,
>
>
> Andrew Dinn
> -----------




More information about the jdk8u-dev mailing list