Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1455429

Summary: [GSS](6.4.z) Base class method modifiers should not affect the overriden method in the EJB
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: tmiyargi
Component: EJBAssignee: Petr Jurak <pjurak>
Status: CLOSED CURRENTRELEASE QA Contact: Jiří Bílek <jbilek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.4.13CC: andey, bmaxwell, david.lloyd, fgavrilo, jbaesner, jbilek, pjurak
Target Milestone: CR1Keywords: Regression
Target Release: EAP 6.4.17   
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-09-06 13:32:42 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: 1450092    
Attachments:
Description Flags
reproducer for logging
none
sources none

Description tmiyargi 2017-05-25 07:03:36 UTC
Created attachment 1282138 [details]
reproducer for logging

Description of problem:
Getting JBAS014356: Not a business method protected java.lang.String test.xmpl.AbstractBean.testMethod(). Do not call non-public methods on EJB's

When the base class method is protected.

How reproducible:

Base class
public abstract class AbstractBean
{
	protected String testMethod() {
		return "OK";
	}
}

Child:

@Stateless
public class ChildBean extends AbstractBean
{
	public String testMethod() {
		return super.testMethod();
	}
}

One out of 2 server restarts you get the error.

Comment 3 tmiyargi 2017-05-26 08:46:03 UTC
Created attachment 1282509 [details]
sources

Comment 6 Jiří Bílek 2017-07-31 15:09:55 UTC
Verified with EAP 6.4.17.CP.CR3

Comment 7 Petr Penicka 2017-09-06 13:32:42 UTC
Released on 2017-09-05 as part of the EAP 6.4.17 release.