Skip to content

Commit

Permalink
build(deps): update dependency org.eclipse.jdt:org.eclipse.jdt.core t…
Browse files Browse the repository at this point in the history
…o v3.39.0 (#5977)

* build(deps): update dependency org.eclipse.jdt:org.eclipse.jdt.core to v3.39.0
---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Wittlinger <[email protected]>
  • Loading branch information
renovate[bot] and MartinWitt authored Oct 27, 2024
1 parent 5c5424c commit 2131800
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
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

0 comments on commit 2131800

Please sign in to comment.