Skip to content

Commit

Permalink
[#808] (Bugfix) Option-specific ITypeConverter class is now correct…
Browse files Browse the repository at this point in the history
…ly included in generated `reflect-config.json`.

Closes #808
  • Loading branch information
remkop committed Sep 8, 2019
1 parent 32aa9bc commit 969d835
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Picocli follows [semantic versioning](http://semver.org/).
* [#803] (Bugfix) Custom `IParameterConsumer` caused native-image to fail. Thanks to [Patrick Plenefisch](https://github.com/byteit101) for raising this.
* [#804] (Bugfix) Visit Parameter Consumers when doing GraalVM reflection generation. Thanks to [Patrick Plenefisch](https://github.com/byteit101) for the pull request.
* [#806] (Bugfix) Added tests for #803. Thanks to [Patrick Plenefisch](https://github.com/byteit101) for the pull request.
* [#808] (Bugfix) Option-specific `ITypeConverter` class is now correctly included in generated `reflect-config.json`.
* [#799] (DOC) Update adoption section in README.
* [#805] (DOC) Add example for alphabetically sorting subcommands by subclassing `Help`. Thanks to []() for raising this issue.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static TypeConverterMetaData[] extract(Element element) {
List<AnnotationValue> typeMirrors = (List<AnnotationValue>) list.getValue();
List<TypeConverterMetaData> result = new ArrayList<TypeConverterMetaData>();
for (AnnotationValue annotationValue : typeMirrors) {
result.add(new TypeConverterMetaData((TypeMirror) annotationValue));
result.add(new TypeConverterMetaData((TypeMirror) annotationValue.getValue()));
}
return result.toArray(new TypeConverterMetaData[0]);
}
Expand Down

0 comments on commit 969d835

Please sign in to comment.