< prev index next >

src/java.base/share/classes/jdk/internal/reflect/DelegatingConstructorAccessorImpl.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 2001, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this
--- 1,7 ---
  /*
!  * Copyright (c) 2001, 2021, 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
   * under the terms of the GNU General Public License version 2 only, as
   * published by the Free Software Foundation.  Oracle designates this

*** 33,11 ***
  /** Delegates its invocation to another ConstructorAccessorImpl and can
      change its delegate at run time. */
  
  class DelegatingConstructorAccessorImpl extends ConstructorAccessorImpl {
      // initial non-null delegate
-     @Stable
      private final ConstructorAccessorImpl initialDelegate;
      // alternative delegate: starts as null;
      // only single change from null -> non-null is guaranteed
      @Stable
      private ConstructorAccessorImpl altDelegate;
--- 33,10 ---
< prev index next >