Reputation: 6042
Ver 14.1.1 Ultimate:
Can somebody please explain what is going on, what is the so special about crypto package mysterious behavior?
A. Mac
class is unresolved according to editor.
B. SecretKeySpec
is resolved only via .* notation and would give the same underscore red marking error if I would import individually the class.
C. I can run the method so it compiles?!
Upvotes: 1
Views: 104
Reputation: 7166
Glad I could help :)
IntelliJ has some hickups from time to time, in such cases I choose File
-> Invalidate caches and restart
. This is my first best shot at such kind of issues, and mostly the go away with that.
Upvotes: 2