From: SourceForge.net <no...@so...> - 2004-01-19 20:23:33
|
Bugs item #880074, was opened at 2004-01-19 14:23 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=880074&group_id=12867 Category: Core Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jerome David (jeromedavid) Assigned to: Nobody/Anonymous (nobody) Summary: IllegalAccessException Initial Comment: I have a factory returning an instance of a class GocadTSurfImpl that implements (indirectly) a GocadGObj interface and therefore implements a getGObj() method. In Java, I can call this getGObj() method on this instance of GocadTSurfImpl from another package, but if I write the equivalent code in Jython, I get an IllegalAccessException. Attached is the sample test case. Main.java runs perfectly, but Main.py (that does the same thing in Jython) throws am IllegalAccessException. There's a workaround. You can specify explicitely that GocadGObjImpl (the base class of GocadTSurfImpl) implements GocadGObj. However, this means that you have to modified the java code when you shouldn't have to. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=880074&group_id=12867 |
From: SourceForge.net <no...@so...> - 2006-05-15 17:54:04
|
Bugs item #880074, was opened at 2004-01-19 20:23 Message generated for change (Settings changed) made by fwierzbicki You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=880074&group_id=12867 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: Core >Group: Deferred Status: Open Resolution: None >Priority: 4 Submitted By: Jerome David (jeromedavid) Assigned to: Nobody/Anonymous (nobody) Summary: IllegalAccessException Initial Comment: I have a factory returning an instance of a class GocadTSurfImpl that implements (indirectly) a GocadGObj interface and therefore implements a getGObj() method. In Java, I can call this getGObj() method on this instance of GocadTSurfImpl from another package, but if I write the equivalent code in Jython, I get an IllegalAccessException. Attached is the sample test case. Main.java runs perfectly, but Main.py (that does the same thing in Jython) throws am IllegalAccessException. There's a workaround. You can specify explicitely that GocadGObjImpl (the base class of GocadTSurfImpl) implements GocadGObj. However, this means that you have to modified the java code when you shouldn't have to. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=880074&group_id=12867 |
From: SourceForge.net <no...@so...> - 2006-08-29 03:47:22
|
Bugs item #880074, was opened at 2004-01-19 15:23 Message generated for change (Comment added) made by cgroves You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=880074&group_id=12867 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: Core Group: Deferred >Status: Closed >Resolution: Duplicate Priority: 4 Submitted By: Jerome David (jeromedavid) Assigned to: Nobody/Anonymous (nobody) Summary: IllegalAccessException Initial Comment: I have a factory returning an instance of a class GocadTSurfImpl that implements (indirectly) a GocadGObj interface and therefore implements a getGObj() method. In Java, I can call this getGObj() method on this instance of GocadTSurfImpl from another package, but if I write the equivalent code in Jython, I get an IllegalAccessException. Attached is the sample test case. Main.java runs perfectly, but Main.py (that does the same thing in Jython) throws am IllegalAccessException. There's a workaround. You can specify explicitely that GocadGObjImpl (the base class of GocadTSurfImpl) implements GocadGObj. However, this means that you have to modified the java code when you shouldn't have to. ---------------------------------------------------------------------- >Comment By: Charles Groves (cgroves) Date: 2006-08-28 22:47 Message: Logged In: YES user_id=1174327 This has the same base cause as 628315. It's fixed in trunk. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=112867&aid=880074&group_id=12867 |