-
Notifications
You must be signed in to change notification settings - Fork 21
upgrading to java17, cloudevents latest version #228
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
base: main
Are you sure you want to change the base?
Conversation
| try { | ||
| return ZonedDateTime.parse(jsonParser.getText(), DateTimeFormatter.ISO_OFFSET_DATE_TIME); | ||
| } catch (DateTimeException e) { | ||
| throw new IllegalArgumentException("could not parse"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please include the stacktrace
| throw new IllegalArgumentException("could not parse"); | |
| throw new IllegalArgumentException("Could not parse", e); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done. please approve
|
@francoisledroff please approve |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure we want this...
- we had customers requesting support for aem6.4 and java 8
- we still have the
maven-compiler-plugintargetting ava 8 - see #130
- we still have the
- we surely have aem6.5 customers in a need for java 11
- and all the GH action build and release are using java 11
- The only cloudevents sdk classes we use are
io.cloudevents.json.ZonedDateTime* - introduced here #126 (I guess we should not have done this that way as ISO Date formatting is coming for free in Jackson using
@JsonFormat - we still have this #16 pending
- but for now I would rather see this PR merged #231 to get rid of this unwanted cloudEvent sdk dependency
|
Keeping this PR open when for when we decide to upgrade this sdk to |
Description
upgrading to java17, cloudevents latest version
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: