<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16735" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>pardon my ignorance, but is there any plan to allow
dynamic slot/field access?...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ok, I am starting out just implementing my own
VM with little familiarity with this framework in general (at this point I
have little idea if it will actually be compatible), my tweak was partly to add
the ability to have usable fields in interfaces (AFAIK, this is not allowed
in standard JVMs).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>ok, from what info I can find, interfaces in my
case work a little differently. there is actually almost no structural coupling
between interfaces and object methods. instead, a set of hash tables is used,
and the slot/method handle from the interface is used to lookup the appropriate
method in the object via the hash tables (actually, a set of single largish hash
tables is used for managing the entire object system).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>at present, the object system doesn't bother to
verify that classes implement interfaces.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(granted, some other much more questionable things
are done with interfaces as well in my case...).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>the result is that it is possible to have an
interface that contains the fields in question, and use it to access the given
slots in whatever object it is given, and I could go this route.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>alternatively, it could also be possible to not
have a valid class in the FieldRef (like leaving it NULL), and using this as a
general indication to dynamically lookup the slot.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>so, granted, people here probably wont care about
anything I am doing, but it would be nice to have a clearer idea what the plans
are.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=John.Rose@Sun.COM href="mailto:John.Rose@Sun.COM">John Rose</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=mlvm-dev@openjdk.java.net
href="mailto:mlvm-dev@openjdk.java.net">Da Vinci Machine Project</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, December 10, 2008 5:47
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Source Code to Build
invokedynamic.jar</DIV>
<DIV><BR></DIV>We don't make an invokedynamic.jar. (Unless Remi does?)
I think you are looking for JSR 223, not JSR 292.
<DIV><BR></DIV>
<DIV>Good luck,</DIV>
<DIV>-- John</DIV>
<DIV><BR>
<DIV>
<DIV>On Dec 9, 2008, at 10:56 AM, Bui, Phillip wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">
<DIV><FONT face=Arial size=2><SPAN class=479465118-09122008>I look for the
source code to build invokedynamic.jar for Jruby 1.1.5.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=479465118-09122008>Do you know the
location ?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=479465118-09122008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=479465118-09122008>Thanks,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=479465118-09122008></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=479465118-09122008>Phillip
Bui</SPAN></FONT></DIV>
<DIV
style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">mlvm-dev mailing list</DIV>
<DIV style="MARGIN: 0px"><A
href="mailto:mlvm-dev@openjdk.java.net">mlvm-dev@openjdk.java.net</A></DIV>
<DIV style="MARGIN: 0px"><A
href="http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev">http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev</A></DIV></BLOCKQUOTE></DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>mlvm-dev mailing
list<BR>mlvm-dev@openjdk.java.net<BR>http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev<BR></BLOCKQUOTE></BODY></HTML>