Package: libfelix-bundlerepository-java
Version: 2.0.10-4
Severity: important

Bundle fails to start under Java 12:

--8<---------------cut here---------------start------------->8---
$ JAVA_HOME=/usr/lib/jvm/java-12-openjdk-amd64/ felix-framework
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
org.apache.felix.framework.util.SecureAction 
(file:/usr/share/java/org.apache.felix.main.jar) to method 
java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of 
org.apache.felix.framework.util.SecureAction
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations
WARNING: All illegal access operations will be denied in a future release
ERROR: Bundle org.apache.felix.bundlerepository [1] Error starting 
file:/usr/share/felix-framework/bundle/org.apache.felix.bundlerepository.jar 
(org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.felix.bundlerepository [1]: Unable to resolve 1.0: missing 
requirement [1.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7)))
org.osgi.framework.BundleException: Unresolved constraint in bundle 
org.apache.felix.bundlerepository [1]: Unable to resolve 1.0: missing 
requirement [1.0] osgi.ee; (&(osgi.ee=JavaSE)(version=1.7))
        at 
org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4097)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:2114)
        at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1368)
        at 
org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
        at java.base/java.lang.Thread.run(Thread.java:835)
____________________________
Welcome to Apache Felix Gogo

g! gosh: stopping framework
--8<---------------cut here---------------end--------------->8---

At the same time, it starts under Java 8:

--8<---------------cut here---------------start------------->8---
$ JAVA_HOME=/usr/lib/jvm/java-12-openjdk-amd64/ felix-framework
____________________________
Welcome to Apache Felix Gogo

g! lb      
START LEVEL 1
   ID|State      |Level|Name
    0|Active     |    0|System Bundle (4.6.1)
    1|Active     |    1|Apache Felix Bundle Repository (2.0.10)
    2|Active     |    1|Apache Felix Gogo Command (0.14.0)
    3|Active     |    1|Apache Felix Gogo Runtime (0.16.2)
    4|Active     |    1|Apache Felix Gogo Shell (0.12.0)
g! gosh: stopping framework
--8<---------------cut here---------------end--------------->8---


-- System Information:
Debian Release: buster/sid
  APT prefers stable
  APT policy: (900, 'stable'), (190, 'testing'), (180, 'unstable'), (170, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_WARN, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libfelix-bundlerepository-java depends on:
ii  libosgi-core-java  6.0.0-1

libfelix-bundlerepository-java recommends no packages.

Versions of packages libfelix-bundlerepository-java suggests:
pn  libfelix-bundlerepository-java-doc  <none>
ii  libfelix-gogo-runtime-java          0.16.2-1
ii  libfelix-osgi-obr-java              1.0.2-5
ii  libfelix-shell-java                 1.4.3-2
pn  libfelix-utils-java                 <none>
ii  libkxml2-java                       2.3.0+ds1-2
ii  libosgi-compendium-java             6.0.0-1

-- no debconf information

Reply via email to