Integrated: 8276657: XSLT compiler tries to define a class with empty name
Joe Wang
joehw at openjdk.java.net
Thu Dec 2 06:56:33 UTC 2021
On Tue, 30 Nov 2021 18:53:26 GMT, Joe Wang <joehw at openjdk.org> wrote:
> The result of Util.baseName(systemId) can be empty, causing the compiler to set an empty classname. Add a check to make sure it will not set the empty classname.
>
> Alternatively, it may report an error, but that would be disruptive. As the transform can proceed without the provided classname (by using the default), adding a check is better than reporting an error.
>
> I've verified the patch with the proposed fix for JDK-8276241. Harold has also confirmed it fixes the tests in his builds.
This pull request has now been integrated.
Changeset: a093cddd
Author: Joe Wang <joehw at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/a093cdddaf5ab88eb84a147e523db5c3e1be54be
Stats: 6 lines in 1 file changed: 3 ins; 0 del; 3 mod
8276657: XSLT compiler tries to define a class with empty name
Reviewed-by: naoto
-------------
PR: https://git.openjdk.java.net/jdk/pull/6620
More information about the core-libs-dev
mailing list