Idea X weird deprecation?

I've noticed that Idea X 98.117 puts a line through any instantiation of JScrollPane, as if the constructor has been deprecated. It gives the advice that "com.intellij.ui.components.JBScrollPane" should be used instead, which seems bizarre.

See attached image.

I'm using Jdk 1.6.0_u22



Attachment(s):
ScreenHunter_01 Oct. 19 16.42.gif
7 comments

Hello Brent,

Weird things can happen if you run IDEA with the internal-use-only flag enabled.

I've noticed that Idea X 98.117 puts a line through any instantiation
of JScrollPane, as if the constructor has been deprecated. It gives
the advice that "com.intellij.ui.components.JBScrollPane" should be
used instead, which seems bizarre.

See attached image.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thank you, but where do I find the internal use only flag? I'm not aware of having enabled it and i can't see it in the settings dialog.

0

Hello Brent,

It's either in idea.properties or idea.exe.vmoptions (idea.is.internal=true)

Thank you, but where do I find the internal use only flag? I'm not
aware of having enabled it and i can't see it in the settings dialog.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

It isn't in either configuration file. I tried uninstalling and re-installing, to make sure i had a clean files, and it's still not present.
I added   idea.is.internal=false   to idea.properties, re-started idea, and there was no difference. The problem is still there. I've never found this with any previous EAP.

0

+1    I have the same issue with 98.187.

I've read the comments about internal flag and cannot find the reference in idea.properties either.

0

Hello Brent,

Indeed, we found why this internal-only inspection became enabled for user
projects. Sorry for the confusion. The workaround is simply to turn off the
inspection.

I've noticed that Idea X 98.117 puts a line through any instantiation
of JScrollPane, as if the constructor has been deprecated. It gives
the advice that "com.intellij.ui.components.JBScrollPane" should be
used instead, which seems bizarre.



--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Thank you for your help.

It's not a real problem for me (I was just reporting a probable bug), so I can just continue normally until it's fixed in a future EAP.

0

Please sign in to leave a comment.