[jira] [Created] (FELIX-3977) @Property: ArrayIndexOutOfBoundsException empty array default value
Felix Meschberger created FELIX-3977: Summary: @Property: ArrayIndexOutOfBoundsException empty array default value Key: FELIX-3977 URL: https://issues.apache.org/jira/browse/FELIX-3977 Project: Felix Issue Type: Bug Components: Maven SCR Plugin Affects Versions: maven-scr-plugin-1.11.0, maven-scr-plugin-1.9.0, maven-scr-plugin-1.8.0 Reporter: Felix Meschberger The following setup fails the SCR Plugin with an ArrayIndexOutOfBoundsException: private static final String PROP = prop; @Property(name = PROP) private static final String[] PROP_DEFAULT = {}; Stacktrace from SCR Plugin 1.11.0: Caused by: java.lang.ArrayIndexOutOfBoundsException at java.lang.reflect.Array.get(Native Method) at org.apache.felix.scrplugin.processing.SCRAnnotationProcessor.createProperties(SCRAnnotationProcessor.java:399) at org.apache.felix.scrplugin.processing.SCRAnnotationProcessor.process(SCRAnnotationProcessor.java:174) at org.apache.felix.scrplugin.helper.AnnotationProcessorManager.process(AnnotationProcessorManager.java:98) at org.apache.felix.scrplugin.helper.ClassScanner.processClass(ClassScanner.java:213) at org.apache.felix.scrplugin.helper.ClassScanner.process(ClassScanner.java:161) at org.apache.felix.scrplugin.helper.ClassScanner.scanSources(ClassScanner.java:146) at org.apache.felix.scrplugin.SCRDescriptorGenerator.execute(SCRDescriptorGenerator.java:149) at org.apache.felix.scrplugin.mojo.SCRDescriptorMojo.execute(SCRDescriptorMojo.java:248) Workaround is to define without a default value like this: @Property(unbounded = PropertyUnbounded.ARRAY) private static final String PROP = prop; private static final String[] PROP_DEFAULT = {}; -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-3976) Move the online manipulator out of the core bundle
[ https://issues.apache.org/jira/browse/FELIX-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier updated FELIX-3976: - Issue Type: Task (was: Bug) Move the online manipulator out of the core bundle -- Key: FELIX-3976 URL: https://issues.apache.org/jira/browse/FELIX-3976 Project: Felix Issue Type: Task Components: iPOJO Affects Versions: ipojo-runtime-1.8.6 Reporter: Clement Escoffier Fix For: ipojo-manipulator-1.8.8 Externalize the online-manipulator to the manipulator project. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-3976) Move the online manipulator out of the core bundle
[ https://issues.apache.org/jira/browse/FELIX-3976?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier resolved FELIX-3976. -- Resolution: Fixed Fixed in trunk Move the online manipulator out of the core bundle -- Key: FELIX-3976 URL: https://issues.apache.org/jira/browse/FELIX-3976 Project: Felix Issue Type: Task Components: iPOJO Affects Versions: ipojo-runtime-1.8.6 Reporter: Clement Escoffier Assignee: Clement Escoffier Fix For: ipojo-manipulator-1.8.8 Externalize the online-manipulator to the manipulator project. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (FELIX-3978) Check that we don't use java 6+ API
Clement Escoffier created FELIX-3978: Summary: Check that we don't use java 6+ API Key: FELIX-3978 URL: https://issues.apache.org/jira/browse/FELIX-3978 Project: Felix Issue Type: Task Components: iPOJO Affects Versions: ipojo-runtime-1.8.6 Reporter: Clement Escoffier Fix For: ipojo-runtime-1.10 The new source code is targetting java 1.5. We should use the animal sniffer plugin to avoid using java 1.6+ API. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (FELIX-3978) Check that we don't use java 6+ API
[ https://issues.apache.org/jira/browse/FELIX-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier updated FELIX-3978: - Assignee: Clement Escoffier Check that we don't use java 6+ API --- Key: FELIX-3978 URL: https://issues.apache.org/jira/browse/FELIX-3978 Project: Felix Issue Type: Task Components: iPOJO Affects Versions: ipojo-runtime-1.8.6 Reporter: Clement Escoffier Assignee: Clement Escoffier Fix For: ipojo-runtime-1.10 The new source code is targetting java 1.5. We should use the animal sniffer plugin to avoid using java 1.6+ API. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-3978) Check that we don't use java 6+ API
[ https://issues.apache.org/jira/browse/FELIX-3978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Clement Escoffier resolved FELIX-3978. -- Resolution: Fixed Fixed in trunk Check that we don't use java 6+ API --- Key: FELIX-3978 URL: https://issues.apache.org/jira/browse/FELIX-3978 Project: Felix Issue Type: Task Components: iPOJO Affects Versions: ipojo-runtime-1.8.6 Reporter: Clement Escoffier Assignee: Clement Escoffier Fix For: ipojo-runtime-1.10 The new source code is targetting java 1.5. We should use the animal sniffer plugin to avoid using java 1.6+ API. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-3979) Gogo must support method names with both uppercase and lowercase
[ https://issues.apache.org/jira/browse/FELIX-3979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cristiano Gavião resolved FELIX-3979. - Resolution: Cannot Reproduce The issue could not be reproduced in a Felix environment, so it seems to be exclusive to Equinox's org.eclipse.equinox.console bundle. Gogo must support method names with both uppercase and lowercase Key: FELIX-3979 URL: https://issues.apache.org/jira/browse/FELIX-3979 Project: Felix Issue Type: Bug Components: Gogo Command, Gogo Runtime Affects Versions: gogo.command-0.12.0, gogo.runtime-0.10.0 Environment: Equinox Kepler Reporter: Cristiano Gavião Priority: Critical Attachments: org.jbehave.osgi.commands.zip When I tried to register the method below Gogo ignored it: @Descriptor(Run stories with an annotated embedder runner.) public void runStoriesWithAnnotatedEmbedderRunner(@Descriptor(class names) String classNames) { } Even when I used these function names: runstorieswithannotatedembedderrunner or runStoriesWithAnnotatedEmbedderRunner If I refactor both the method and function names to all lowercase than Gogo accepts it. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (FELIX-3975) [DS] Give ParseException cause to move out of the stone age
[ https://issues.apache.org/jira/browse/FELIX-3975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Jencks resolved FELIX-3975. - Resolution: Fixed fixed in rev 1459140 [DS] Give ParseException cause to move out of the stone age --- Key: FELIX-3975 URL: https://issues.apache.org/jira/browse/FELIX-3975 Project: Felix Issue Type: Bug Components: Declarative Services (SCR) Affects Versions: scr-1.8.0 Reporter: David Jencks Assignee: David Jencks Fix For: scr-1.8.0 no longer the stone age, we can use the general getCause() bits of exceptions. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (FELIX-3980) Add documentation related to usage of Felix JAAS Bundle
Chetan Mehrotra created FELIX-3980: -- Summary: Add documentation related to usage of Felix JAAS Bundle Key: FELIX-3980 URL: https://issues.apache.org/jira/browse/FELIX-3980 Project: Felix Issue Type: Task Affects Versions: jaas-1.0.0 Reporter: Chetan Mehrotra Assignee: Chetan Mehrotra The documentation of the Felix JAAS Module currently is present at [1]. This needs to be moved to Apache Felix website [1] https://github.com/chetanmeh/c/wiki/JAAS-in-OSGi -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (FELIX-3981) Create a sample project for demonstrating Felix JAAS main features
Chetan Mehrotra created FELIX-3981: -- Summary: Create a sample project for demonstrating Felix JAAS main features Key: FELIX-3981 URL: https://issues.apache.org/jira/browse/FELIX-3981 Project: Felix Issue Type: Task Affects Versions: jaas-1.0.0 Reporter: Chetan Mehrotra Assignee: Chetan Mehrotra In addition to the documentation around JAAS support (FELIX-3980) it would be helpful if sample projects can be provided which quickly demonstrate JAAS usage. The sample code can live under [1] As of now one can get some details from wiki [2] and testcases [3] [1] http://svn.apache.org/repos/asf/felix/trunk/examples [2] https://github.com/chetanmeh/c/wiki/JAAS-in-OSGi [3] http://svn.apache.org/repos/asf/felix/trunk/jaas/src/test/java/org/apache/felix/jaas/integration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Created] (FELIX-3981) Create a sample project for demonstrating Felix JAAS main features
Chetan Mehrotra created FELIX-3981: -- Summary: Create a sample project for demonstrating Felix JAAS main features Key: FELIX-3981 URL: https://issues.apache.org/jira/browse/FELIX-3981 Project: Felix Issue Type: Task Affects Versions: jaas-1.0.0 Reporter: Chetan Mehrotra Assignee: Chetan Mehrotra In addition to the documentation around JAAS support (FELIX-3980) it would be helpful if sample projects can be provided which quickly demonstrate JAAS usage. The sample code can live under [1] As of now one can get some details from wiki [2] and testcases [3] [1] http://svn.apache.org/repos/asf/felix/trunk/examples [2] https://github.com/chetanmeh/c/wiki/JAAS-in-OSGi [3] http://svn.apache.org/repos/asf/felix/trunk/jaas/src/test/java/org/apache/felix/jaas/integration -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira