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

changeset 1850
6debfa63a4a1
parent 1442
fcf89720ae71
child 1853
831467c4c6a7
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/Kinds.java	Wed Jun 19 22:07:05 2013 +0100
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/Kinds.java	Thu Jun 20 08:45:43 2013 +0100
     1.3 @@ -1,5 +1,5 @@
     1.4  /*
     1.5 - * Copyright (c) 1999, 2012, Oracle and/or its affiliates. All rights reserved.
     1.6 + * Copyright (c) 1999, 2013, 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 @@ -73,9 +73,13 @@
    1.11       */
    1.12      public final static int MTH = 1 << 4;
    1.13  
    1.14 +    /** Poly kind, for deferred types.
    1.15 +     */
    1.16 +    public final static int POLY = 1 << 5;
    1.17 +
    1.18      /** The error kind, which includes all other kinds.
    1.19       */
    1.20 -    public final static int ERR = (1 << 5) - 1;
    1.21 +    public final static int ERR = (1 << 6) - 1;
    1.22  
    1.23      /** The set of all kinds.
    1.24       */
    1.25 @@ -83,7 +87,7 @@
    1.26  
    1.27      /** Kinds for erroneous symbols that complement the above
    1.28       */
    1.29 -    public static final int ERRONEOUS = 1 << 6;
    1.30 +    public static final int ERRONEOUS = 1 << 7;
    1.31      public static final int AMBIGUOUS    = ERRONEOUS+1; // ambiguous reference
    1.32      public static final int HIDDEN       = ERRONEOUS+2; // hidden method or field
    1.33      public static final int STATICERR    = ERRONEOUS+3; // nonstatic member from static context

mercurial