| Summary: | User defined Logical Structures don't work in 1.6 JRE but do work in 1.6 JDK | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Brad Cupit <bradcupit> | ||||||||
| Component: | Debug | Assignee: | JDT-Debug-Inbox <jdt-debug-inbox> | ||||||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||||||
| Severity: | normal | ||||||||||
| Priority: | P3 | CC: | bradcupit, darin.eclipse | ||||||||
| Version: | 3.3 | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows Vista | ||||||||||
| Whiteboard: | stalebug | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Brad Cupit
Created attachment 73362 [details]
User Defined Logical Structure to reproduce the bug
This attachment can be imported (File -> Import -> General -> Preferences -> Next) to add a logical structure for the java.lang.String class that will reproduce the bug. This attachment is only for convenience when reproducing the bug, as it seems to occur on the String class regardless of how the Logical Structure is defined.
(In reply to comment #0) > Logical Structures did not work under a 1.6 JRE When code was compiled as 1.5 > or 1.6 Quick clarification, this means "types like String and Calendar do not work under a 1.6 JRE" (other types, like BigDecimal, for some reason always work, even in a 1.6 JRE) I am not able to reproduce on XP. The imported the structure, compiled a project using 1.5, and debugged on 1.6. (In reply to comment #3) > I am not able to reproduce on XP. The imported the structure, compiled a > project using 1.5, and debugged on 1.6. > Hrmm...I was able to reproduce it on XP. Are you sure that a JRE (and not a JDK) was checked under Preferences -> Java -> Installed JREs? Oh one other thing, I'm using a Sun JRE/JDK Cannot reproduce on 3.5Rc3. Closing as works for me. (In reply to comment #6) > Cannot reproduce on 3.5Rc3. Closing as works for me. The bug still happens with Eclipse 3.5 final (not, I didn't try with 3.5 RC3) Just to recap, write the following code: public class Main { public static void main(String[] args) { String x = "123"; System.out.println(x); } } 1. setup the Sun JRE (not the JDK) as the default 2. ensure the JRE is checked under Execution Environments 3. import the attached StringLogicalStructures.epf 4. set a breakpoint on the System.out.println line 5. press the "Show Logical Structure" button in Variables view 6. click the '+' next to the x variable 7. see the bug (attached screenshot) this was done on a brand new, empty workspace. Sun JRE 1.6.0_10 Under Execution Environments, when I check the JRE, most logical structures don't work, but when I check the JDK, logical structures do work. I can upload a screencast if that would be helpful. Created attachment 140707 [details]
screenshot of bug
Created attachment 140708 [details]
shot of Execution Environment settings to reproduce the bug
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie. |