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
prevents "bootstrap class path not set in conjunction with -source 8" #206
Conversation
@@ -644,6 +644,16 @@ | |||
<mockito.version>5.5.0</mockito.version> | |||
</properties> | |||
</profile> | |||
<profile> | |||
<!-- prevents "bootstrap class path not set in conjunction with -source 8" --> | |||
<id>set-compiler-release</id> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please see the profile above this ("java11") created by @peter-lawrey
@peter-lawrey I don't understand the purpose of the above profile so need you to review this change. I have made my change next to yours, but please see below.
Why are we not affecting maven-compiler-plugin in a profile in java-parent-pom?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect the line you are overriding should just be removed instead. Testing this locally.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we include JDK11 in this new profile then the existing above should be changed to <jdk>(11,</jdk>
at least ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@peter-lawrey I tested this change with one of the demos and it worked like a charm. I am keen to get this merged
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was solved in x.26 by setting -Xlint:-options
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have -options
when instead we can do this and fix it properly, and we dont have to wait for x26?
Some projects have -Xlint:all
and we should be aiming for this for all projects right?
#228 solves these problems with |
No description provided.