Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8339480

Build static-jdk image with a statically linked launcher

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P2 P2
    • 24
    • 24
    • infrastructure
    • b27

      As a prerequisite for Hermetic Java, we need a statically linked "java" launcher. It should behave like the normal, dynamically linked "java" launcher, except that all JDK native libraries should be statically, not dynamically, linked.

      This patch is the first step towards this goal. It will generate a static-jdk image with a statically linked launcher. This launcher is missing several native libs, however, and does therefore not behave like a proper dynamic java. One of the reasons for this is that local symbol hiding in static libraries are not implemented yet, which causes symbol clashes when linking all static libraries together. This will be addressed in an upcoming patch.

            ihse Magnus Ihse Bursie
            ihse Magnus Ihse Bursie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: