#1285 Prevent to modify the System environment

PMD-5.2.2
closed
None
PMD
3-Major
Bug
2014-12-03
2014-11-24
Tweea
No

The CPDConfiguration modify the System environment "file.encoding", and may cause the code using CPD's API unpredictable behavior. It's better to prevent using platform default encoding, but using a encoding parameter explicitly.

Backlink: http://jira.codehaus.org/browse/MPMD-193

Discussion

  • Andreas Dangel

    Andreas Dangel - 2014-11-24
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1 +1,3 @@
     The CPDConfiguration modify the System environment "file.encoding", and may cause the code using CPD's API unpredictable behavior. It's better to prevent using platform default encoding, but using a encoding parameter explicitly.
    +
    +Backlink: http://jira.codehaus.org/browse/MPMD-193
    
    • status: open --> accepted
    • assigned_to: Andreas Dangel
     
  • Andreas Dangel

    Andreas Dangel - 2014-11-24
    • status: accepted --> closed
    • Milestone: New Tickets --> PMD-Next
     
  • Andreas Dangel

    Andreas Dangel - 2014-11-24

    This will be fixed with the next version 5.2.2

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks