Bug 1262462 - OpenJDK 1.8.0 update 60 causes runtime problems in java application
Summary: OpenJDK 1.8.0 update 60 causes runtime problems in java application
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: java-1.8.0-openjdk
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Elliott Baron
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-11 19:20 UTC by Thomas Hauser
Modified: 2015-12-02 18:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-12-02 15:20:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Script to setup EAP and clone / build / deploy problematic webapp (739 bytes, application/x-shellscript)
2015-09-11 19:20 UTC, Thomas Hauser
no flags Details
Crude backport of fix for WELD-2019 (1.58 KB, patch)
2015-09-28 22:56 UTC, Elliott Baron
no flags Details | Diff

Description Thomas Hauser 2015-09-11 19:20:29 UTC
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):
1:1.8.0.60-14.b27.fc21

How reproducible:
Always

Steps to Reproduce:
0) Ensure system is using 1:1.8.0.60-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.

Actual results:
ear-package.ear fails to deploy successfully. 

Expected results:
Deployment of ear-package.ear completes successfully and can be accessed through browser.

Comment 5 Elliott Baron 2015-09-28 22:56:59 UTC
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
> http://mail.openjdk.java.net/pipermail/lambda-dev/2015-August/012146.html

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.

Comment 6 Fedora End Of Life 2015-11-04 15:22:34 UTC
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'
of '21'.

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.

Comment 7 Fedora End Of Life 2015-12-02 15:20:10 UTC
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
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.