[openwebbeans] fix missing tomcat7 method
gil
gil at fedoraproject.org
Sun Mar 30 11:37:51 UTC 2014
commit e996b584d98981392718ee27f11690221c0931d7
Author: gil <puntogil at libero.it>
Date: Sun Mar 30 13:37:57 2014 +0200
fix missing tomcat7 method
openwebbeans-1.2.0-tomcat7.patch | 14 ++++++++++++++
openwebbeans.spec | 3 +++
2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/openwebbeans-1.2.0-tomcat7.patch b/openwebbeans-1.2.0-tomcat7.patch
new file mode 100644
index 0000000..26aa510
--- /dev/null
+++ b/openwebbeans-1.2.0-tomcat7.patch
@@ -0,0 +1,14 @@
+--- webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat/TomcatInstanceManager.java 2013-05-19 07:22:02.000000000 +0200
++++ webbeans-tomcat7/src/main/java/org/apache/webbeans/web/tomcat/TomcatInstanceManager.java-gil 2014-03-30 13:34:41.888965995 +0200
+@@ -97,6 +97,11 @@
+ return object;
+ }
+
++ public Object newInstance(Class<?> clazz) throws IllegalAccessException, InvocationTargetException, NamingException, InstantiationException
++ {
++ return null;
++ }
++
+ private void inject(Object object)
+ {
+ try
diff --git a/openwebbeans.spec b/openwebbeans.spec
index ae33bc6..3f5d43e 100644
--- a/openwebbeans.spec
+++ b/openwebbeans.spec
@@ -9,6 +9,8 @@ Source0: http://www.apache.org/dist/openwebbeans/%{version}/%{name}-%{vers
Patch0: %{name}-1.1.6-webbeans-web-servlet30.patch
Patch1: %{name}-1.1.6-cditest-owb-servlet30.patch
Patch2: %{name}-1.2.0-xbean-312.patch
+# Add missing tomcat7 method
+Patch3: %{name}-1.2.0-tomcat7.patch
BuildRequires: java-devel
BuildRequires: mvn(asm:asm)
@@ -208,6 +210,7 @@ This package contains javadoc for %{name}.
%patch0 -p1
%patch1 -p0
%patch2 -p0
+%patch3 -p0
rm -r DEPENDENCIES
# require org.apache.openwebbeans.build-tools checkstyle-rules 1.2
More information about the scm-commits
mailing list