Skip to content
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

Move to Java 17 and higher #173

Merged
merged 6 commits into from
Feb 21, 2024
Merged

Move to Java 17 and higher #173

merged 6 commits into from
Feb 21, 2024

Conversation

jkosternl
Copy link
Contributor

Refactored mechanism how the EasyDoclet in the unittests was used. Now it uses less internals of the JVM, but uses the Start class of the Javadoc tools. The same tools are used by the Javadoc binary itself, so it is more future proof.

Secondly, bumped a lot of plugins used and deps were available.

@jkosternl jkosternl self-assigned this Feb 21, 2024
@jkosternl jkosternl linked an issue Feb 21, 2024 that may be closed by this pull request
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b90f2d) 84.33% compared to head (8544aa5) 84.31%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #173      +/-   ##
============================================
- Coverage     84.33%   84.31%   -0.02%     
  Complexity     1390     1390              
============================================
  Files            79       79              
  Lines          4456     4457       +1     
  Branches        523      523              
============================================
  Hits           3758     3758              
- Misses          564      565       +1     
  Partials        134      134              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -54,6 +54,7 @@ class Doclet {
FrankElementFilters.getExcludeFilter(), FrankElementFilters.getExcludeFiltersForSuperclass());

model = FrankDocModel.populate(options.getDigesterRulesUrl(), options.getRootClass(), repository);
log.info("Found classes: {}", repository.size());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
log.info("Found classes: {}", repository.size());
log.info("Found classes: {}", repository::size);

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I do that, I get the warning: 'org.apache.logging.log4j.util.Supplier' is deprecated, so I'll leave it for now.

@jkosternl jkosternl requested a review from nielsm5 February 21, 2024 12:51
@jkosternl jkosternl merged commit f2a9519 into master Feb 21, 2024
3 of 4 checks passed
@jkosternl jkosternl deleted the feature/171_moveToJDK17 branch February 21, 2024 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Frank!Doc does not build with Java 17
2 participants