RFR: 8344925: translet-name ignored, when package-name is also set via TransformerFactory.setAttribute
Joe Wang
joehw at openjdk.org
Wed Feb 5 18:04:15 UTC 2025
On Thu, 28 Nov 2024 01:09:47 GMT, Zheng Feng <duke at openjdk.org> wrote:
> …String)
>
> This bug seems from the improper handling of package and class name initialization in `XSLTC` since there is a default value of `_packageName` with `die.verwandlung`. This fix is just adjusting to call `setPackageName` before `setClassName`.
>
> I've done the tire1 and tire2 tests. The tire1 tests passed and tire2 reports
>
>
> ==============================
> Test summary
> ==============================
> TEST TOTAL PASS FAIL ERROR
>>> jtreg:test/hotspot/jtreg:tier2 745 744 1 0 <<
>>> jtreg:test/jdk:tier2 4142 4137 2 3 <<
> jtreg:test/langtools:tier2 12 12 0 0
> jtreg:test/jaxp:tier2 514 514 0 0
> jtreg:test/docs:tier2 1 1 0 0
> ==============================
> TEST FAILURE
>
>
> The failed tests are
>
> JT Harness : Tests that failed
> runtime/Thread/ThreadCountLimit.java#id0: Stress test that reaches the process limit for thread count, or time limit.
>
> JT Harness : Tests that failed
> java/net/InetAddress/CheckJNI.java: java -Xcheck:jni failing in net code on Solaris / [Datagram]Socket.getLocalAddress() failure
> java/net/Socket/LinkLocal.java: Connecting to a link-local IPv6 address should not causes a SocketException to be thrown.
>
> JT Harness : Tests that had errors
> java/net/URL/EarlyOrDelayedParsing.java: URL built-in protocol handlers should parse the URL early to avoid constructing URLs for which openConnection would later throw an exception, when possible.
> java/net/ipv6tests/UdpTest.java: IPv6 support for Windows XP and 2003 server.
> java/nio/channels/DatagramChannel/SendReceiveMaxSize.java: Check that it is possible to send and receive datagrams of maximum size on macOS.
Sorry I missed your PR. Please note that, the right procedure to take over an issue is to ask the person assigned to the bug, get the bug assigned to you before starting any work, that would avoid confusion and duplicate work.
If you plan to work on any patch in the future, please remember to add a test. If a test is not necessary, add the relevant label.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22425#issuecomment-2637650741
More information about the core-libs-dev
mailing list