Custom control bean compilation error when control interface and package are 
named the same
-------------------------------------------------------------------------------------------

         Key: BEEHIVE-995
         URL: http://issues.apache.org/jira/browse/BEEHIVE-995
     Project: Beehive
        Type: Bug
  Components: Controls  
    Versions: V1    
    Reporter: Chris Hogue
    Priority: Minor


When creating a control interface that has the same name as the package it is 
in, you get a compilation error on the generated Bean file. For example, when 
creating a control named 'hello.hello', the generated bean class has an 
'implements hello.hello' clause. The compiler appears to be looking at this as 
an inner class of hello (i.e. hello.hello$hello).

Changing the generated bean code to just 'implement hello' (remove the package 
name), it all works fine.  There are other places in the file that use the 
fully-qualified name and need to be updated too. This also affects the BeanInfo 
class.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to