Skip to content

Replace deprecated URL constructor in XercesValidator#1678

Open
gdesrosiers1805 wants to merge 1 commit into
apache:mainfrom
gdesrosiers1805:bugfix/daffodil-3083
Open

Replace deprecated URL constructor in XercesValidator#1678
gdesrosiers1805 wants to merge 1 commit into
apache:mainfrom
gdesrosiers1805:bugfix/daffodil-3083

Conversation

@gdesrosiers1805
Copy link
Copy Markdown
Contributor

java.net.URL(String) has been deprecated since JDK 20, and causes the build to fail in some instances. Use the new URI(schemaFile).toURL instead, which is non-deprecated and available on all supported JDK versions.

DAFFODIL-3083

java.net.URL(String) has been deprecated since JDK 20, and causes the
build to fail in some instances. Use the new URI(schemaFile).toURL instead,
which is non-deprecated and available on all supported JDK versions.

DAFFODIL-3083
Copy link
Copy Markdown
Contributor

@olabusayoT olabusayoT left a comment

Choose a reason for hiding this comment

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

+1

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