I had a line saying this:

List x = new Arrays.asList(somearray);

which is of course wrong (the "new" should not be there). Idea marked it
correctly and offered me to "implement asList". Being a little curious, I
accepted the offer, and got the following in the console (along with an
"internal error" dialog):

[ 382650]  ERROR - tellij.codeInsight.intention.w -
com.intellij.util.p: Cannot modify a read-only file
c:\windev\jdk\jdk1.3\src.jar
!\src\java\util\Arrays.java.
        at com.intellij.psi.impl.h.a(h.java:19)
        at com.intellij.psi.impl.source.j.a(j.java:143)
        at com.intellij.psi.impl.source.g.b(g.java:194)
        at com.intellij.codeInsight.intention.w.f(w.java:3)
        at com.intellij.codeInsight.intention.w.b(w.java:55)
        at com.intellij.codeInsight.intention.v.b(v.java:19)
        at com.intellij.codeInsight.intention.bg.run(bg.java:1)
        at com.intellij.openapi.a.a.b.b(b.java:8)
        at com.intellij.codeInsight.intention.bf.run(bf.java:2)
        at
com.intellij.command.impl.CommandProcessorImpl.a(CommandProcessorImpl
.java:8)
        at com.intellij.codeInsight.intention.be.run(be.java:1)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at com.intellij.ide.c.dispatchEvent(c.java:26)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)


BTW, the find/replace icons and the move back/forward icons are the most
difficult to discern (why do you change the icons so often, anyway??)


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to