|
Re: Invalid access restriction error? [message #57609 is a reply to message #55883] |
Wed, 22 April 2009 01:53 |
Eclipse User |
|
|
|
Originally posted by: n.n.nnn
On Thu, 16 Apr 2009 14:50:54 +0000, Philip K. Warren wrote:
> We have an 'Access restriction' error we are getting from PDE which
> seems invalid but I wanted to ask here before opening a bug. This is the
> scenario:
> When compiling this in the PDE tool, I get this error message:
>
> Access restriction: The method init() from the type A is not accessible
> due to restriction on required project plugin.x C.java
> plugin.y/src/pluginy line 11 Java Problem
>
> This is occurring because class 'B' is not overriding the 'init()'
> method in class 'A', but I was expecting this to work without errors.
>
> Should I open a bug?
Hi Phil,
Isn't PDE just reporting what the Java compiler tells it?
|
|
|
Re: Invalid access restriction error? [message #596066 is a reply to message #55883] |
Wed, 22 April 2009 01:53 |
|
On Thu, 16 Apr 2009 14:50:54 +0000, Philip K. Warren wrote:
> We have an 'Access restriction' error we are getting from PDE which
> seems invalid but I wanted to ask here before opening a bug. This is the
> scenario:
> When compiling this in the PDE tool, I get this error message:
>
> Access restriction: The method init() from the type A is not accessible
> due to restriction on required project plugin.x C.java
> plugin.y/src/pluginy line 11 Java Problem
>
> This is occurring because class 'B' is not overriding the 'init()'
> method in class 'A', but I was expecting this to work without errors.
>
> Should I open a bug?
Hi Phil,
Isn't PDE just reporting what the Java compiler tells it?
|
|
|
Powered by
FUDForum. Page generated in 0.02908 seconds