| Summary: | XLC Compiler Property Page Class Cast Exception | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | James Blackburn <jamesblackburn+eclipse> |
| Component: | cdt-build-managed | Assignee: | Project Inbox <cdt-build-managed-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Chris Recoskie <recoskie> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 6.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
James Blackburn
I can't reproduce this with HEAD. I assume from the stack trace that you selected a source file from the Project Explorer and then opened the properties, but this works for me. I've installed the M5 bits with all Features in a clean Eclipse configuration. 1) Create Hello World ANSI C Project 2) (In reply to comment #1) > I can't reproduce this with HEAD. I assume from the stack trace that you > selected a source file from the Project Explorer and then opened the > properties, but this works for me. Indeed. This is using Vivian's M5 candidate: cdt-master-6.0.0-I200902031437 On MacOS: 1) I installed all the features from the update site to a clean configuration 2) I created the HelloWorld C ANSI program 3) Properties on hw.c 4) Try to access the XL C/C++ page It works at the project root, but not at the file level. Here's another exception from the same area (having pressed OK on that page): java.lang.ClassCastException: org.eclipse.cdt.internal.core.model.TranslationUnit at org.eclipse.cdt.managedbuilder.xlc.ui.properties.XLCompilerPropertyPage.performOk(XLCompilerPropertyPage.java:155) at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:931) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:880) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:911) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:440) Ah ok... I only fixed it this morning, so it wouldn't be in yesterday's build. *** This bug has been marked as a duplicate of bug 237176 *** |