artur-shaik / vim-javacomplete2

DEPRECATED in favor of jc.nvim
Vim License
973 stars 83 forks source link

"Some input files use unchecked or unsafe operations." #372

Closed soleera closed 5 years ago

soleera commented 6 years ago

Actual behavior (Required!)

Error messages on first compile:

Error detected while processing function <SNR>138_JobNeoVimResponseHandler[3]..javacomplete#server#CompilationJobHandler:                                                                                            
line   10:                                                                                                                                                                                                           
Note: Some input files use unchecked or unsafe operations.                                                                                                                                                           
Press ENTER or type command to continue 

Error detected while processing function <SNR>138_JobNeoVimResponseHandler[3]..javacomplete#server#CompilationJobHandler:                                                                                            
line   10:                                                                                                                                                                                                           
Note: Recompile with -Xlint:unchecked for details.

Java completion lists take a long time to load (approximately 4 seconds) when typing things such as import java. or System.

Expected behavior (Required!)

No error messages & a shorter time to load completion lists

The steps to reproduce actual behavior (Required!)

  1. Install vim-Javacomplete2 through Vimplug
  2. Open a java file (error messages appear)
  3. Type import java. (lags for ~4 seconds)

Environment (Required!)

Q&A

ricmen commented 6 years ago

Same for me OS: Ubuntu Xenial VIM: 7.4 Minimal configuration but the same error even just opening a new Class without type anything

screenshot from 2018-04-13 10-06-07

rust20 commented 6 years ago

I'm having the exact same issue on neovim v0.2.2 when I tried to run command JCserverCompile