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.
Try to format this code snippet: FutureTask<ObjectStore> future = new FutureTask<>( new Callable<ObjectStore>() { @Override public ObjectStore call() { return null; } } ); After formatting it looks: FutureTask<ObjectStore> future = new FutureTask<>( new Callable<ObjectStore>() { @Override public ObjectStore call() { return null; } } ); Which IMHO is strange. I'd expect: FutureTask<ObjectStore> future = new FutureTask<>( new Callable<ObjectStore>() { @Override public ObjectStore call() { return null; } } );