-
Notifications
You must be signed in to change notification settings - Fork 753
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 #41215 from ShammiL/java17-mig-issues
Fix platform dependency issues related to java17 migration
- Loading branch information
Showing
14 changed files
with
244 additions
and
57 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
10 changes: 10 additions & 0 deletions
10
...lerina-cli/src/test/resources/test-resources/projectWithJava11PlatformLibs/Ballerina.toml
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,10 @@ | ||
[package] | ||
org = "sameera" | ||
name = "myproject" | ||
version = "0.1.0" | ||
|
||
[platform.java11] | ||
graalvmCompatible = true | ||
|
||
[[platform.java11.dependency]] | ||
path = "./libs/one-1.0.0.jar" |
Binary file added
BIN
+2.51 KB
...na-cli/src/test/resources/test-resources/projectWithJava11PlatformLibs/libs/one-1.0.0.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
cli/ballerina-cli/src/test/resources/test-resources/projectWithJava11PlatformLibs/main.bal
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,3 @@ | ||
|
||
public function main() { | ||
} |
13 changes: 13 additions & 0 deletions
13
...a-cli/src/test/resources/test-resources/projectWithJava11and17PlatformLibs/Ballerina.toml
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,13 @@ | ||
[package] | ||
org = "sameera" | ||
name = "myproject" | ||
version = "0.1.0" | ||
|
||
[platform.java17] | ||
graalvmCompatible = true | ||
|
||
[[platform.java11.dependency]] | ||
path = "./libs/one-1.0.0.jar" | ||
|
||
[[platform.java17.dependency]] | ||
path = "./libs/two-2.0.0.jar" |
Binary file added
BIN
+2.51 KB
...i/src/test/resources/test-resources/projectWithJava11and17PlatformLibs/libs/one-1.0.0.jar
Binary file not shown.
Binary file added
BIN
+2.51 KB
...i/src/test/resources/test-resources/projectWithJava11and17PlatformLibs/libs/two-2.0.0.jar
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
...llerina-cli/src/test/resources/test-resources/projectWithJava11and17PlatformLibs/main.bal
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,3 @@ | ||
|
||
public function main() { | ||
} |
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
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
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