Bug #7372

openjdk8-jre: Breaking change in 3.6

Added by Andrea Giardini about 1 year ago. Updated 10 months ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Affected versions:



Upgrading our jenkins container from alpine:3.5 to 3.6 causes Jenkins to break with the following error

May 30, 2017 9:32:58 AM hudson.util.BootFailure publish
SEVERE: Failed to initialize Jenkins
hudson.util.AWTProblem: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/ Error relocating /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/ AWTFontDefaultChar: symbol not found
at hudson.WebAppMain.contextInitialized(
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(
at org.eclipse.jetty.server.handler.ContextHandler.startContext(
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(
at org.eclipse.jetty.webapp.WebAppContext.startContext(
at org.eclipse.jetty.server.handler.ContextHandler.doStart(
at org.eclipse.jetty.webapp.WebAppContext.doStart(
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(
at org.eclipse.jetty.server.Server.start(
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(
at org.eclipse.jetty.server.Server.doStart(
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(
at winstone.Launcher.<init>(
at winstone.Launcher.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
at java.lang.reflect.Method.invoke(
at Main._main(
at Main.main(

Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/ Error relocating /usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/ AWTFontDefaultChar: symbol not found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(
at java.lang.ClassLoader.loadLibrary(
at java.lang.Runtime.loadLibrary0(
at java.lang.System.loadLibrary(
at sun.font.FontManagerNativeLibrary$
at Method)
at sun.font.FontManagerNativeLibrary.<clinit>(
at sun.font.SunFontManager$
at Method)
at sun.font.SunFontManager.<clinit>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at sun.font.FontManagerFactory$
at Method)
at sun.font.FontManagerFactory.getInstance(
at java.awt.Font.getFont2D(
at java.awt.Font.getFamily(
at java.awt.Font.getFamily_NoClientCode(
at java.awt.Font.getFamily(
at java.awt.Font.toString(
at hudson.util.ChartUtil.<clinit>(
at hudson.WebAppMain.contextInitialized(
... 23 more is in the correct folder but apparently it does not contains the same symbols that it uses to contain in alpine:3.5




#1 Updated by Natanael Copa about 1 year ago

  • Target version set to 3.6.1

#2 Updated by Natanael Copa about 1 year ago

  • Target version changed from 3.6.1 to 3.6.2

#3 Updated by Natanael Copa about 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

edit: thought it was resolved but i was wrong

#4 Updated by Natanael Copa about 1 year ago

  • Status changed from Resolved to New
  • % Done changed from 100 to 0

#5 Updated by Natanael Copa about 1 year ago

  • Target version changed from 3.6.2 to 3.6.3

#6 Updated by Ilya Naryzhnyy 11 months ago

Any ideas how can it be fixed?
There is a long tail of projects which depends on alpine docker image.
If no fix at this point: please advice how to fix it by additional actions in Dockerfile.

#7 Updated by Roman Gromov 11 months ago

Ilya Naryzhnyy, I'm using Dockerized version of Alpine and rollback to Docker image based on previous version of Alpine works just fine for me as workaround, details here:

#8 Updated by Christian Bjørnbak 10 months ago

The issued is solved in openjdk8 8.141.15-r0 from edge and if I install ttf-dejavu fontconfig too the other font issues are fixed too.

Please backport 8.141.15 to 3.6.3.

Also available in: Atom PDF