Skip to content

[MNG-6816] Prefer System.lineSeparator() over system properties #8470

Closed

Description

@jira-importer

Krosheninnikov Artem opened MNG-6816 and commented

There is a JDK bug that suggested to add special System.lineSeparator method https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6900043

 

There is an article about it: https://dzone.com/articles/prefer-systemlineseparator-for-writing-system-depe

 

In maven repo there are some usages of System.getProperty that can be replaced.


Affects: 3.6.3

Remote Links:

Backported to: 4.0.0-alpha-2, 3.8.2

Activity

  1. jira-importer commented on Dec 10, 2019

    @jira-importer
    Author

    Michael Osipov commented

    Fixed with 3332f4d.

  2. jira-importer commented on Jun 26, 2021

    @jira-importer
    Author

    Michael Osipov commented

    Fixed with d4ad077ef5c440d86f3c9110e96ae00cf7d246bf for maven-3.8.x branch.

  3. added
    enhancement
    priority:trivial
    on Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementpriority:trivial

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions