Re: RFR: 8026369: javac potentially ambiguous overload warning needs an improved scheme [v2]

2023-02-24 Thread Archie L . Cobbs
On Fri, 24 Feb 2023 11:49:55 GMT, Vicente Romero wrote: > I think a CSR is needed as we will be generating more warnings and projects > compiling with -Werror could see compilation errors Will do - thanks. > src/jdk.compiler/share/classes/com/sun/tools/javac/code/Flags.java line 280: > >>

Re: RFR: 8026369: javac potentially ambiguous overload warning needs an improved scheme [v2]

2023-02-24 Thread Vicente Romero
On Tue, 21 Feb 2023 01:42:41 GMT, Archie L. Cobbs wrote: >> This bug relates to the "potentially ambiguous overload" warning which is >> enabled by `-Xlint:overloads`. >> >> The warning detects certain ambiguities that can cause problems for lambdas. >> For example, consider the interface

Re: RFR: 8026369: javac potentially ambiguous overload warning needs an improved scheme [v2]

2023-02-24 Thread Vicente Romero
On Tue, 21 Feb 2023 01:42:41 GMT, Archie L. Cobbs wrote: >> This bug relates to the "potentially ambiguous overload" warning which is >> enabled by `-Xlint:overloads`. >> >> The warning detects certain ambiguities that can cause problems for lambdas. >> For example, consider the interface

Re: RFR: 8026369: javac potentially ambiguous overload warning needs an improved scheme [v2]

2023-02-20 Thread Archie L . Cobbs
> This bug relates to the "potentially ambiguous overload" warning which is > enabled by `-Xlint:overloads`. > > The warning detects certain ambiguities that can cause problems for lambdas. > For example, consider the interface `Spliterator.OfInt`, which declares these > two methods: > > void