[ 
https://issues.apache.org/jira/browse/JCI-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Emmanuel Bourg updated JCI-59:
------------------------------

    Fix Version/s:     (was: 1.1)
                   1.2

> Eclipse compiler is unable to compile additional top-level classes
> ------------------------------------------------------------------
>
>                 Key: JCI-59
>                 URL: https://issues.apache.org/jira/browse/JCI-59
>             Project: Commons JCI
>          Issue Type: Bug
>          Components: compiler eclipse
>    Affects Versions: 1.1
>            Reporter: Jingkei Ly
>            Assignee: Torsten Curdt
>             Fix For: 1.2
>
>         Attachments: JCI-59-testcase-1.patch
>
>
> When using the Eclipse compiler, I am unable to compile additional top-level 
> classes. For example,
> {code}
> package jci;
> public class Simple {
>     public String toString() {
>           return "Simple";
>      }
> }
>  class AdditionalTopLevel {
>        public String toString() {
>             return "AdditionalTopLevel";
>        }
> }
> {code}
> Causes the compile -error- warning: The type AdditionalTopLevel collides with 
> a package.
> This works fine with the Javac compiler and the Janino compiler.
>                         



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to