> On 2021. Feb 21., at 21:57, Remi Forax wrote:
>
> - Mail original -
>> De: "Attila Szegedi"
>> À: "core-libs-dev"
>> Envoyé: Dimanche 21 Février 2021 21:14:48
>> Objet: Class.getRecordComponents security check
- Mail original -
> De: "Attila Szegedi"
> À: "core-libs-dev"
> Envoyé: Dimanche 21 Février 2021 21:14:48
> Objet: Class.getRecordComponents security checks
> Hey folks,
>
> Why are security checks for Class.getRecordComponents as strict
Hey folks,
Why are security checks for Class.getRecordComponents as strict as those for
e.g. getDeclaredMethods? I would’ve expected they’d be as strict as those for
e.g. getMethods. Specifically, the difference is the:
> “the caller's class loader is not the same as the class loader of this cl