[
https://issues.apache.org/jira/browse/ZOOKEEPER-5130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18144483#comment-18144483
]
Cheng TANG commented on ZOOKEEPER-5130:
---------------------------------------
PR : https://github.com/apache/zookeeper/pull/2505
> JRecordTest fails on Windows due to the use of System.lineSeparator()
> ---------------------------------------------------------------------
>
> Key: ZOOKEEPER-5130
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-5130
> Project: ZooKeeper
> Issue Type: Test
> Components: jute, tests
> Environment: OS: Windows 11 / JDK: 17.0.17 / Maven: 3.9.15
> Reporter: Cheng TANG
> Priority: Minor
> Labels: pull-request-available, test
> Attachments: screenshot-after.png, screenshot-before.png
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> When I run the test org.apache.jute.compiler.JRecordTest on Windows, the
> tests failed due to usage of different line separator. Since "\n" is
> hardcoded in all the generating logic, it's better to keep it consistent.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)