< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/jvm/Gen.java

Print this page
*** 1,7 ***
  /*
!  * Copyright (c) 1999, 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
--- 1,7 ---
  /*
!  * Copyright (c) 1999, 2024, 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

*** 234,11 ***
       *  non-accessible class, clone it with the qualifier class as owner.
       *
       *  @param sym    The accessed symbol
       *  @param site   The qualifier's type.
       */
!     Symbol binaryQualifier(Symbol sym, Type site) {
  
          if (site.hasTag(ARRAY)) {
              if (sym == syms.lengthVar ||
                  sym.owner != syms.arrayClass)
                  return sym;
--- 234,11 ---
       *  non-accessible class, clone it with the qualifier class as owner.
       *
       *  @param sym    The accessed symbol
       *  @param site   The qualifier's type.
       */
!     public Symbol binaryQualifier(Symbol sym, Type site) {
  
          if (site.hasTag(ARRAY)) {
              if (sym == syms.lengthVar ||
                  sym.owner != syms.arrayClass)
                  return sym;
< prev index next >