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-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2015-04-07 13:08:51 +03:00
2015-03-17 15:47:39 +03:00
2015-05-12 19:43:17 +02: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-03-17 15:47:39 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-08-03 19:41:50 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-03-17 15:47:39 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-10-09 21:06:26 +03:00
2015-10-07 08:46:34 +03:00
2015-03-17 15:47:39 +03:00
2015-05-12 19:43:17 +02:00
2015-10-07 08:46:34 +03:00
2015-04-29 14:03:11 +03:00
2015-04-07 13:08:51 +03:00
2015-03-17 15:47:39 +03:00
2015-03-17 15:47:39 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-01-13 15:02:16 +03:00
2015-05-12 19:43:17 +02:00
2015-04-07 13:08:51 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-10-07 08:46:34 +03:00
2015-10-12 14:12:31 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-05-15 16:13:32 +03:00
2015-03-17 15:47:39 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00
2015-09-18 10:14:41 +03:00
2015-10-07 15:13:14 +03:00
2015-10-07 15:13:14 +03:00
2015-03-27 18:51:07 +01:00
2015-06-18 17:40:24 +03:00
2015-03-17 15:47:39 +03:00
2015-10-07 08:46:34 +03:00
2015-10-07 08:46:34 +03:00
2015-10-07 08:46:34 +03:00
2015-10-07 08:46:34 +03:00
2014-12-08 18:24:30 +03:00
2015-09-21 15:48:00 +03:00
2015-05-12 19:43:17 +02:00
2015-05-12 19:43:17 +02:00