[
https://issues.apache.org/jira/browse/IGNITE-25709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Chesnokov updated IGNITE-25709:
-----------------------------------------
Description:
JavaLoggerTest.testLogInitialize calls JavaLogger.fileName(), which uses
reflection to read the private `files` field from java.util.logging.FileHandler.
On Java 17 this package is not open by default, so the reflection access fails,
fileName() returns null, and the test fails at JavaLoggerTest.java:161.
was:JavaLoggerTest.testLogInitialize fails with AssertionError at
org.apache.ignite.logger.java.JavaLoggerTest.testLogInitialize(JavaLoggerTest.java:161)
> JavaLoggerTest.testLogInitialize fails on Java 17 due to inaccessible
> FileHandler.files
> ---------------------------------------------------------------------------------------
>
> Key: IGNITE-25709
> URL: https://issues.apache.org/jira/browse/IGNITE-25709
> Project: Ignite
> Issue Type: Bug
> Reporter: Aleksandr Chesnokov
> Assignee: Aleksandr Chesnokov
> Priority: Minor
> Labels: ise
>
> JavaLoggerTest.testLogInitialize calls JavaLogger.fileName(), which uses
> reflection to read the private `files` field from
> java.util.logging.FileHandler.
> On Java 17 this package is not open by default, so the reflection access
> fails, fileName() returns null, and the test fails at JavaLoggerTest.java:161.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)