Community
Participate
Working Groups
Test case - place method entry breakpoint on Y.foo(MyEnum) /******************************************************************************* * Copyright (c) 2006 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ package a.b.c; /** * @since 3.2 * */ public class X { enum MyEnum { APPLE, ORANGE; } class Y { public void foo(MyEnum z) { System.err.println(z); } } public static void main(String[] args) { X x = new X(); x.foo(); } public void foo() { Y y = new Y(); y.foo(MyEnum.APPLE); } }
Created attachment 35620 [details] patch this patch fixes the inner method issue, as well as enums as params in general in methods, which also addresses bug 128734
please verify Darin W
Modified patch. Fix is to translate '.' for member types to '$' and then back to '.' when creating a type siganture, otherwise the '.' is translated to a '/' which denotes package rather than member type.
Verified.
*** Bug 128734 has been marked as a duplicate of this bug. ***