Skip to content

Migration from j dk11 to aws corretto17 - #15

Closed
ved4006 wants to merge 9 commits into
migration/java17-to-21-ved4006from
MigrationFromJDk11ToAWSCorretto17
Closed

ved4006 wants to merge 9 commits into
migration/java17-to-21-ved4006from
MigrationFromJDk11ToAWSCorretto17

Conversation

@ved4006

@ved4006 ved4006 commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

No description provided.

paulalbert1 and others added 9 commits August 20, 2026 19:59
Identities stored with an empty-string middleName (e.g. mah4006) crash the
3-arg constructor: middleName.trim().substring(0, 1) throws
StringIndexOutOfBoundsException for "" or whitespace-only input. A blank
middle name now takes the same path as null (middleName "", middleInitial
""). setMiddleName also derives the initial from the trimmed value so a
whitespace-only middle name no longer stores a blank initial. Null and
non-blank behavior is unchanged. Bump version to 3.0.3.
Observed on reciter-dev: PubMed article author data can carry an empty-string
first name, which crashed the firstInitial derivation the same way a blank
middle name did (StringIndexOutOfBoundsException at the substring).
AuthorName: treat blank middle name as absent instead of throwing
Change JDK version from 21 to 17 in workflow
@ved4006 ved4006 closed this Aug 25, 2026
@ved4006
ved4006 requested review from paulalbert1 and removed request for paulalbert1 September 15, 2026 09:37
@mrj4001
mrj4001 deleted the MigrationFromJDk11ToAWSCorretto17 branch September 18, 2026 09:14
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.

3 participants