| Summary: | Host OSGi console does not work after disconnect | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] PDE | Reporter: | Darin Wright <darin.eclipse> | ||||
| Component: | UI | Assignee: | PDE-UI-Inbox <pde-ui-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, tjwatson | ||||
| Version: | 3.6 | Flags: | darin.eclipse:
review+
|
||||
| Target Milestone: | 3.6 RC1 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Darin Wright
Created attachment 168052 [details] patch to not reuse a closed ConsoleSession With the changes in bug 311307 PDE is now reusing the same ConsoleSession instance when it attempts to reopen the OSGi Console. After the method org.eclipse.osgi.framework.console.ConsoleSession.doClose() is called the ConsoleSession should not be used again. Instead a new ConsoleSession should be created by the factory. Here is a patch that attempts to fix this. Thanks, Tom. This makes the console work for the "disconnect"/re-open scenario. +1. I'll open a new bug to add a close action/toolbar buttun (again :-) |