From 4e646605b621dcc6a65ffd8793a864abf6078b11 Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Sat, 22 Nov 2014 12:27:01 +0200 Subject: [PATCH] Use @Inherited for annotations that have inherited semantic (#12351). Change-Id: I70f0d79095bfd05b83905df6a3eedd1a5e93b48e --- WebContent/release-notes.html | 2 + .../vaadin/annotations/PreserveOnRefresh.java | 2 + server/src/com/vaadin/annotations/Push.java | 2 + server/src/com/vaadin/annotations/Theme.java | 2 + server/src/com/vaadin/annotations/Title.java | 2 + .../VaadinServletConfiguration.java | 2 + .../src/com/vaadin/annotations/Widgetset.java | 2 + server/src/com/vaadin/server/UIProvider.java | 34 ++++-- .../src/com/vaadin/server/UIProviderTest.java | 113 ++++++++++++++++++ 9 files changed, 152 insertions(+), 9 deletions(-) create mode 100644 server/tests/src/com/vaadin/server/UIProviderTest.java diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html index bccb867c4d..debf544ed5 100644 --- a/WebContent/release-notes.html +++ b/WebContent/release-notes.html @@ -147,6 +147,8 @@ This default can be changed in deployment configuration.
  • Server-side timings of request processing are only sent to the client when not in production mode. Using the timings in TestBench tests requires the server not to be in production mode.
  • +
  • The annotations @PreserveOnRefresh, @Push, @Theme, @Title, @VaadinServletConfiguration and @Widgetset now use + @Inherited. The annotation is also looked up in extended interfaces for backwards compatibility.
  • Known Issues and Limitations