--- old/test/langtools/tools/lib/toolbox/ToolBox.java 2018-04-12 12:51:15.684948878 -0700 +++ new/test/langtools/tools/lib/toolbox/ToolBox.java 2018-04-12 12:51:15.408936831 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013, 2017, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2013, 2018, 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 @@ -142,7 +142,7 @@ // report first difference for (int i = 0; i < Math.min(l1.size(), l2.size()); i++) { String s1 = l1.get(i); - String s2 = l1.get(i); + String s2 = l2.get(i); if (!Objects.equals(s1, s2)) { throw new Error("comparison failed, index " + i + ", (" + s1 + ":" + s2 + ")");