[armedbear] #470: run-program issues with OpenJDK 11
armedbear
armedbear-devel at common-lisp.net
Thu Jul 30 08:10:30 UTC 2020
#470: run-program issues with OpenJDK 11
-------------------------------+-----------------------
Reporter: Mark Evenson | Owner: (none)
Type: defect | Status: new
Priority: major | Milestone: 1.7.2
Component: other | Version: 1.7.1-dev
Resolution: | Keywords:
Parent Tickets: |
-------------------------------+-----------------------
Comment (by Mark Evenson):
This bug occurs when the system compiled with openjdk8 is run
under the openjdk11 runtime. Inconsistently, the abcl-1.7.0 binaries were
compiled with openjdk11 while the abcl-1.7.1 binaries were compiled with
openjdk8.
In openjdk11, the {{{java.lang.UNIXProcess}}} class has been
replaced with {{{java.lang.ProcessImpl}}}, so our code needs to
conditionally find the pid of a given process based on the
platform that the ABCL finds itself running upon.
As a workaround until we fix and release the next version of
ABCL, one may get {{{sys:run-program}}} running as long as one
doesn't try to get the pid via running the following code
{{{
(ignore-errors (sys:run-program "true" nil))
}}}
--
Ticket URL: <https://abcl.org/trac/ticket/470#comment:5>
armedbear <https://abcl.org>
armedbear
More information about the armedbear-ticket
mailing list