Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66583

LTS Container 2.303.1 uses OpenJDK with wrong file encoding


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • docker
    • Docker image from jenkins/jenkins:lts

      The openjdk-11 used in the Docker build has the default file encoding set to ANSI instead of UTF-8. This is from jenkins systemInfo: 

      sun.jnu.encoding ANSI_X3.4-1968

      As we use non ANSI file names, this breaks Jenkins:

       WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID f755cad7-a303-403d-9dde-3e9296ce302d
      java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters ...

      Because the JAVA_OPTS parameter 


      doesn't work, we can't fix this. So we can't use the current Jenkins LTS container.

      See https://github.com/AdoptOpenJDK/openjdk-docker/issues/105

            csanchez Carlos Sanchez
            sascha_broich Sascha
            0 Vote for this issue
            4 Start watching this issue