From: Steve E. (JIRA) <no...@at...> - 2006-07-21 19:39:15
|
verify that the instrument tasks actually work ---------------------------------------------- Key: HHH-1931 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 Project: Hibernate3 Type: Task Components: core Reporter: Steve Ebersole Assigned to: Scott Marlow It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Steve E. (JIRA) <no...@at...> - 2006-07-21 19:41:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=all ] Steve Ebersole updated HHH-1931: -------------------------------- Attachment: InstrumentBugTest.zip test bundle (minus libs) > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Scott M. (JIRA) <no...@at...> - 2006-07-25 15:10:15
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=comments#action_23760 ] Scott Marlow commented on HHH-1931: ----------------------------------- Doing the following steps with cglib, results in the following error: 1. ant 2. ant instrument 3. ant run . . . [java] 09:39:38,527 INFO SchemaExport:196 - schema export complete [java] Hibernate: select max(ID) from CONTAINER [java] Exception in thread "main" java.lang.NoSuchMethodError: test.Silly.$cglib_write_value(Ljava/lang/String;)V [java] at test.Container.doSillyThing(Container.java:19) [java] at Test.testCreate(Test.java:31) [java] at Test.main(Test.java:18) [java] Java Result: 1 > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Scott M. (JIRA) <no...@at...> - 2006-07-25 18:18:23
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=comments#action_23762 ] Scott Marlow commented on HHH-1931: ----------------------------------- javassist assumes that pojo class Silly isn't instrumented, which is correct. Javassist instrumentation for Container class contains: public void doSillyThing(Silly silly) { silly.value = "true"; } cglib seems to assume that pojo class Silly is instrumented, which is not correct. cqlib instrumentation for Container class contains: public void doSillyThing(Silly silly) { silly.$cglib_write_value("true"); } Silly class looks like: package test; public class Silly { public Silly() { } public String value; } > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Scott M. (JIRA) <no...@at...> - 2006-07-31 20:32:16
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=comments#action_23808 ] Scott Marlow commented on HHH-1931: ----------------------------------- Updated org.hibernate.tool.instrument.cglib.InstrumentTask to only transform methods that accept "instrumented" classes as parameters. > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Scott M. (JIRA) <no...@at...> - 2006-08-02 13:20:17
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=all ] Scott Marlow resolved HHH-1931: ------------------------------- Fix Version: 3.2.1 Resolution: Fixed org.hibernate.tool.instrument.cglib.InstrumentTask was changed (in head) to not instrument methods that take classes as parameters that are not the target instrumented class. > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Fix For: 3.2.1 > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Scott M. (JIRA) <no...@at...> - 2006-08-02 13:25:13
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=all ] Scott Marlow reopened HHH-1931: ------------------------------- should merge fix to 3.2 branch. > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Fix For: 3.2.1 > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
From: Scott M. (JIRA) <no...@at...> - 2006-08-02 13:42:14
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931?page=all ] Scott Marlow resolved HHH-1931: ------------------------------- Fix Version: 3.2.0.ga Resolution: Fixed Fix applied to 3.2.0 branch. > verify that the instrument tasks actually work > ---------------------------------------------- > > Key: HHH-1931 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1931 > Project: Hibernate3 > Type: Task > Components: core > Reporter: Steve Ebersole > Assignee: Scott Marlow > Fix For: 3.2.0.ga, 3.2.1 > Attachments: InstrumentBugTest.zip > > > It appears they may not in all cases. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |