[
https://issues.apache.org/jira/browse/IGNITE-25709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18071916#comment-18071916
]
Aleksandr Chesnokov commented on IGNITE-25709:
----------------------------------------------
Now the pr fixes the test under JDK 17, see
[https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Logging/8991714]
[https://ci2.ignite.apache.org/buildConfiguration/IgniteTests24Java8_Logging/8991930]
> 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
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)