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

Summary: multiple ; on import
Product: java Reporter: gmseed <gmseed>
Component: CompilerAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: normal CC: mmirilovic, sdedic
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:

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.