mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8026369: javac potentially ambiguous overload warning needs an improved scheme
Reviewed-by: vromero
This commit is contained in:
parent
14a014d430
commit
1e3c9fd67e
16 changed files with 364 additions and 82 deletions
|
@ -659,6 +659,7 @@ public interface Spliterator<T> {
|
|||
* A Spliterator specialized for {@code int} values.
|
||||
* @since 1.8
|
||||
*/
|
||||
@SuppressWarnings("overloads")
|
||||
public interface OfInt extends OfPrimitive<Integer, IntConsumer, OfInt> {
|
||||
|
||||
@Override
|
||||
|
@ -723,6 +724,7 @@ public interface Spliterator<T> {
|
|||
* A Spliterator specialized for {@code long} values.
|
||||
* @since 1.8
|
||||
*/
|
||||
@SuppressWarnings("overloads")
|
||||
public interface OfLong extends OfPrimitive<Long, LongConsumer, OfLong> {
|
||||
|
||||
@Override
|
||||
|
@ -787,6 +789,7 @@ public interface Spliterator<T> {
|
|||
* A Spliterator specialized for {@code double} values.
|
||||
* @since 1.8
|
||||
*/
|
||||
@SuppressWarnings("overloads")
|
||||
public interface OfDouble extends OfPrimitive<Double, DoubleConsumer, OfDouble> {
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue