Comments (4)
@sentinelt this is my best attempt at a repro, hope it helps!
from classindex.
@sentinelt
Update: I've managed to figure out the fix but it only works on Java 9 and up because of a new method.
Please let me know if you can find a way to make it work with Java 8 since that's what the project I'm working on is using.
Important note: I've added @Inherited
to the @IndexSubclasses
annotation, otherwise the subclasses did not get picked up in an incremental build.
from classindex.
@sentinelt Update - seems like it might be relatively easy to change the annotation processor to be isolating - which means generating a single file for each discovered element.
The problem with this approach is that it makes the class loader incompatible with the ClassLoader
format.
from classindex.
What's the status of this issue? Is there something that can be done?
from classindex.
Related Issues (20)
- Deprecated Gradle setup HOT 2
- META-INF is not changed when file is removed HOT 4
- Problem with eclipse and "Indexing when annotations cannot be used" HOT 1
- Removing dependency to jaxb-api HOT 2
- ClassIndex.getAnnotated returns classes that are no longer annotated HOT 1
- Project URL in POM results in HTTP 404 HOT 1
- ClassIndex must check for NoClassDefFoundError also HOT 2
- Missing changelog for 3.9 HOT 1
- Sub interfaces are added to the service list
- `ClassIndex.getAnnotated()` return nothing, but classes with annotation exist. HOT 2
- Incremental compilation using Gradle is disabled
- Add @RegisterService annotation HOT 1
- Shading relocations are ignored in ClassIndexTransformer
- ClassIndex.getAnnotated(MyAnnotation.class) returns no results HOT 2
- Build crashes in a project using Java records HOT 1
- Update documentation with modular @IndexSubclasses gotcha
- Add support for Java modules HOT 3
- Is this project dead? HOT 1
- Returns classes that are no longer annotated. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from classindex.