langtools/src/share/classes/com/sun/tools/javac/comp/Check.java
changeset 22165 ec53c8946fc2
parent 22163 3651128c74eb
child 22688 304eb013ac63
equal deleted inserted replaced
22164:c8eb1ae29c58 22165:ec53c8946fc2
  2599      *  the same parameterized interface with two different argument lists.
  2599      *  the same parameterized interface with two different argument lists.
  2600      *  @param pos          Position to be used for error reporting.
  2600      *  @param pos          Position to be used for error reporting.
  2601      *  @param type         The type whose interfaces are checked.
  2601      *  @param type         The type whose interfaces are checked.
  2602      */
  2602      */
  2603     void checkClassBounds(DiagnosticPosition pos, Type type) {
  2603     void checkClassBounds(DiagnosticPosition pos, Type type) {
  2604         checkClassBounds(pos, new HashMap<>(), type);
  2604         checkClassBounds(pos, new HashMap<TypeSymbol,Type>(), type);
  2605     }
  2605     }
  2606 //where
  2606 //where
  2607         /** Enter all interfaces of type `type' into the hash table `seensofar'
  2607         /** Enter all interfaces of type `type' into the hash table `seensofar'
  2608          *  with their class symbol as key and their type as value. Make
  2608          *  with their class symbol as key and their type as value. Make
  2609          *  sure no class is entered with two different types.
  2609          *  sure no class is entered with two different types.