INRIA / spoon

Spoon is a metaprogramming library to analyze and transform Java source code. :spoon: is made with :heart:, :beers: and :sparkles:. It parses source files to build a well-designed AST with powerful analysis and transformation API.
http://spoon.gforge.inria.fr/
Other
1.76k stars 352 forks source link

build(deps): update dependency org.eclipse.jdt:org.eclipse.jdt.core to v3.39.0 #5977

Closed renovate[bot] closed 4 weeks ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.eclipse.jdt:org.eclipse.jdt.core (source) 3.38.0 -> 3.39.0 age adoption passing confidence

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

SirYwell commented 2 months ago

It looks like JDT dropped support for targeting Java 1.7. So the minimum compliance level must be 8 now.

I-Al-Istannen commented 1 month ago
public class Action<Request extends BroadcastRequest<Request>, ShardRequest> {
    private final Request request;
    protected void performOperation(final int shardIndex) {
        ShardRequest shardRequest = newShardRequest(request);
        shardRequest.setParentTask(foobar);
    }
}

This is MWE for the failing stackoverflow test. The new version of JDT does not have a variable binding for the setParentTask method call, as it does not seem to find the definition of the local variable. Prerequisites:

I am not sure if this can reasonably be construed a JDT bug. There is basically nothing valid left in the code, though the connection to the variable feels quite easy to make…

MartinWitt commented 4 weeks ago

@I-Al-Istannen I had a look at the issue. It seems this will be fixed in 3.40?

I-Al-Istannen commented 4 weeks ago

@MartinWitt Sounded like it :)

MartinWitt commented 4 weeks ago

Hmm we could mark the failing testcases as ignored and accept the regression? Otherwise, we would need to wait till January?

I-Al-Istannen commented 4 weeks ago

We could use @GithubIssue (and reference this PR?) with fixed=false? This way it will automatically fail in the next bump PR, if it were to be fixed.

MartinWitt commented 4 weeks ago

Ah yes this is way better.

MartinWitt commented 4 weeks ago

Okay some random changes later everything is green

I-Al-Istannen commented 4 weeks ago

Neat. Then I guess we can merge this. I will do that tomorrow, or you can do it before :P

renovate[bot] commented 4 weeks ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.