Dmitry Petrov
5d9ee7efee
Java 8 rules for method overrides:
...
- base class method wins against a (default) interface method,
so an abstract base class method should always be implemented
in a derived class;
- interface methods clash regardless of abstract/default
with possibly undefined behavior at run-time,
so a class or interface should always define its own method
for methods inherited from multiple interfaces and not from base class;
- meaningful diagnostics for class inheriting conflicting JVM signatures.
Since no override will happen under Java 8 rules,
ACCIDENTAL_OVERRIDE is misleading for this case;
- update testData.
2015-10-12 14:12:31 +03:00
..
2015-02-20 16:01:26 +03:00
2015-10-12 14:12:31 +03:00
2015-10-12 14:12:31 +03:00
2014-04-17 19:51:31 +04:00
2014-04-17 19:51:31 +04:00
2014-05-22 19:32:10 +04:00
2015-05-13 16:13:13 +02:00
2015-09-08 02:05:38 +03:00
2014-04-17 19:51:32 +04:00
2015-09-08 02:05:38 +03:00
2015-09-08 02:05:38 +03:00
2014-04-17 19:51:29 +04:00
2015-09-08 02:05:38 +03:00
2015-09-08 02:05:38 +03:00
2014-04-17 19:51:29 +04:00
2014-07-25 21:19:39 +04:00
2014-07-25 21:19:39 +04:00
2015-01-13 01:15:09 +03:00
2015-03-17 23:18:34 +03:00
2015-03-17 23:18:34 +03:00
2015-03-17 23:18:34 +03:00
2015-09-08 02:05:38 +03:00
2015-03-17 23:18:34 +03:00
2015-03-17 23:18:34 +03:00
2015-09-08 02:05:38 +03:00
2015-05-13 16:13:13 +02:00
2014-04-17 19:51:29 +04:00
2014-04-17 19:51:29 +04:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2015-09-25 08:29:25 +03:00
2015-08-18 21:26:42 +03:00
2015-08-18 21:26:42 +03:00
2013-05-07 13:14:43 +04:00
2013-05-07 13:14:43 +04:00
2013-05-07 13:14:43 +04:00
2013-10-16 20:41:23 +04:00
2014-04-17 19:51:29 +04:00
2015-05-13 16:13:13 +02:00
2014-04-17 19:51:32 +04:00
2014-04-17 19:51:32 +04:00
2014-09-01 12:32:50 +04:00
2015-03-17 15:47:39 +03:00
2014-09-01 12:32:50 +04:00
2014-09-01 12:32:50 +04:00
2015-03-17 15:47:39 +03:00
2014-09-07 01:04:00 +04:00
2014-09-07 01:04:00 +04:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2015-09-01 23:37:42 +03:00
2015-09-01 23:37:42 +03:00
2015-09-01 23:37:42 +03:00
2014-04-30 13:34:34 +04:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2015-07-10 15:05:12 +03:00
2014-03-02 19:55:26 +04:00
2013-10-16 20:41:23 +04:00
2015-01-30 13:33:35 +03:00
2015-01-30 13:33:35 +03:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2014-04-30 13:34:30 +04:00
2013-10-16 20:41:23 +04:00
2014-04-30 13:34:30 +04:00
2015-05-13 16:13:13 +02:00
2014-11-21 14:02:43 +03:00
2014-11-21 14:02:43 +03:00
2014-04-17 19:51:31 +04:00
2014-04-17 19:51:31 +04:00
2014-04-17 19:51:29 +04:00
2014-04-17 19:51:29 +04:00
2014-04-17 19:51:31 +04:00
2014-04-17 19:51:31 +04:00
2014-03-02 19:55:26 +04:00
2014-03-02 19:55:26 +04:00
2014-03-02 19:55:26 +04:00
2015-05-13 16:13:13 +02:00