Jetty source in Felix Jetty bundle includes usage of non-CDC compatible 
String.split method
-------------------------------------------------------------------------------------------

                 Key: FELIX-2862
                 URL: https://issues.apache.org/jira/browse/FELIX-2862
             Project: Felix
          Issue Type: Bug
          Components: OSGi Companion Code
    Affects Versions: http.jetty-1.0.1
         Environment: Linux OS running Sun's PhoneME (cvm) version mr2-b47.
Tested with Felix Jetty bundle version 1.0.0
            Reporter: Matt Tennant


I found this issue a couple months ago and emailed with the Felix users group 
about it, but I am finally documenting it here now.  This is actually my last 
day with my current job, so I did not want the Felix community to lose track of 
this issue after I left my current job/project.

The problem is in the Jetty code, which I realize this community does not 
maintain.  This JIRA issue is simply to remind Felix to grab the updated Jetty 
for a new bundle as soon as the issue has been resolved on their end.

The Felix Jetty bundle 1.0.0 has Jetty version 6.1.14.  I looked at that Jetty 
code, as well as the latest Jetty code at the time I looked into this, which 
was Jetty version 6.1.25.

Jetty is supposed to be compatible with the Java CDC, as explained here:  
http://docs.codehaus.org/display/JETTY/J2ME+CDC

However, the HttpConnection.java class within Jetty uses the String.split 
method, which is not in the CDC.  This causes a java.lang.NoSuchMethodError 
runtime exception.

I emailed with the Jetty people, and they created a JIRA issue for themselves, 
which you can see here: http://jira.codehaus.org/browse/JETTY-1293.  It appears 
they have fixed the issue in version 6.1.26.

In summary, somebody should create a new Felix Jetty bundle using Jetty 6.1.26 
or later, if you haven't already.  My apologies if this has already been taken 
care of.


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to