From 3f051fb90e657b919db2210a3dd290a25aae4319 Mon Sep 17 00:00:00 2001 From: Doug Simon Date: Sat, 30 Nov 2019 00:13:58 +0100 Subject: [PATCH] use \n as line separator in timestamps file even on Windows --- compiler/mx.compiler/mx_compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/mx.compiler/mx_compiler.py b/compiler/mx.compiler/mx_compiler.py index 582a3250d4c1..6962bbd97454 100644 --- a/compiler/mx.compiler/mx_compiler.py +++ b/compiler/mx.compiler/mx_compiler.py @@ -1198,7 +1198,7 @@ def _update_graaljdk(src_jdk, dst_jdk_dir=None, root_module_names=None, export_t # may have changed and we want to pick up these changes. source_jdk_timestamps_file = dst_jdk_dir + '.source_jdk_timestamps' timestamps = [] - nl = os.linesep + nl = '\n' for root, _, filenames in os.walk(jdk.home): for name in filenames: ts = mx.TimeStampFile(join(root, name))