-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: refactor for jpms support #342
Conversation
@@ -1,4 +1,4 @@ | |||
registry=https://npm.pkg.st/ | |||
#registry=https://npm.pkg.st/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.18.6", "@babel/code-frame@^7.21.4": | ||
version "7.21.4" | ||
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.21.4.tgz#d0fa9e4413aca81f2b23b9442797bda1826edb39" | ||
integrity sha512-LYvhNKfwWSPpocw8GI7gpK2nq3HSDuEPC/uSYaALSJu9xjsalaaYFOq0Pwt5KmVqwEbZlDu81aLXwBOmD/Fv9g== |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drop
@@ -0,0 +1,22 @@ | |||
package elide.annotations.base |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking: these annotations are moving to avoid split packages
) | ||
//configureJava9ModuleInfo(project) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix or remove
@@ -1,4 +1,4 @@ | |||
package elide.annotations.core | |||
package elide.vm.annotations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
breaking: the Polyglot
annotation is moving. again, to avoid split packages
// Unused dependencies: | ||
// implementation(libs.lmax.disruptor.proxy) | ||
// implementation(libs.brotli) | ||
// implementation(libs.micronaut.inject.java) | ||
// implementation(libs.micronaut.cache.core) | ||
// implementation(libs.micronaut.cache.caffeine) | ||
// implementation(libs.lz4) | ||
// implementation(libs.flatbuffers.java.core) | ||
// implementation(libs.kotlinx.coroutines.slf4j) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all unused. junit was making it in somehow too.
@@ -1,9 +1,9 @@ | |||
package elide.annotations | |||
package elide.core.annotations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are moving to avoid split packages but are largely unused outside of core library code
|
||
/** | ||
* Annotate a member or function as inlined. | ||
* | ||
* This annotation is currently stubbed directly to Kotlin's `JvmInline` annotation, but may be expanded or replaced in | ||
* the future. | ||
*/ | ||
public actual typealias Inline = JvmInline | ||
public expect annotation class Inline() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm... ?
@@ -125,32 +125,39 @@ import org.graalvm.polyglot.Engine as VMEngine | |||
description = ["Specify language by name. Options: \${COMPLETION-CANDIDATES}."], | |||
defaultValue = "JS", | |||
) | |||
internal var language: GuestLanguage = GuestLanguage.JS | |||
internal var language: EnumSet<GuestLanguage> = EnumSet.of(GuestLanguage.JS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unclear if this works
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dropping bundler support (temp)
packages/graalvm/api/graalvm.api
Outdated
@@ -129,7 +128,6 @@ public final class elide/runtime/gvm/InvocationMode : java/lang/Enum { | |||
public static final field ASYNC Lelide/runtime/gvm/InvocationMode; | |||
public static final field STREAMING Lelide/runtime/gvm/InvocationMode; | |||
public static final field SYNC Lelide/runtime/gvm/InvocationMode; | |||
public static fun getEntries ()Lkotlin/enums/EnumEntries; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really sure why these are getting removed
- feat: introduce module configurations for most packages - chore: refactor split-package modules (breaking) - chore: update all use-sites for `Polyglot` etc - chore: remove stray pnpm lock in `tools/scripts` Caution: This commit was restored and needs to be reviewed with care before merging. Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
- fix: don't link against graalvm modules (use runtime) - chore: general cleanup of warnings in js runtime Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
Signed-off-by: Sam Gammon <sam@elide.ventures>
merging because test failure will be fixed by next pr, and because jpms is working |
Summary
Polyglot
etctools/scripts
Caution: This commit was restored and needs to be reviewed with care before merging.
Changelog
Coming soon.