src/share/classes/com/sun/tools/javac/comp/Infer.java

changeset 1853
831467c4c6a7
parent 1826
9851071b551a
child 1891
42b3c5e92461
equal deleted inserted replaced
1852:bf020de5a6db 1853:831467c4c6a7
94 allowGraphInference = Source.instance(context).allowGraphInference() 94 allowGraphInference = Source.instance(context).allowGraphInference()
95 && options.isUnset("useLegacyInference"); 95 && options.isUnset("useLegacyInference");
96 } 96 }
97 97
98 /** A value for prototypes that admit any type, including polymorphic ones. */ 98 /** A value for prototypes that admit any type, including polymorphic ones. */
99 public static final Type anyPoly = new Type(NONE, null); 99 public static final Type anyPoly = new JCNoType();
100 100
101 /** 101 /**
102 * This exception class is design to store a list of diagnostics corresponding 102 * This exception class is design to store a list of diagnostics corresponding
103 * to inference errors that can arise during a method applicability check. 103 * to inference errors that can arise during a method applicability check.
104 */ 104 */

mercurial