From 89f76b9dbad93260632ae1e025b607daa64d9f81 Mon Sep 17 00:00:00 2001 From: Denis Anisimov Date: Sat, 22 Nov 2014 12:27:01 +0200 Subject: Use @Inherited for annotations that have inherited semantic (#12351). Change-Id: I70f0d79095bfd05b83905df6a3eedd1a5e93b48e --- WebContent/release-notes.html | 2 + .../com/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 + .../annotations/VaadinServletConfiguration.java | 2 + server/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 4286b3ace0..f7b5611be5 100644 --- a/WebContent/release-notes.html +++ b/WebContent/release-notes.html @@ -140,6 +140,8 @@ cause problems with external libraries compiled against said versions.
  • Declarative format is now using "vaadin-" as a default prefix instead of the "v-" prefix used in 7.5. This default can be changed in deployment configuration.
  • +
  • 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