Bug 1455429 - [GSS](6.4.z) Base class method modifiers should not affect the overriden method in the EJB
Summary: [GSS](6.4.z) Base class method modifiers should not affect the overriden meth...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: EJB
Version: 6.4.13
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: CR1
: EAP 6.4.17
Assignee: Petr Jurak
QA Contact: Jiří Bílek
URL:
Whiteboard:
Depends On:
Blocks: eap6417-payload
TreeView+ depends on / blocked
 
Reported: 2017-05-25 07:03 UTC by tmiyargi
Modified: 2020-12-14 08:44 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-09-06 13:32:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
reproducer for logging (2.54 KB, application/zip)
2017-05-25 07:03 UTC, tmiyargi
no flags Details
sources (7.17 KB, application/zip)
2017-05-26 08:46 UTC, tmiyargi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3093271 0 None None None 2017-06-26 09:15:50 UTC

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.


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