eclipse-ee4j / eclipse-ee4j/jersey

OsgiRegistry attempts to load classes from comment lines

Open
#3,846 0 comments 0 reactions 0 assignees View on GitHub
2.28
Dominant language
Java
Stars
730
Forks
382
PR merge metrics
No merged PRs in 30d

Description

https://github.com/eclipse-ee4j/jersey/blob/12a057315292a624ceb31b58bd04eec3cb19a819/core-common/src/main/java/org/glassfish/jersey/internal/OsgiRegistry.java#L209

I've run into a problem in my (admittedly bizarre) environment where I'm attempting to bind Jersey with Weld in an OSGi environment that's a bit too old to use the non-SE Weld container. Setting aside the ugliness of my project, I found that the `OsgiLoader` class attempts to load lines from factory files that start with "#", such as this one from the cdi2-se package:

https://github.com/eclipse-ee4j/jersey/blob/12a057315292a624ceb31b58bd04eec3cb19a819/inject/cdi2-se/src/main/resources/META-INF/services/org.glassfish.jersey.internal.inject.InjectionManagerFactory

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.