Skip to content

Use String.isEmpty() for Java 8 compatibility - #14249

Merged
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:jdk8criu
Jan 12, 2022
Merged

Use String.isEmpty() for Java 8 compatibility#14249
tajila merged 1 commit into
eclipse-openj9:masterfrom
JasonFengJ9:jdk8criu

Conversation

@JasonFengJ9

@JasonFengJ9 JasonFengJ9 commented Jan 11, 2022

Copy link
Copy Markdown
Member

Replaced String.isBlank() w/ String.isEmpty().
Keep the leading or trailing spaces of entry in case the name/value retrieved from envFileReader.readLine() contain spaces.

closes #14248

Signed-off-by: Jason Feng fengj@ca.ibm.com

@JasonFengJ9 JasonFengJ9 added comp:vm criu Used to track CRIU snapshot related work labels Jan 11, 2022
@JasonFengJ9
JasonFengJ9 requested a review from tajila January 11, 2022 19:47
Comment thread jcl/src/openj9.criu/share/classes/org/eclipse/openj9/criu/CRIUSupport.java Outdated
Replaced String.isBlank() w/ String.isEmpty().
Keep the leading or trailing spaces of entry in case the name/value
retrieved from envFileReader.readLine() contain spaces.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@tajila

tajila commented Jan 12, 2022

Copy link
Copy Markdown
Contributor

No builds to run

@tajila
tajila merged commit 2090edd into eclipse-openj9:master Jan 12, 2022
@JasonFengJ9
JasonFengJ9 deleted the jdk8criu branch January 12, 2022 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp:vm criu Used to track CRIU snapshot related work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CRIU: Fix compilation failures on JDK8

2 participants