Project: JDT
Bug 198786 [Extract Class] NPE when array.length access is assigned
Reported: 2007-08-03 05:10:20 | Status: resolved fixed

package p; public class ArrayLenghthAccess { private int test=new int[8].length; } Use Extract Class on ArrayLenghthAccess leads to a NPE

Files changed in fix:
org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayLengthAccess/in/ArrayLengthAccess.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayLengthAccess/out/ArrayLengthAccess.java org.eclipse.jdt.ui.tests.refactoring/resources/ExtractClass/testArrayLengthAccess/out/ArrayLengthAccessParameter.java org.eclipse.jdt.ui.tests.refactoring/test cases/org/eclipse/jdt/ui/tests/refactoring/ExtractClassTests.java org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractClassRefactoring.java