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 2010/09/21 17:09:32 UTC
[jira] Updated: (FELIX-2609) WebConsole doesn't work with JDK
1.3.1_06 because of Locale
[ https://issues.apache.org/jira/browse/FELIX-2609?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Valentin Valchev updated FELIX-2609:
------------------------------------
Fix Version/s: webconsole-3.1.4
Affects Version/s: webconsole-3.1.2
Fixed in rev.999455
> WebConsole doesn't work with JDK 1.3.1_06 because of Locale
> -----------------------------------------------------------
>
> Key: FELIX-2609
> URL: https://issues.apache.org/jira/browse/FELIX-2609
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.2
> Reporter: Valentin Valchev
> Assignee: Valentin Valchev
> Fix For: webconsole-3.1.4
>
>
> When creating Locale object, in webconsole we use new Locale("string"), which is new in JDK 1.4.
> If running on JDK 1.3 the following exception occurs:
> Exception: java.lang.NoSuchMethodError
> at org.apache.felix.webconsole.internal.i18n.ResourceBundleCache.getParentLocale(ResourceBundleCache.java:172)
> at org.apache.felix.webconsole.internal.i18n.ResourceBundleCache.getResourceBundleInternal(ResourceBundleCache.java:88)
> at org.apache.felix.webconsole.internal.i18n.ResourceBundleCache.getResourceBundle(ResourceBundleCache.java:68)
> at org.apache.felix.webconsole.internal.i18n.ResourceBundleManager.getResourceBundle(ResourceBundleManager.java:85)
> at org.apache.felix.webconsole.internal.servlet.OsgiManager.wrapResponse(OsgiManager.java:572)
> at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:426)
> at org.apache.felix.webconsole.internal.servlet.OsgiManager.service(OsgiManager.java:375)
> at com.prosyst.mbs.impl.services.http.ServletProperties.service(ServletProperties.java:108)
> at com.prosyst.mbs.impl.services.http.Response.makeAnswer(Response.java:212)
> at com.prosyst.mbs.impl.services.http.ThreadProcess.run(ThreadProcess.java:102)
> at com.prosyst.util.impl.tpt.threadpool.ExecutorGeneral.run(ExecutorGeneral.java:182)
> It can be easily fixed by replacing new Locale("string") with new Locale("string", "");
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.