[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
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.