You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Valentin Valchev (JIRA)" <ji...@apache.org> on 2009/12/21 15:20:18 UTC

[jira] Issue Comment Edited: (FELIX-1957) Make Web Console compatible with OSGi/Minimum-1.0 EE

    [ https://issues.apache.org/jira/browse/FELIX-1957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793207#action_12793207 ] 

Valentin Valchev edited comment on FELIX-1957 at 12/21/09 2:19 PM:
-------------------------------------------------------------------

The attached 'matches-patch.patch' fixes the usage of
String.matches(pattern) in BundlesServlet

The usage of String.replaceAll() in ConfigurationRender can be replaced by WebConsoleUtil.escapeHtml()
(see https://issues.apache.org/jira/browse/FELIX-1956 )

      was (Author: v_valchev):
    The attached 'matches-patch.patch' fixes the usage of
String.matches(pattern) in BundlesServlet

The usage of String.replaceAll() in ConfigurationRender can be replaced by WebConsoleUtil.escapeHtml()
(see https://issues.apache.org/jira/browse/FELIX-1956)
  
> Make Web Console compatible with OSGi/Minimum-1.0 EE
> ----------------------------------------------------
>
>                 Key: FELIX-1957
>                 URL: https://issues.apache.org/jira/browse/FELIX-1957
>             Project: Felix
>          Issue Type: New Feature
>          Components: Web Console
>            Reporter: Valentin Valchev
>         Attachments: mathes-patch.patch
>
>
> Currently the Web Console requires some methods that are JDK 1.4+ specific.
> In some embedded JVM the methods are not available. 
> However, it's not needed to sync with each embedded JVM but make sure to run at least at OSGi/Minimum-1.0 Execution Environment.
> The problem methods are:
> String.matches(pattern);   (LicenseServlet & BundlesServlet)
> String.replaceAll();              (ConfigurationRender)
> String.split();                        (BundleRepositoryRender)
> The class LinkedHashMap is missing in OSGi/Minimum-1.0 EE but used in the ConfigurationListener.

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