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

fix(examples): Add project to examples dependencies #228

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

guicamest
Copy link
Contributor

@guicamest guicamest commented Oct 26, 2023

Description of changes:

Fixes #223 (review). It is related to #202, the examples sourceset was missing the project dependency.

Another topic

Something that was found out while running the examples is that jvm 11 is required due to the version of logback. Running with java 8 results in:

Caused by: java.lang.UnsupportedClassVersionError: ch/qos/logback/classic/spi/LogbackServiceProvider has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

According to logback page, version 1.3 supports java 8 and version 1.4 (introduced in #19 or #12) requires java 11. This brings the question, whether to downgrade the dependency so that using the library works for java > 8, or move to a new version of java (say 11) for the source and target of the library.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@guicamest guicamest changed the title fix(examples): Add project to examples dependencies fix(examples): Add project to examples dependencies Oct 26, 2023
Copy link
Contributor

@markjschreiber markjschreiber left a comment

Choose a reason for hiding this comment

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

Thanks for the quick turn around.

@markjschreiber
Copy link
Contributor

I am not averse to moving to Java 11. The main thinking for keeping to Java 8 was the idea that this Java version is still under long term support. However, people should really upgrade. Also JVM 11+ can run Jar files that were built in Java 8 so if they are using this project as a drop-in provider for an older application they should still be able to do that.

Moving to version 2 is a good time to introduce this kind of change.

@markjschreiber markjschreiber merged commit 10b18c4 into awslabs:main Oct 26, 2023
1 check passed
@guicamest guicamest deleted the fixExamples branch October 27, 2023 03:31
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.

2 participants