felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pierre Bourret (JIRA)" <j...@apache.org>
Subject [jira] Updated: (FELIX-2392) Felix framework uses a Java5 method
Date Fri, 04 Jun 2010 13:28:56 GMT

     [ https://issues.apache.org/jira/browse/FELIX-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Pierre Bourret updated FELIX-2392:
----------------------------------

    Description: 
The Felix framework uses the String.contains(CharSequence) method that is NOT part of the
OSGi minimum EE. This result in a failure when launching Felix in Java 1.4 and lower EE (such
as Mika).

org.apache.felix.framework.Felix.java:3699
    if (toRet.contains("${pom"))

should, by example, be replaced by
    if (toRet.indexOf("${pom") >= 0)

(sorry, no patch quickly available ;)

  was:
The Felix framework uses the String.contains(CharSequence) method that is part of the OSGi
minimum EE. This result in a failure when launching Felix in Java 1.4 and lower EE (such as
Mika).

org.apache.felix.framework.Felix.java:3699
    if (toRet.contains("${pom"))

should, by example, be replaced by
    if (toRet.indexOf("${pom") >= 0)

(sorry, no patch quickly available ;)


> Felix framework uses a Java5 method
> -----------------------------------
>
>                 Key: FELIX-2392
>                 URL: https://issues.apache.org/jira/browse/FELIX-2392
>             Project: Felix
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: framework-2.0.5
>         Environment: Linux Ubuntu i386, OpenMika VM 1.4.6
>            Reporter: Pierre Bourret
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> The Felix framework uses the String.contains(CharSequence) method that is NOT part of
the OSGi minimum EE. This result in a failure when launching Felix in Java 1.4 and lower EE
(such as Mika).
> org.apache.felix.framework.Felix.java:3699
>     if (toRet.contains("${pom"))
> should, by example, be replaced by
>     if (toRet.indexOf("${pom") >= 0)
> (sorry, no patch quickly available ;)

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


Mime
View raw message