This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 220952 - multiple ; on import
Summary: multiple ; on import
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: 7.2
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
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
Exception Reporter:


Attachments

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.