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

LTS Container 2.303.1 uses OpenJDK with wrong file encoding

    XMLWordPrintable

Details

    Description

      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 

      -Dsun.jnu.encoding=UTF-8

      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

      Attachments

        Activity

          sascha_broich Sascha created issue -
          timja Tim Jacomb made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Fixed but Unreleased [ 10203 ]
          timja Tim Jacomb made changes -
          Status Fixed but Unreleased [ 10203 ] Resolved [ 5 ]
          sascha_broich Sascha made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

              Created:
              Updated:
              Resolved: