Bug 84075
Summary: | Eclipse tries to write to /usr/lib/eclipse/workspace/.metadata | ||
---|---|---|---|
Product: | [Retired] Red Hat Developer Suite | Reporter: | Phil Muldoon <pmuldoon> |
Component: | eclipse | Assignee: | eclipse-bugs |
Status: | CLOSED CURRENTRELEASE | QA Contact: | eclipse-bugs |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-09-04 15:50:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Phil Muldoon
2003-02-11 22:01:38 UTC
I tried this today and wasn't able to reproduce it. I'm closing the PR on the theory that it somehow got fixed. Can you reproduce this? Reopened for tracking, and investigation See: http://post-office.corp.redhat.com/archives/eclipse-list/2003-June/msg00020.html From: Andrew Haley <aph> To: Tom Tromey <tromey> Cc: eclipse-list Subject: I fixed the mystery bug! Date: Wed, 3 Sep 2003 20:18:32 +0100 After a very long struiggle, I have discovered the problem. Okay, the bug was this. In launcher.Main, we have some code that converts from a .jar file to a .so, so that we run compiled code rather than starting the interpreter. We added this code to the point where we look for the .jar. The problem is that the boot file was being searched for in two separate places, dammit, rather than the one that we patched. So, sometimes we run the .so and sometimes we run the .jar, depending on which code path we follow. This triggers a gcj bug whereby there is a problem accessing static fields in a .jar from a .so. So, I made the code that looks for the solib into a private method and called it from *both* places. This fixes the problem. 2003-09-03 Andrew Haley <aph> * src/org/eclipse/core/launcher/Main.java (findBootSolib): New method. (getDevPath): Call findBootSolib. (processConfiguration): Call findBootSolib. |