jaxb-api bundle should throw JAXBException when contextPath is empty string
---------------------------------------------------------------------------

                 Key: SMX4-329
                 URL: https://issues.apache.org/activemq/browse/SMX4-329
             Project: ServiceMix 4
          Issue Type: Bug
            Reporter: Freeman Fang
             Fix For: specs-1.4.0


currently the code is
String[] packages = contextPath.split(":");
       if (packages == null || packages.length == 0) {
           throw new JAXBException("Invalid contextPath");
       }

but if contextPath is "", then the pachages.length == 1 but pachages[0] == "", 
we should also throw exception for this case

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to