Bug 220952 - multiple ; on import
multiple ; on import
Product: java
Classification: Unclassified
Component: Compiler
PC Windows 7
: P3 (vote)
: 7.4
Assigned To: Dusan Balek
Depends on:
  Show dependency treegraph
Reported: 2012-10-27 12:28 UTC by gmseed
Modified: 2015-09-17 11:15 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description gmseed 2012-10-27 12:28:42 UTC
I have a project in NetBeans 7.2/Win7 that builds fine without compile errors.

I just built the project in Eclipse Juno 4.2 and the following error, which went past the NetBeans without complaining:

import com.hedgehog.geo.threed.curves.Ray3D;;

It's simply an extra ";" at the end of an import statement.

But this may not be a bug but something that goes through NetBeans and picked up Eclipse.

Just thought I'd let you know.
Comment 1 Jan Lahoda 2012-11-16 09:07:36 UTC
True - reading the spec, it really seems semicolons are not allowed between imports. We get the current behaviour from javac - not sure if there will be time to fix that for NetBeans 7.3.
Comment 2 Svata Dedic 2013-08-01 14:20:21 UTC
Moving to compiler
Comment 3 Martin Balin 2015-09-17 11:15:38 UTC
Report from old NetBeans version. Due to code changes since it was reported likely not reproducible now. Feel free to reopen if happens in 8.0.2 or 8.1.

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo