RFR: 8257037: No javac warning when calling deprecated constructor with diamond [v2]
Maurizio Cimadamore
mcimadamore at openjdk.java.net
Tue Dec 1 21:10:55 UTC 2020
On Mon, 30 Nov 2020 16:00:42 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:
> Is the code `newConstr.setAttributes(sym);` necessary in `Resolve.findDiamond`?
Sorry, that was a leftover from a previous experiment. That's not necessary. We'll run some more tests on our side and I'll let you know.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1490
More information about the compiler-dev
mailing list