camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael Winterhalter (JIRA)" <>
Subject [jira] [Created] (CAMEL-8236) WebSphere class loader detection is too sensitive
Date Tue, 13 Jan 2015 09:01:36 GMT
Rafael Winterhalter created CAMEL-8236:

             Summary: WebSphere class loader detection is too sensitive
                 Key: CAMEL-8236
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.14.1
            Reporter: Rafael Winterhalter
            Priority: Minor

The DefaultCamelContext attempts to detect an IBM WebSphere application server by a simple
test: loader.getClass().getName().startsWith("")

This test can introduce very subtle bugs and I suggest to replace it by a list of known class
names of WebSphere class loaders. At least, one should add an additional dot in order to avoid
matching packages that only start with "" such as any "com.ibmfoobar".

This message was sent by Atlassian JIRA

View raw message