FELIX-4587 : Update method is not verified
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1613906 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/scrplugin/generator/changelog.txt b/scrplugin/generator/changelog.txt
index 6366f0f..4da288b 100644
--- a/scrplugin/generator/changelog.txt
+++ b/scrplugin/generator/changelog.txt
@@ -4,6 +4,7 @@
* [FELIX-4586] - A field must be volatile if methods are generated for a dynamic reference
** Bug
* [FELIX-4296] - Cannot deactivate service interface detection in DS annotations
+ * [FELIX-4587] - Update method is not verified
Changes from 1.10.0 to 1.9.0
diff --git a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
index 9b3fa6d..29ba89d 100644
--- a/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
+++ b/scrplugin/generator/src/main/java/org/apache/felix/scrplugin/helper/Validator.java
@@ -528,6 +528,7 @@
this.logError(ref, "Updated method declaration requires version "
+ SpecVersion.VERSION_1_1_FELIX.getName() + ", " + SpecVersion.VERSION_1_2.getName() + " or newer");
}
+ this.validateMethod(ref, ref.getUpdated(), componentIsAbstract);
}
}
}
diff --git a/scrplugin/maven-scr-plugin/changelog.txt b/scrplugin/maven-scr-plugin/changelog.txt
index e280674..2a49e44 100644
--- a/scrplugin/maven-scr-plugin/changelog.txt
+++ b/scrplugin/maven-scr-plugin/changelog.txt
@@ -5,6 +5,7 @@
* [FELIX-4530] - Revisit setting the default output to target/classes
** Bug
* [FELIX-4296] - Cannot deactivate service interface detection in DS annotations
+ * [FELIX-4587] - Update method is not verified
Changes from 1.17.0 to 1.16.0
diff --git a/scrplugin/scrtask/changelog.txt b/scrplugin/scrtask/changelog.txt
index 8cd24e8..8929f55 100644
--- a/scrplugin/scrtask/changelog.txt
+++ b/scrplugin/scrtask/changelog.txt
@@ -4,6 +4,7 @@
* [FELIX-4586] - A field must be volatile if methods are generated for a dynamic reference
** Bug
* [FELIX-4296] - Cannot deactivate service interface detection in DS annotations
+ * [FELIX-4587] - Update method is not verified
Changes from 1.11.0 to 1.10.0