-
Notifications
You must be signed in to change notification settings - Fork 6
Scijava parameters (list?) do not work with wildcards generics #171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could you paste a minimal example here? Then we could ask some knowledgable people 😃 Is it syntax like below that fails?
|
Yep, I'll try to do that! Probably not in this repo. I think the issue is in scijava-common. I'll ping you ! |
For the record: scijava/scijava-common#415 |
👍 Thanks @imagejan. I'll be able to move on with this once scijava/scijava-common#416 is merged |
scijava/scijava-common#416 was merged, so we just need a new release of |
@NicoKiaru @imagejan scijava-common is slated for release in the next pom-scijava, which is waiting for TrakEM2 and multiview-reconstruction. |
So it's done now @hinerm ? If I update scijava pom to 30.0.0, I should have the fix, right ? Another point : when is pom-scijava 30 supposed to be released for 'real', like in https://imagej.net/Fiji/Downloads ? |
@NicoKiaru not yet: scijava/pom-scijava@b178a0b was committed after the (You can still manually pin to
Ideally, the state of the update site should be the same as in the latest release of https://github.com/fiji/fiji/blob/9f01b16ab55e5168dd111f6026386bc464a39a96/pom.xml#L5-L10 However, I don't think there was another big round of uploads after that |
Working on wildcard generics fix in the branch https://github.com/bigdataviewer/bigdataviewer-playground/tree/fix-raw |
https://github.com/bigdataviewer/bigdataviewer-playground/tree/fix-raw Will be merged for release with scijava 32. |
All scijava commands now have generics . Wildcards everywhere because we are working on arrays of sources which can have different types. |
The fixes-rawtype branch attempts to remove raw types in SourceAndConverter. Unfortunately, this fails with scijava input preprocessor. For some reasons, scijava attempts to put a File array into the parameter instead of a SourceAndConverter array.
Solving this needs more digging into the problematic scijava mechanism.
For now this prevents merging the rawtype-fix branch
The text was updated successfully, but these errors were encountered: