8243985: Make source generation by generatecharacter reproducible
Reviewed-by: naoto
This commit is contained in:
parent
c03a9bc9a2
commit
09e8b7ca4d
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2002, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2002, 2020, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -700,7 +700,7 @@ OUTER: for (int i = 0; i < n; i += m) {
|
||||
PrintWriter out = new PrintWriter(new BufferedWriter(new FileWriter(theOutputFileName)));
|
||||
out.println(commentStart +
|
||||
" This file was generated AUTOMATICALLY from a template file " +
|
||||
new java.util.Date() + commentEnd);
|
||||
commentEnd);
|
||||
int marklen = commandMarker.length();
|
||||
LOOP: while(true) {
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user