History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16728
Type: Bug Bug
Status: Open Open
Assignee: Maxim Shafirov
Reporter: Jelmer Kuperus
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Trivial test causes intellij to break down

Created: 19 Dec 07 12:32   Updated: 02 Jan 08 15:16
Component/s: Editor. Code Completion

Environment: windows xp

Build: 7,590
Severity: Low


 Description  « Hide
To reproduce

1) Add the following test to an existing project. (I think there needs to be at least one Serializable class) in the project

package org.company;

import junit.framework.TestCase;

/**

  • @author Jelmer Kuperus
    */
    public class MyTest extends TestCase {
    public void testMethod() { assertEquals("polygenelubricants", "polygenelubricants"); }
    }

2) restart IDEA
3) try to use the change name refactoring on a class, or try to find a file using ctrl+shift+f, both will fail

Change the strings being compared to something else and restart the project and normality will be restored

Hint: "polygenelubricants".hashCode() equals Integer.MIN_VALUE



 All   Comments   Work Log   Change History      Sort Order:
Eugene Vigdorchik - 02 Jan 08 15:16
Jelmer,
I bet you've been to JavaPolis this year