Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212662

javadoc typo in java.lang.ref.Cleaner

XMLWordPrintable

    • b17
    • Not verified

      $ hg diff
      diff -r 0fcd1285435e src/java.base/share/classes/java/lang/ref/Cleaner.java
      --- a/src/java.base/share/classes/java/lang/ref/Cleaner.java Thu Oct 18 11:23:54 2018 +0200
      +++ b/src/java.base/share/classes/java/lang/ref/Cleaner.java Thu Oct 18 10:39:33 2018 -0400
      @@ -1,5 +1,5 @@
       /*
      - * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
      + * Copyright (c) 2015, 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
      @@ -100,8 +100,8 @@
        * }
        * }
        *
      - * private final State;
      - * private final Cleaner.Cleanable cleanable
      + * private final State state;
      + * private final Cleaner.Cleanable cleanable;
        *
        * public CleaningExample() {
        * this.state = new State(...);

            lancea Lance Andersen
            lancea Lance Andersen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: