[Jadclipse-develop] [ jadclipse-Bugs-1554721 ] decompiler is applied even though source code is ava
Status: Beta
Brought to you by:
vovikg
|
From: SourceForge.net <no...@so...> - 2006-10-27 12:26:29
|
Bugs item #1554721, was opened at 2006-09-08 12:39 Message generated for change (Comment added) made by jgyger You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427342&aid=1554721&group_id=40205 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Closed Resolution: None Priority: 5 Private: No Submitted By: Christopher Sahnwaldt (chrisahn) Assigned to: Johann Gyger (jgyger) Summary: decompiler is applied even though source code is available Initial Comment: I'm re-submitting this bug (1425832, http://sourceforge.net/tracker/index.php? func=detail&aid=1425832&group_id=40205&atid=427342 ) because for me it happens all the time. It makes JadClipse (which is otherwise a great tool) unusable. I can reproduce it by these steps: - start Eclipse, go into a project in the Package Explorer - click on the JRE System Library, go into rt.jar (see screen shot in attachment) - make sure that a source location is configured for rt.jar (usually src.zip in your JDK installation) - open java.sql.Array.class (or any class file for which the source location contains a Java file) -> works fine, class editor opens with java code from source location - close that class file - open sun.audio.AudioData.class (or any class file for which the source location does NOT contain a Java file) -> I first get the usual Eclipse Class File Editor (with the overview of fields and methods) -> when I click into that window, I get the decompiled version from JadClipse - open java.sql.Array.class again -> works fine, class editor opens with java code from source location - open any other class file that was *NEVER OPENED BEFORE* in this Eclipse session for which the source location DOES contain a Java file -> I first get the Eclipse Class File Editor (with the overview of fields and methods) -> when I click into that window, I get the decompiled version from JadClipse -> there is NO WAY to get the java code from the source location into the editor It seems that once JadClipse has been used in an Eclipse session, Eclipse does not find the source code in the source attachment anymore. I use Eclipse Version: 3.2.0 Build id: M20060629-1905, JadClipse Version 3.2.2, but it happened with older versions as well. ---------------------------------------------------------------------- >Comment By: Johann Gyger (jgyger) Date: 2006-10-27 12:26 Message: Logged In: YES user_id=7927 Replacing the SourceMapper for IPackageFragmentRoot of the type had an unexpected side-effect. All subsequent classes in the same package fragment root (JAR, etc.) were decompiled although a source attachment was available. Fixed for JadClipse 3.2.3. ---------------------------------------------------------------------- Comment By: Johann Gyger (jgyger) Date: 2006-10-27 08:48 Message: Logged In: YES user_id=7927 Replacing the SourceMapper for IPackageFragmentRoot of the type had an unexpected side-effect. All subsequent classes in the same package fragment root (JAR, etc.) were decompiled although a source attachment was available. Fixed for JadClipse 3.2.3. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2006-10-27 08:05 Message: Logged In: NO This now works for us with: Eclipse Version: 3.2.1 Build id: M20060921-0945 jadclipse: net.sf.jadclipse_3.2.3.jar ---------------------------------------------------------------------- Comment By: Johann Gyger (jgyger) Date: 2006-10-20 07:45 Message: Logged In: YES user_id=7927 Once a class file in a jar does not contain a source attachment, all further files opened from the same jar file that contain a source attachment will be decompiled. I could reproduce this bug but do not have a solution so far. ---------------------------------------------------------------------- Comment By: David Karnok (karnokd) Date: 2006-10-04 16:52 Message: Logged In: YES user_id=1245062 I use Eclipse 3.2.1 and JadClipse 3.2.2 produces this problem, but when replacing it with JadClipse 3.1.0, the available source is honored. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=427342&aid=1554721&group_id=40205 |