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

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

Merged
merged 5 commits into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.core</artifactId>
<version>3.38.0</version>
<version>3.39.0</version>
<exclusions>
<exclusion>
<groupId>org.eclipse.platform</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public void testSegment(AbstractProcessor processor) throws Exception {
// "nestedIfSomeNotReturning", false);

Factory factory = new SpoonMetaFactory().buildNewFactory(
this.getClass().getResource("/control-flow").toURI().getPath(), 7);
this.getClass().getResource("/control-flow").toURI().getPath(), 11);
ProcessingManager pm = new QueueProcessingManager(factory);
pm.addProcessor(processor);
pm.process(factory.getModel().getRootPackage());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static ControlFlowGraph buildGraph(String folder, final String methodName
throws Exception {
final ControlFlowBuilder visitor = new ControlFlowBuilder();

Factory factory = new SpoonMetaFactory().buildNewFactory(folder, 5);
Factory factory = new SpoonMetaFactory().buildNewFactory(folder, 11);
ProcessingManager pm = new QueueProcessingManager(factory);
pm.addProcessor(new AbstractProcessor<CtMethod>() {
@Override
Expand Down
2 changes: 2 additions & 0 deletions src/test/java/spoon/test/api/NoClasspathTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import spoon.support.visitor.SignaturePrinter;
import spoon.test.api.testclasses.Bar;
import spoon.testing.assertions.SpoonAssertions;
import spoon.testing.utils.GitHubIssue;
import spoon.testing.utils.ModelTest;

import static java.util.function.Predicate.not;
Expand Down Expand Up @@ -209,6 +210,7 @@ public void testInheritanceInNoClassPathWithClasses() {
assertTrue(field.getType().isSubtypeOf(myInterfaceReference));
}

@GitHubIssue(issueNumber = 5977, fixed = false)
@ModelTest("src/test/resources/noclasspath/issue5591/DiamondConstructorCallTypeInference.java")
void testJdtFactoryMethodsForDiamond(CtModel model) {
// contract: Leftover <factory> methods from JDT's diamond constructor type inference are handled in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import spoon.reflect.reference.CtTypeReference;
import spoon.reflect.visitor.CtScanner;
import spoon.reflect.visitor.filter.TypeFilter;
import spoon.testing.utils.GitHubIssue;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertFalse;
Expand All @@ -45,6 +46,7 @@ public <T> void visitCtExecutableReference(
}
}

@GitHubIssue(issueNumber = 5977, fixed = false)
@Test
public void testStackOverflow() {
Launcher launcher = new Launcher();
Expand Down
Loading