Charles Oliver Nutter wrote: > Jochen Theodorou wrote: >> Charles Oliver Nutter schrieb: >>> Jochen Theodorou wrote: >>>> null >>>> >>>> and I want to call a method foo(), that means null is the receiver. But >>>> instead of using the unreflected MH for foo() I use something that >>>> replaces the receiver in a BMH.. so inside it will be a valid method >>>> call, but will I come to this point even? >>> It appears to work fine in my test: >>> >>> $ $JAVA_HOME/bin/java -cp dist/InvokeDynamicTests.jar -XX:+InvokeDynamic >>> com.sun.dynamic.test.DynamicAgainstNull >>> reporting bootstrap method to JVM: >>> bootstrap:(java.dyn.CallSite,java.lang.Object...)java.lang.Object >>> DynCallSite: >>> CallSite#9519074[target(java.lang.Object,java.lang.Integer)java.lang.Object >>> => null] >>> obj is null, integer is 1 >>> obj is null, integer is 1 >>> >>> See the project here: >>> >>> http://kenai.com/projects/invoke-dynamic-tests >> but I cannot find com.sun.dynamic.test.DynamicAgainstNull there. > > Sorry, I forgot to push. It's there now. Not much different from the > other case though.
And my push stalled when I looked away. It's REALLY there now: http://is.gd/2vkp - Charlie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---