Actions
Bug #3207
closedInvalid test about Zip lead to error with JDK 1.7
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
Architecture - Code maintenance
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
common/utils contains a unit test about Zip extraction order that fails in JDK 7
utils/src/test/scala/com/normation/utils/TestZipUtils.scala => Building zippable from a directory should::create the list of names in order
The cause is the use of "listFile", that does not garante any specific order:
There is no guarantee that the name strings in the resulting array
* will appear in any specific order; they are not, in particular,
* guaranteed to appear in alphabetical order.
Actions