Community
Participate
Working Groups
Build ID: M20060629-1905 Steps To Reproduce: 1. Create a method like: public static <T extends Comparable<T>> T greatestOrLeast(T r1, T r2, boolean greater) { T ret = r1; if(r1!=null && r2!=null){ if(greater && r1.compare(r2) > 0) { ret = r1; } else ret = r2; } return ret; } 2. Put a breakpoint somewhere inside of the method. 3. When you go in, try watching something. Anything - Even r1 or r2. 4. I get the error message under the watch expression saying something to the effect of Expressions must be ...something.... or well-formed code. You get the same error on non-parameterized variables in the same method. More information:
Passing over to platform
Will be fixed with the patch to bug 184862. *** This bug has been marked as a duplicate of bug 184862 ***
Changing OS from Mac OS to Mac OS X as per bug 185991