-
-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #738 from soot-oss/fix/682_fromPath
fix #682 from path
- Loading branch information
Showing
190 changed files
with
2,110 additions
and
1,451 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
Binary file not shown.
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,44 @@ | ||
/* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License v1.0 | ||
* which accompanies this distribution, and is available at | ||
* http://www.eclipse.org/legal/epl-v10.html. | ||
* | ||
* This file is a derivative of code released by the University of | ||
* California under the terms listed below. | ||
* | ||
* WALA JDT Frontend is Copyright (c) 2008 The Regents of the | ||
* University of California (Regents). Provided that this notice and | ||
* the following two paragraphs are included in any distribution of | ||
* Refinement Analysis Tools or its derivative work, Regents agrees | ||
* not to assert any of Regents' copyright rights in Refinement | ||
* Analysis Tools against recipient for recipient's reproduction, | ||
* preparation of derivative works, public display, public | ||
* performance, distribution or sublicensing of Refinement Analysis | ||
* Tools and derivative works, in source code and object code form. | ||
* This agreement not to assert does not confer, by implication, | ||
* estoppel, or otherwise any license or rights in any intellectual | ||
* property of Regents, including, but not limited to, any patents | ||
* of Regents or Regents' employees. | ||
* | ||
* IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, | ||
* INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, | ||
* INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE | ||
* AND ITS DOCUMENTATION, EVEN IF REGENTS HAS BEEN ADVISED OF THE | ||
* POSSIBILITY OF SUCH DAMAGE. | ||
* | ||
* REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT | ||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS | ||
* FOR A PARTICULAR PURPOSE AND FURTHER DISCLAIMS ANY STATUTORY | ||
* WARRANTY OF NON-INFRINGEMENT. THE SOFTWARE AND ACCOMPANYING | ||
* DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS | ||
* IS". REGENTS HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, | ||
* UPDATES, ENHANCEMENTS, OR MODIFICATIONS. | ||
*/ | ||
package ClassesPackageName; | ||
|
||
// need inner classes to run this test | ||
|
||
public class ClassWithPackageName { | ||
int foo; | ||
} |
18 changes: 18 additions & 0 deletions
18
shared-test-resources/multi-release-jar-modular/createModMrJar.sh
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,18 @@ | ||
# /bin/bash | ||
|
||
# To build the jar: | ||
|
||
javac --release 8 -d classes src/main/java/de/upb/sse/multirelease/*java | ||
javac --release 9 -d classes-9 src/main/java9/de/upb/sse/multirelease/*java src/main/java9/module-info.java | ||
javac --release 10 -d classes-10 src/main/java10/de/upb/sse/multirelease/*java src/main/java10/module-info.java | ||
|
||
jar --create --file mrjar.jar --main-class multirelease.Main -C classes . --release 9 -C classes-9 . --release 10 -C classes-10 . | ||
|
||
|
||
# cleanup | ||
rm -r ./classes ./classes-9 ./classes-10 | ||
|
||
|
||
#More info: | ||
#https://www.baeldung.com/java-multi-release-jar | ||
|
Binary file modified
BIN
+230 Bytes
(110%)
shared-test-resources/multi-release-jar-modular/mrjar.jar
Binary file not shown.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...in/java/de/upb/swt/multirelease/Main.java → ...in/java/de/upb/sse/multirelease/Main.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package multirelease; | ||
package de.upb.sse.multirelease; | ||
|
||
public class Main { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...java/de/upb/swt/multirelease/Utility.java → ...java/de/upb/sse/multirelease/Utility.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package multirelease; | ||
package de.upb.sse.multirelease; | ||
|
||
public class Utility { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...va10/de/upb/swt/multirelease/Utility.java → ...va10/de/upb/sse/multirelease/Utility.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package multirelease; | ||
package de.upb.sse.multirelease; | ||
|
||
public class Utility { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
shared-test-resources/multi-release-jar-modular/src/main/java10/module-info.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module multirelease { | ||
exports multirelease; | ||
exports de.upb.sse.multirelease; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ava9/de/upb/swt/multirelease/Utility.java → ...ava9/de/upb/sse/multirelease/Utility.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package multirelease; | ||
package de.upb.sse.multirelease; | ||
|
||
public class Utility { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
shared-test-resources/multi-release-jar-modular/src/main/java9/module-info.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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module multirelease { | ||
exports multirelease; | ||
exports de.upb.sse.multirelease; | ||
} |
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,11 @@ | ||
# /bin/bash | ||
#More info: https://www.baeldung.com/java-multi-release-jar | ||
|
||
javac --release 8 -d classes src/main/java/de/upb/sse/multirelease/*java | ||
javac --release 9 -d classes-9 src/main/java9/de/upb/sse/multirelease/*java | ||
javac --release 10 -d classes-10 src/main/java10/de/upb/sse/multirelease/*java | ||
|
||
jar --create --file mrjar.jar --main-class de.upb.swt.multirelease.Main -C classes . --release 9 -C classes-9 . --release 10 -C classes-10 . | ||
|
||
|
||
|
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...java/de/upb/swt/multirelease/Utility.java → ...java/de/upb/sse/multirelease/Utility.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package multirelease; | ||
package de.upb.sse.multirelease; | ||
|
||
public class Utility { | ||
|
||
|
9 changes: 9 additions & 0 deletions
9
shared-test-resources/multi-release-jar/src/main/java10/de/upb/sse/multirelease/Utility.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,9 @@ | ||
package de.upb.sse.multirelease; | ||
|
||
public class Utility { | ||
|
||
public static void printVersion() { | ||
System.out.println("java 10"); | ||
} | ||
|
||
} |
2 changes: 1 addition & 1 deletion
2
...ava9/de/upb/swt/multirelease/Utility.java → ...ava9/de/upb/sse/multirelease/Utility.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package multirelease; | ||
package de.upb.sse.multirelease; | ||
|
||
public class Utility { | ||
|
||
|
This file was deleted.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
sootup.core/src/main/java/sootup/core/BaseViewChangeListener.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
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
41 changes: 0 additions & 41 deletions
41
sootup.core/src/main/java/sootup/core/SourceTypeSpecifier.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.