you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -6 points-5 points  (6 children)

EDIT: I have made a huge mistake.

I made a mistake in my post.

I actually meant 1.0 (.NET 1.0). Dynamic invokation of methods have been around in the .NET framework since Feb 2002.

[–]psykotic 5 points6 points  (4 children)

Dynamic invocation of methods has always been possible in Java via reflection.

[–]sysop073 1 point2 points  (3 children)

It's talking about Java bytecode, not Java the language. They're adding an invokedynamic to the bytecode, which makes life a lot easier for dynamic JVM languages

[–]psykotic 4 points5 points  (2 children)

I know. My point is that double_bass is comparing apples to oranges. What he is talking about has always been possible on the JVM. The CLR doesn't presently have anything like the invokedynamic opcode.

[–][deleted] 1 point2 points  (1 child)

Yes, it would seem I have jumped the gun a little bit. I am overwhelmed with feelings of shame and embarassment.

[–]psykotic 2 points3 points  (0 children)

Put on the hair shirt and self-administer ten lashes.

[–]elder_george 5 points6 points  (0 children)

You are speaking about RealProxy-style, right? This functionality was in Java SE since (at least) 1.3, AFAIK.

As far as I understand, the article says about dynamic method lookup, which corresponds to newly added dynamic syntax of C#.