Skip to content

Commit

Permalink
Merge pull request #1667 from ballerina-platform/graalvm-check
Browse files Browse the repository at this point in the history
Mark GraalVM compatibility
  • Loading branch information
TharmiganK committed Jun 15, 2023
2 parents bdabc88 + fb30851 commit 5613017
Show file tree
Hide file tree
Showing 24 changed files with 336 additions and 200 deletions.
3 changes: 3 additions & 0 deletions ballerina-tests/http-advanced-tests/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ name = "http_test_common"
repository = "local"
version = "2.9.0"

[platform.java11]
graalvmCompatible = true

[[platform.java11.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.9.0-SNAPSHOT.jar"
46 changes: 28 additions & 18 deletions ballerina-tests/http-advanced-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.5.0"
distribution-version = "2201.6.0-20230614-102000-d1aade7d"

[[package]]
org = "ballerina"
name = "auth"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -23,7 +23,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "cache"
version = "3.5.0"
version = "3.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "constraint"},
Expand All @@ -35,7 +35,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "constraint"
version = "1.2.0"
version = "1.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -44,7 +44,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.3.1"
version = "2.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -57,7 +57,7 @@ modules = [
[[package]]
org = "ballerina"
name = "file"
version = "1.7.1"
version = "1.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand Down Expand Up @@ -99,7 +99,7 @@ dependencies = [
]
modules = [
{org = "ballerina", packageName = "http", moduleName = "http"},
{org = "ballerina", packageName = "http", moduleName = "http.status_errors"}
{org = "ballerina", packageName = "http", moduleName = "http.httpscerr"}
]

[[package]]
Expand Down Expand Up @@ -141,7 +141,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.4.1"
version = "1.5.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -160,7 +160,7 @@ scope = "testOnly"
[[package]]
org = "ballerina"
name = "jwt"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -201,6 +201,15 @@ dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "lang.error"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "lang.int"
Expand Down Expand Up @@ -264,7 +273,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.7.1"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -276,7 +285,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.7.1"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -290,7 +299,7 @@ modules = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand All @@ -304,7 +313,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.0.7"
version = "1.1.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -313,7 +322,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.6.1"
version = "1.7.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -323,7 +332,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "task"
version = "2.3.3"
version = "2.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -336,7 +345,8 @@ name = "test"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.error"}
]
modules = [
{org = "ballerina", packageName = "test", moduleName = "test"}
Expand All @@ -345,7 +355,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.2.5"
version = "2.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -357,7 +367,7 @@ modules = [
[[package]]
org = "ballerina"
name = "url"
version = "2.2.4"
version = "2.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand Down
3 changes: 3 additions & 0 deletions ballerina-tests/http-client-tests/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ name = "http_test_common"
repository = "local"
version = "2.9.0"

[platform.java11]
graalvmCompatible = true

[[platform.java11.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.9.0-SNAPSHOT.jar"
44 changes: 27 additions & 17 deletions ballerina-tests/http-client-tests/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.5.0"
distribution-version = "2201.6.0-20230614-102000-d1aade7d"

[[package]]
org = "ballerina"
name = "auth"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -23,7 +23,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "cache"
version = "3.5.0"
version = "3.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "constraint"},
Expand All @@ -35,7 +35,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "constraint"
version = "1.2.0"
version = "1.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -47,7 +47,7 @@ modules = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.3.1"
version = "2.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -57,7 +57,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "file"
version = "1.7.1"
version = "1.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand Down Expand Up @@ -137,7 +137,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.4.1"
version = "1.5.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -156,7 +156,7 @@ scope = "testOnly"
[[package]]
org = "ballerina"
name = "jwt"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -197,6 +197,15 @@ dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "lang.error"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "lang.int"
Expand Down Expand Up @@ -260,7 +269,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.7.1"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -272,7 +281,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.7.1"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -286,7 +295,7 @@ modules = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand All @@ -300,7 +309,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.0.7"
version = "1.1.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -309,7 +318,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.6.1"
version = "1.7.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -319,7 +328,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "task"
version = "2.3.3"
version = "2.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -332,7 +341,8 @@ name = "test"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.error"}
]
modules = [
{org = "ballerina", packageName = "test", moduleName = "test"}
Expand All @@ -341,7 +351,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.2.5"
version = "2.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -350,7 +360,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "url"
version = "2.2.4"
version = "2.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand Down
3 changes: 3 additions & 0 deletions ballerina-tests/http-dispatching-tests/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ name = "http_test_common"
repository = "local"
version = "2.9.0"

[platform.java11]
graalvmCompatible = true

[[platform.java11.dependency]]
scope = "testOnly"
path = "../../test-utils/build/libs/http-test-utils-2.9.0-SNAPSHOT.jar"
Loading

0 comments on commit 5613017

Please sign in to comment.