Regression after jpackage+1-49 update
Alan Bateman
Alan.Bateman at oracle.com
Mon Oct 7 06:43:50 UTC 2019
On 07/10/2019 04:35, David Holmes wrote:
>
> Nothing to do with jpackage but a fix to Class.forName to ensure
> classes are linked as per the specification of forName. You can
> temporarily workaround with -XX:+ClassForNameDeferLinking, but your
> code needs to be updated to deal with LinkageErrors from Class.forName.
In this case, it is core reflection code that it looking at the type
parameters in the type of a field. I suspect this code needs to
translate NCDEF to TypeNotPresentException, other linkage errors maybe
need to be handled here too.
-Alan.
More information about the core-libs-dev
mailing list