-
Notifications
You must be signed in to change notification settings - Fork 327
Handle --jvm
flag in process with JNI instantiated JVM
#12843
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
Merged
Merged
Changes from 61 commits
Commits
Show all changes
65 commits
Select commit
Hold shift + click to select a range
b2a04ed
Removing obsoleted DesktopEnvironment
JaroslavTulach 0c4d7e9
Load a class via JNI
JaroslavTulach b3f5894
Invoke Short.parseShort method
JaroslavTulach f8b9234
Enabling dynamic linking on Linux
JaroslavTulach 45f45c1
Works (without sighandler) on Windows
JaroslavTulach 14aabfa
Need to disable segfault handler on Windows
JaroslavTulach ed2ce35
Create JVM with options
JaroslavTulach ebb49cb
Invoke Main.main via JVM and its JNI
JaroslavTulach 1efcc8f
Verify behavior of JVM.executeMain method
JaroslavTulach d3faacf
Compute factorial in NI and JVM and compare the results
JaroslavTulach 41c19f6
Repeat the test just five times
JaroslavTulach 369912b
Derive Java home from java executable File
JaroslavTulach d29b6ae
Handle JAVA_OPTS in JVM class
JaroslavTulach 94565c5
Don't pass (wrong) JAVA_OPTS to test-os-env subprocess
JaroslavTulach 764cbc8
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach 179307b
Specifying --module-path rather than class path
JaroslavTulach 17b1691
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach ee85301
Avoiding dependency on java.desktop unlocks --jvm via JNI support on …
JaroslavTulach 0105b73
Copy of DataFormatter from org.apache.poi:poi-ooxml:5.2.3
JaroslavTulach f29e549
Commented out support for locale changes in DataFormatter
JaroslavTulach 7dbd359
Original copies from org.apache.poi:poi-ooxml:5.2.3
JaroslavTulach 2c72c14
Avoiding java.awt dependencies
JaroslavTulach f0a4e02
javafmtAll
JaroslavTulach 060453a
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach 197ad8b
Merge tag '2025.2.1-nightly.2025.5.1' into wip/jtulach/Jni12842
JaroslavTulach 12e99ea
Copy of Native from JNA 5.14.0
JaroslavTulach e2ce862
Use jna-wrapper instead of direct JNA dependency
JaroslavTulach 6bb1f4f
Copy of JNA's Native as of version 5.14.0 with commented out java.awt…
JaroslavTulach 8246fbc
scalafmtSbt & javafmtAll
JaroslavTulach 9127982
Using JNA version in the JAR name
JaroslavTulach de80776
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach 7290275
Prevent JNA from referencing java.awt.Window & co
JaroslavTulach 87697fa
Merging with introduction of slf4jApi
JaroslavTulach 8c79504
Merging with recent jna-wrapper adjustments
JaroslavTulach da2db93
Avoid direct dependency on io.methvin as it brings in JNA
JaroslavTulach f566b24
Tableau no longer has copy of JNA libs
JaroslavTulach 1878125
The only direct reference to JNA goes via language-server now
JaroslavTulach b46f8cf
filewatcher/test on Mac needs JNA
JaroslavTulach db9bd23
Licenses adjusted as Tableau shares JNA with engine
JaroslavTulach da5ae0a
Continue to extract JNA wrapper
JaroslavTulach 3b87db9
Merge branch 'wip/jtulach/UseJnaWrapperOnly12203' of enso:enso-org/en…
JaroslavTulach 3d17f1d
jnidispatch library is back in Tableau
JaroslavTulach b4b4647
Merging with already well functioning #13021
JaroslavTulach 2f65e50
Removing unnecessary ++ Seq()
JaroslavTulach c7e356b
Removing unnecessary dependency
JaroslavTulach 5f2c2a7
Native is a copy from JNA 5.14.0 note
JaroslavTulach abc2684
Merge remote-tracking branch 'origin/develop' into wip/jtulach/UseJna…
JaroslavTulach 702d63f
workingDirectory parameter is no longer used
JaroslavTulach 30f04d9
JNA appears in Tableau as it is inherited from jna-wrapper
JaroslavTulach 318c14e
Merging with most recent changes in #13021
JaroslavTulach 6f3d119
Avoid JNA on language-server class path
JaroslavTulach dbf1407
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach e0722f7
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach dd11276
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Jni12842
JaroslavTulach 51c86dd
Adjusting licenses as we are using JNI implementation of jline-termin…
JaroslavTulach 95b2920
Dual mode for --jvm - support both JNI and process execution
JaroslavTulach 7a0846a
No need for loading in jvm.dll
JaroslavTulach da05d8d
Handling --jvm flag via JNI works (locally) on Windows
JaroslavTulach 0ab5f22
Disable segfault handler when running os-environment/test
JaroslavTulach 967e2ce
Attempt to define poi-wrapper (like to be) uber JAR with patches
JaroslavTulach 179aff3
std-table polyglot directory contains only poi-wrapper-assembly fat j…
Akirathan 923f4ec
Use Platform.getOperatingSystem() to check for a platform
JaroslavTulach 2191b84
Removing outdated comments & co.
JaroslavTulach 71410be
Merge branch 'wip/jtulach/Jni12842' of enso:enso-org/enso into wip/jt…
JaroslavTulach e24a687
Let's use JNI all the time
JaroslavTulach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
29 changes: 0 additions & 29 deletions
29
distribution/engine/THIRD-PARTY/net.java.dev.jna.jna-5.14.0/NOTICES
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
distribution/engine/THIRD-PARTY/org.jline.jline-terminal-jna-3.26.3/NOTICES
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
distribution/engine/THIRD-PARTY/org.jline.jline-terminal-jni-3.26.3/NOTICES
This file contains hidden or 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 @@ | ||
Copyright (C) 2022 the original author(s). | ||
|
||
Copyright (c) 2002-2017, the original author(s). | ||
|
||
Copyright (c) 2002-2020, the original author or authors. | ||
|
||
Copyright (c) 2002-2020, the original author(s). | ||
|
||
Copyright (c) 2009-2018, the original author(s). |
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
poi-wrapper
fat JARpoi-wrapper
instd-table
instead of direct dependecy on poipoi-wrapper
contains the necessary patches to avoid dependency onjava.desktop
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.