src/share/classes/com/sun/tools/javac/code/Flags.java

changeset 1239
2827076dbf64
parent 969
8cc5b440fdde
child 1357
c75be5bc5283
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/Flags.java	Mon Mar 26 15:28:22 2012 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Flags.java	Mon Mar 26 15:28:49 2012 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2011, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     1.7   * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     1.8   *
     1.9   * This code is free software; you can redistribute it and/or modify it
    1.10 @@ -221,7 +221,7 @@
    1.11  
    1.12      /** Flag that marks a hypothetical method that need not really be
    1.13       *  generated in the binary, but is present in the symbol table to
    1.14 -     *  simplify checking for erasure clashes.
    1.15 +     *  simplify checking for erasure clashes - also used for 292 poly sig methods.
    1.16       */
    1.17      public static final long HYPOTHETICAL   = 1L<<37;
    1.18  
    1.19 @@ -236,26 +236,20 @@
    1.20      public static final long UNION = 1L<<39;
    1.21  
    1.22      /**
    1.23 -     * Flag that marks a signature-polymorphic invoke method.
    1.24 -     * (These occur inside java.lang.invoke.MethodHandle.)
    1.25 -     */
    1.26 -    public static final long POLYMORPHIC_SIGNATURE = 1L<<40;
    1.27 -
    1.28 -    /**
    1.29       * Flag that marks a special kind of bridge methods (the ones that
    1.30       * come from restricted supertype bounds)
    1.31       */
    1.32 -    public static final long OVERRIDE_BRIDGE = 1L<<41;
    1.33 +    public static final long OVERRIDE_BRIDGE = 1L<<40;
    1.34  
    1.35      /**
    1.36       * Flag that marks an 'effectively final' local variable
    1.37       */
    1.38 -    public static final long EFFECTIVELY_FINAL = 1L<<42;
    1.39 +    public static final long EFFECTIVELY_FINAL = 1L<<41;
    1.40  
    1.41      /**
    1.42       * Flag that marks non-override equivalent methods with the same signature
    1.43       */
    1.44 -    public static final long CLASH = 1L<<43;
    1.45 +    public static final long CLASH = 1L<<42;
    1.46  
    1.47      /** Modifier masks.
    1.48       */

mercurial