[arquillian-issues] [JBoss JIRA] (ARQ-1965) Tomcat 7 Adapter rely on ContextHome constructor introduced in 7.0.52

Aslak Knutsen (JIRA) issues at jboss.org
Wed Jul 15 19:10:02 EDT 2015


Aslak Knutsen created ARQ-1965:
----------------------------------

             Summary: Tomcat 7 Adapter rely on ContextHome constructor introduced in 7.0.52
                 Key: ARQ-1965
                 URL: https://issues.jboss.org/browse/ARQ-1965
             Project: Arquillian
          Issue Type: Bug
          Components: Tomcat Containers
    Affects Versions: tomcat_1.0.0.CR7
            Reporter: Aslak Knutsen


Tomcat 7 Adapter rely on Code from 7.0.52

https://github.com/arquillian/arquillian-container-tomcat/blob/master/tomcat-embedded-7/src/main/java/org/jboss/arquillian/container/tomcat/embedded/EmbeddedHostConfig.java#L81

and 

https://github.com/arquillian/arquillian-container-tomcat/blob/master/tomcat-embedded-7/src/main/java/org/jboss/arquillian/container/tomcat/embedded/Tomcat7EmbeddedContainer.java#L318

ContextHome(String, Boolean) is new in 7.0.52 but missing in previous versions.

Use reflection to check if (String, Boolean) exists, else fall back to (String).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the arquillian-issues mailing list