Bug 1346242

Summary: [GSS] (6.4.z) InvalidBytecodeException when an EJB local interface declares static method
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: wfink
Component: EJBAssignee: Peter Palaga <ppalaga>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Martiska <jmartisk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.0, 6.4.1, 6.4.2, 6.4.3, 6.4.4, 6.4.5, 6.4.6CC: bmaxwell, david.lloyd, fgavrilo, jawilson, jbilek, jtruhlar, ppalaga
Target Milestone: CR1   
Target Release: EAP 6.4.10   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 12:56:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1339868, 1346403    

Description wfink 2016-06-14 11:03:59 UTC
Description of problem:
An EJB which is compiled and deployed with Java7 works correct.
But if build and deployed with Java8 the deployment or start fail with the following cause:
Caused by: org.jboss.classfilewriter.InvalidBytecodeException: Cannot load variable at 1. Local Variables: Local Variables: [StackEntry [descriptor=Ljava/lang/String;, type=OBJECT]]

Comment 1 Peter Palaga 2016-06-21 12:25:43 UTC
Sent https://github.com/jbossas/jboss-invocation/pull/11

Comment 2 Peter Palaga 2016-06-21 12:56:13 UTC
Sent a PR with a test case that checks that the fix in jboss-invocation works https://github.com/jbossas/jboss-eap/pull/2798

Comment 3 Peter Palaga 2016-06-21 13:21:56 UTC
Created a new "test BZ" https://bugzilla.redhat.com/show_bug.cgi?id=1348569

Comment 5 Jiří Bílek 2016-08-09 13:59:43 UTC
Verified with EAP 6.4.10.CP.CR1

Comment 6 Petr Penicka 2017-01-17 12:56:04 UTC
Retroactively bulk-closing issues from released EAP 6.4 cummulative patches.