FULL PRODUCT VERSION :
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 32 bit
A DESCRIPTION OF THE PROBLEM :
Getting compiler error while trying to override constructor in a class
ERROR MESSAGES/STACK TRACES THAT OCCUR :
compilation error:
Erasure of method Student(int, String, Address, List<Integer>) is the same as another method in type Student
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public Student(int id, String name, Address address, List<String> subjects) {
super();
}
public Student(int id, String name, Address address, List<Integer> lab) {
super();
}
---------- END SOURCE ----------
SUPPORT :
YES
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Windows 7 32 bit
A DESCRIPTION OF THE PROBLEM :
Getting compiler error while trying to override constructor in a class
ERROR MESSAGES/STACK TRACES THAT OCCUR :
compilation error:
Erasure of method Student(int, String, Address, List<Integer>) is the same as another method in type Student
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public Student(int id, String name, Address address, List<String> subjects) {
super();
}
public Student(int id, String name, Address address, List<Integer> lab) {
super();
}
---------- END SOURCE ----------
SUPPORT :
YES