JDK 13 RFR of JDK-8218726: Minor Throwable.printStackTrace() typos

Joe Darcy joe.darcy at oracle.com
Wed Feb 27 20:11:05 UTC 2019


Hello,

Please review the patch below to fix a small typo ("at" -> "as") in text 
of Throwable introduced with some of the Project Coin changes.

Thanks,

-Joe

diff -r 2c50e900e8af src/java.base/share/classes/java/lang/Throwable.java
--- a/src/java.base/share/classes/java/lang/Throwable.java    Wed Feb 27 
11:33:57 2019 -0800
+++ b/src/java.base/share/classes/java/lang/Throwable.java    Wed Feb 27 
12:09:29 2019 -0800
@@ -1,5 +1,5 @@
  /*
- * Copyright (c) 1994, 2016, Oracle and/or its affiliates. All rights 
reserved.
+ * Copyright (c) 1994, 2019, 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
@@ -616,7 +616,7 @@
       *          ... 1 more
       * </pre>
       * Note that the "... n more" notation is used on suppressed 
exceptions
-     * just at it is used on causes. Unlike causes, suppressed 
exceptions are
+     * just as it is used on causes. Unlike causes, suppressed 
exceptions are
       * indented beyond their "containing exceptions."
       *
       * <p>An exception can have both a cause and one or more suppressed



More information about the core-libs-dev mailing list