Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Reflection.java uses unchecked or unsafe operations" #7

Open
tssm opened this issue Aug 12, 2014 · 1 comment
Open

"Reflection.java uses unchecked or unsafe operations" #7

tssm opened this issue Aug 12, 2014 · 1 comment

Comments

@tssm
Copy link

tssm commented Aug 12, 2014

I just installed it, but when I try to use it Vim suspends itself and displays this error:

Note: ftbundle/java/complete/autoload/Reflection.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Press ENTER or type command to continue

I'm running it on Mac OS X Mavericks.

$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
@mhdirkse
Copy link

I got the same text, but it was a warning. When I pressed Ctrl-X Ctrl-O, I saw the following:

As-MacBook-Pro:tryvim martijndirkse$ vim SomeClass.java

[No write since last change]
Note: /Users/martijndirkse/.vim/autoload/Reflection.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Press ENTER or type command to continue

After this, I could use auto completion as I wanted.

I am working on MacOS Sierra, version 10.12.2 and my Java version is 1.7.0_80.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants