forked from eclipse-jdt/eclipse.jdt.debug
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filtering unqualified Stacktraces eclipse-jdt#115
Using method signature to filter unqualified stacktraces generated in java stacktrace console. + Includes code review changes Fixes eclipse-jdt#115
- Loading branch information
Showing
8 changed files
with
279 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
org.eclipse.jdt.debug.tests/testfiles/AmbiguityTest/MyScheduledExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 IBM Corporation. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
public class MyScheduledExecutor { | ||
public void executeTask() { | ||
Wor worker = new Wor(); | ||
} | ||
class Worker { | ||
public void doWork2(Wor w) { | ||
|
||
} | ||
public void doWorkParams(Wor w,Ran r) { | ||
System.out.println("Expected_Result"); | ||
} | ||
} | ||
class Wor { | ||
|
||
} | ||
class Ran { | ||
|
||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
org.eclipse.jdt.debug.tests/testfiles/AmbiguityTest/a/MyScheduledExecutor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 IBM Corporation. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
public class MyScheduledExecutor { | ||
public void executeTask() { | ||
Wor worker = new Wor(); | ||
} | ||
class Worker { | ||
public void doWork(Wor w) { | ||
System.out.println("Expected_Result"); | ||
} | ||
} | ||
class Wor { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
org.eclipse.jdt.debug.tests/testfiles/AmbiguityTest/b/InnerClassTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 IBM Corporation. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
/** | ||
* Test class | ||
*/ | ||
class InnerClassTest { | ||
public static void main(String[] ar) { | ||
|
||
} | ||
class innerL1 { | ||
void check1() { | ||
System.out.println("EXPECTED_INNERCLASS"); | ||
} | ||
class innerL2 { | ||
void check23() { | ||
System.out.println("EXPECTED_INNER-INNER_CLASS"); | ||
} | ||
} | ||
} | ||
} | ||
|
32 changes: 32 additions & 0 deletions
32
org.eclipse.jdt.debug.tests/testfiles/AmbiguityTest/c/InnerClassTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2024 IBM Corporation. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
/** | ||
* Test class | ||
*/ | ||
class InnerClassTest { | ||
public static void main(String[] ar) { | ||
|
||
} | ||
class innerL1 { | ||
void check() { | ||
System.out.println("EXPECTED_INNERCLASS"); | ||
} | ||
class innerL2 { | ||
void check2() { | ||
System.out.println("EXPECTED_INNER-INNER_CLASS"); | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters