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

java18 compatibility #295

Merged
merged 9 commits into from
Jul 27, 2022
Merged

Conversation

gtoison
Copy link
Contributor

@gtoison gtoison commented Jul 27, 2022

This PR builds on the unmerged #271 and adds compatibility with Java 18

apupier and others added 9 commits November 30, 2018 10:56
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
- add javax.annotation as dependency, tests passing also for java 8
- upgrade maven plugins to be Java 11 compatible

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
error was:both interface com.intellij.openapi.module.Module in
com.intellij.openapi.module and class java.lang.Module in java.lang
match

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
fixing java 11 error:
[ERROR] /C:/git/infinitest/infinitest-intellij/src/main/java/org/infinitest/intellij/InfinitestJarsLocator.java:[84,28]
getPrefixes(java.lang.String) in
org.infinitest.intellij.PomNamespaceContext cannot implement
getPrefixes(java.lang.String) in javax.xml.namespace.NamespaceContext
  return type java.util.Iterator<?> is not compatible with
java.util.Iterator<java.lang.String>
[ERROR] /C:/git/infinitest/infinitest-intellij/src/main/java/org/infinitest/intellij/InfinitestJarsLocator.java:[83,9]
method does not override or implement a method from a supertype

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
Upgraded Jacoco for Java 18 compatibility
The stacktrace for reflective constructor calls changed between java 11
and 17 and again in Java 18. Adjust the stackelement we're looking for
depending on the version
@apupier apupier merged commit 9f810b9 into infinitest:master Jul 27, 2022
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.

None yet

2 participants