Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-47838

As a developer, I'd like to refactor ProcessExecutor for better readability and environment independence

    Details

      Description

      1) Split into "pitcher" (ProcessExecutor) and "catcher" (ProcessLauncher) to improve readability
      2) Split bootstrap and runtime classpath to improve environment independence

      Bootstrap classpath only contains jars from appserver global classpath(where portal-service.jar lives), which is generally very small. It will be for sure within windows' pathetic max command line arguments limitation.

      Runtime classpath is serialized to sub-process via pipe after bootstrap. It is used by dynamically created URLClassLoader for ProcessCallable deserialization and execution.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                robert.srisamang Robert Srisam-ang (Inactive)
                Reporter:
                shuyang.zhou Shuyang Zhou
                Recent user:
                Shalaka Tendulkar
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.0.0 M1