Project

General

Profile

Actions

Bug #3207

closed

Invalid test about Zip lead to error with JDK 1.7

Added by François ARMAND about 11 years ago. Updated about 11 years ago.

Status:
Released
Priority:
1
Category:
Architecture - Code maintenance
Target version:
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 #1

Updated by François ARMAND about 11 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from François ARMAND to Nicolas CHARLES
Actions #2

Updated by François ARMAND about 11 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #6

Updated by Nicolas PERRON about 11 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF