Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 124CB41F1 for ; Fri, 13 May 2011 08:22:28 +0000 (UTC) Received: (qmail 12868 invoked by uid 500); 13 May 2011 08:22:27 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 12809 invoked by uid 500); 13 May 2011 08:22:27 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 12801 invoked by uid 99); 13 May 2011 08:22:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 08:22:27 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 May 2011 08:22:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 69B8488B63 for ; Fri, 13 May 2011 08:21:47 +0000 (UTC) Date: Fri, 13 May 2011 08:21:47 +0000 (UTC) From: "Torsten Curdt (JIRA)" To: issues@commons.apache.org Message-ID: <1310091290.9412.1305274907429.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (JCI-59) [JCI] Eclipse compiler is unable to compile additional top-level classes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JCI-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Torsten Curdt updated JCI-59: ----------------------------- Fix Version/s: 1.1 Assignee: Torsten Curdt Thanks for the test case > [JCI] 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.1 > > 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: The type AdditionalTopLevel collides with a package. > This works fine with the Javac compiler and the Janino compiler. > -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira