Bug 236541 - [GCJ Bug] help doesn't work
[GCJ Bug] help doesn't work
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-04-16 06:26 EDT by Ben Konrath
Modified: 2007-11-30 17:12 EST (History)
4 users (show)

See Also:
Fixed In Version: 4.1.2-12
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-05-11 01:15:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch for Classpath (2.16 KB, patch)
2007-05-03 13:22 EDT, Andrew Haley
no flags Details | Diff

  None (edit)
Description Ben Konrath 2007-04-16 06:26:16 EDT
Version-Release number of selected component (if applicable):

eclipse 3.2.2-8

Steps to Reproduce:
1. go to Help -> Help Contents
2. get a page with "The document that you have requested is not available. The
link may be wrong or you not have the corresponding product feature installed."
instead of the Eclipse help.
Comment 1 Ben Konrath 2007-04-16 06:28:50 EDT
Here's the tomcat output of from 'eclipse -consolelog':

17-Apr-07 5:18:50 AM org.apache.catalina.startup.Embedded start
INFO: Starting tomcat server
17-Apr-07 5:18:51 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.20
17-Apr-07 5:18:51 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
17-Apr-07 5:18:52 AM org.apache.catalina.loader.WebappLoader start
INFO: Dual registration of jndi stream handler: URLStreamHandlerFactory already set
17-Apr-07 5:18:52 AM org.apache.catalina.loader.WebappLoader setClassPath
INFO: Unknown loader
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@345789f1 class
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader
17-Apr-07 5:18:54 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-127.0.0.1-60439
17-Apr-07 5:18:55 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-127.0.0.1-60439
Comment 2 Ben Konrath 2007-04-26 00:42:59 EDT
That output is the same as what gets spit out on a working FC-6 so that won't
help with this problem.

I tested help with Sun's VM and it's working so this is a GCJ problem. I'll work
on narrowing down a test case.
Comment 3 Ben Konrath 2007-04-26 00:45:10 EDT
Tom / Andrew / Gary,

Just thought I'd let you know that this is in the pipes. I'll let you know when
I've narrowed it down a little.
Comment 4 Andrew Haley 2007-04-26 06:02:57 EDT
You say here that "output is the same as what gets spit out on a working FC-6".

I take it, then, that this bug is not an F7 regression, and has been around for
some considerable time.  Is this correct?
Comment 5 Ben Konrath 2007-04-26 11:46:39 EDT
Sorry, I wasn't clear there. What I meant to say was that text output from
-consolelog is the same as FC-6 so that doesn't help debug the problem. This is
in fact a Fedora 7 regression.
Comment 6 Andrew Haley 2007-04-26 12:10:45 EDT
OK, I'm looking now.
Comment 7 Andrew Haley 2007-05-02 11:50:16 EDT
This is because Eclipse needs MX4J.  Try this fix:

sudo ln -sf /usr/share/java/mx4j/mx4j.jar  /usr/share/java/gcj-endorsed
Comment 8 Ben Konrath 2007-05-03 01:14:57 EDT
That fixes the problem, thanks!
Comment 9 Gary Benson 2007-05-03 04:14:12 EDT
In what sense does it need it?  Does it specifically require MX4J features, or
does it just not work with libgcj's javax.management?
Comment 10 Gary Benson 2007-05-03 04:21:46 EDT
Oops, never mind, I just saw
https://www.redhat.com/archives/fedora-devel-java-list/2007-May/msg00002.html
Comment 11 Andrew Haley 2007-05-03 13:22:51 EDT
Created attachment 154051 [details]
Patch for Classpath

I have tested this bug with libgcj HEAD and it fixes the problem.
Comment 12 Andrew Haley 2007-05-04 12:34:52 EDT
Patch committed to redhat/gcc-4_1-branch, awaiting respin.
Comment 13 Andrew Haley 2007-05-10 05:24:09 EDT
To Ben Konrath

A new gcc build is at
http://koji.fedoraproject.org/koji/buildinfo?buildID=6143

Please try it.  Please close this Bugzilla entry if the bug is now fixed.
Comment 14 Ben Konrath 2007-05-11 01:15:44 EDT
Yep, the bug is fixed with gcc-4.1.2-12.

Note You need to log in before you can comment on or make changes to this bug.