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 RPM URLHyperlinkWithMacroDetector on Java 20+ #300

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

akurtakov
Copy link
Contributor

Java 20+ no longer accepts %{} (aka rpm macro) in URLs and throw MalformedURLException.
Changed implementation to do macro replacement before creating URL which effectively means no longer inheriting URLHyperlinkDetector.
See https://www.oracle.com/java/technologies/javase/20-relnote-issues.html#JDK-8293590 for details.

Java 20+ no longer accepts %{} (aka rpm macro) in URLs and throw
MalformedURLException.
Changed implementation to do macro replacement before creating URL which
effectively means no longer inheriting URLHyperlinkDetector.
@akurtakov akurtakov merged commit 29ce180 into eclipse-linuxtools:master Jan 4, 2024
2 of 3 checks passed
@akurtakov akurtakov deleted the target branch January 4, 2024 20:48
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.

1 participant