Red Hat Bugzilla – Bug 1262462
OpenJDK 1.8.0 update 60 causes runtime problems in java application
Last modified: 2015-12-02 13:18:23 EST
Created attachment 1072620 [details]
Script to setup EAP and clone / build / deploy problematic webapp
Description of problem:
When compiling Project Newcastle with the latest openjdk package, there are runtime errors upon deployment that are not present with an older version of openjdk.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
0) Ensure system is using 1:126.96.36.199-14.b27.fc21 openjdk distribution
1) Download and unzip an EAP 6.4.0 server
2) Copy the attached reproduction script into JBOSS_HOME (top level of unzip)
3) Execute the script to build and deploy the webapp.
4) Execute EAP with ./bin/standalone.sh
5) Observe stack traces upon deployment.
ear-package.ear fails to deploy successfully.
Deployment of ear-package.ear completes successfully and can be accessed through browser.
Is this http://weld.cdi-spec.org/news/2015/09/15/jdk-8u60-problem/ ?
The WELD bug is https://issues.jboss.org/browse/WELD-2019
And upstream discussion http://mail.openjdk.java.net/pipermail/lambda-dev/2015-August/012146.html
Created attachment 1078081 [details]
Crude backport of fix for WELD-2019
(In reply to Omair Majid from comment #4)
> Is this http://weld.cdi-spec.org/news/2015/09/15/jdk-8u60-problem/ ?
> The WELD bug is https://issues.jboss.org/browse/WELD-2019
> And upstream discussion
This appears to be the issue. I've done a very crude backport of the fix for WELD-2019 to 1.1.28.Final, which is the version used in EAP 6.4.0. With this patch, the error no longer appears for me. Thomas, would you be able to verify this patch fixes the problem?
Steps to test:
1. Download source of weld-core from https://github.com/weld/core/archive/1.1.28.Final.tar.gz.
2. Apply weld-core-rhbz1262462.patch, and build with Maven.
3. Copy impl/target/weld-core-1.1.28.Final.jar to JBOSS_HOME/modules/system/layers/base/org/jboss/weld/core/main/weld-core-1.1.28.Final-redhat-1.jar
4. Run reproducer.sh and standalone.sh as above.
This message is a reminder that Fedora 21 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 21. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 21 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 21 changed to end-of-life (EOL) status on 2015-12-01. Fedora 21 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.