You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jamie goodyear (JIRA)" <ji...@apache.org> on 2010/06/23 18:16:51 UTC

[jira] Updated: (FELIX-2440) [Karaf] JDK 1.5 build issues

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

Jamie goodyear updated FELIX-2440:
----------------------------------

    Attachment: FELIX-2440-part1.patch

File: FELIX-2440-part1.patch

Contains a fix for a failing unit test when using JDK 1.5.

> [Karaf] JDK 1.5 build issues
> ----------------------------
>
>                 Key: FELIX-2440
>                 URL: https://issues.apache.org/jira/browse/FELIX-2440
>             Project: Felix
>          Issue Type: Bug
>          Components: Karaf
>         Environment: Java 1.5
>            Reporter: Jamie goodyear
>         Attachments: FELIX-2440-part1.patch
>
>
> Building Felix Karaf as of rev 957256 using Java 1.5 will result in various build errors.
> The first issue is a test case failure in FeaturesServiceTest, this can be resolved by modifying FeaturesServiceImpl to use a TreeSet instead of HashSet in doInstallFeature(), and then tweeking the test case to use the values "12345,54321" instead of "54321,12345". Please see attached patch file for this issue.
> The second issue is with the use of "StandardEmitterMBean". This class appears to only be available as of Java 1.6 http://java.sun.com/javase/6/docs/api/javax/management/StandardEmitterMBean.html. Karaf's FeaturesServiceMBeanImpl extends StandardEmitterMBean, as such this is a problem for building with JDK 1.5.
> Could we implement our own StandardEmitterMBean or substitute it with another available bean?

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