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

Update Error prone 2.4 #81

Merged
merged 7 commits into from
Jul 12, 2020
Merged

Conversation

nicerloop
Copy link
Contributor

Update error-prone to 2.4.0 using ErrorProneJavaCompiler implementation of java.tools.JavaCompiler based on plexus-compiler-javac

@pzygielo
Copy link
Contributor

This would solve #77, wouldn't it?

@nicerloop
Copy link
Contributor Author

Yes. I just had a look at the failing builds : mac builds fail on j2objc missing , need activate profile to skip tests; jdk14 tests fail on additional warnings since jdk11

@olamy
Copy link
Member

olamy commented Jun 19, 2020

@nicerloop ah yes sorry for the failing ghactions, I just added that yesterday and obviously some are failing for bad reasons.

public void setUp()
throws Exception
{
super.setUp();
setForceJavacCompilerUse( true );
if ( java8() ) {
Copy link
Member

Choose a reason for hiding this comment

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

does it mean we do not test with new jdk such 14?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did test on LTS jdk8 and jdk11, and warning count changes ; I did not test with other jdk

Copy link
Member

Choose a reason for hiding this comment

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

I disable the j2objc test for ghactions.
Still some issues with jdk14

Copy link
Member

Choose a reason for hiding this comment

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

@nicerloop rebase with master I have disabled jdk14 until we get this fixed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I locally have issues with jdk14 in plexus-compiler-eclipse("The type java.lang.Object cannot be resolved") and plexus-compiler-javac (source/target 1.6 not supported anymore, use 7 or later)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems to me master does not build with jdk14

@nicerloop
Copy link
Contributor Author

Rebased on master, all checks OK.

@nicerloop
Copy link
Contributor Author

Rebased on master

@olamy olamy changed the title Error prone 2.4 Update Error prone 2.4 Jul 12, 2020
@olamy olamy merged commit 84eba2e into codehaus-plexus:master Jul 12, 2020
@nicerloop nicerloop deleted the error-prone-2.4 branch February 27, 2021 18:26
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.

3 participants