[
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.
see
[https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Logging?tag=JDK_17]
was:
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.
see
https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Logging?tag=JDK_17
> 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.
>
> see
> [https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Logging?tag=JDK_17]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)