tag:blogger.com,1999:blog-7290642316743338665.post3536996550666566117..comments2023-09-20T05:23:44.886-05:00Comments on behind the times: Java 7 Update from Mark Reinhold at DevoxxHamlet D'Arcyhttp://www.blogger.com/profile/04008870357169725586noreply@blogger.comBlogger20125tag:blogger.com,1999:blog-7290642316743338665.post-88115235369201527062010-02-22T21:20:55.135-06:002010-02-22T21:20:55.135-06:00This comment has been removed by a blog administrator.木須炒餅Jerryhttps://www.blogger.com/profile/11813785579307536291noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-44016036090717207102009-12-02T21:20:29.260-06:002009-12-02T21:20:29.260-06:00This comment has been removed by a blog administrator.pbslhttps://www.blogger.com/profile/15005265495512905546noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-32910265316122337272009-01-23T04:55:00.000-06:002009-01-23T04:55:00.000-06:00The Devoxx keynote from Mark Reinhold is now avail...The Devoxx keynote from Mark Reinhold is now available on Parleys.com !stephanhttps://www.blogger.com/profile/12209902601494913135noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-77504971823134572252008-12-26T07:33:00.001-06:002008-12-26T07:33:00.001-06:00This comment has been removed by a blog administrator.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-32721379941601630322008-12-16T16:22:00.000-06:002008-12-16T16:22:00.000-06:00@Hamlet - you may be correct, I'm no JVM expert ei...@Hamlet - you may be correct, I'm no JVM expert either ;) I may have made a false assumption because I don't know of any languages on the JVM that support reified generics. But perhaps this is because they all want to be compatible with existing Java libraries. I found a blog post by Neal Gafter explaining the options available for introducing reified generics in Java, but he doesn't really provide what JVM changes would be required (although he says they would be necessary for at least one of the options).<BR/><BR/>http://gafter.blogspot.com/2006/11/reified-generics-for-java.html<BR/><BR/>However, I do know that C# compiles generic types at runtime using a JIT compiler. However, perhaps this is not the approach a Java implementation would take.Matthttps://www.blogger.com/profile/11032073577847001957noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-42915375270717082922008-12-16T15:56:00.000-06:002008-12-16T15:56:00.000-06:00@HamletThe approach you are describing does not in...@Hamlet<BR/><BR/>The approach you are describing does not interact smoothly with the reflection system: A .getClass() call will return the base type (that is List rather than List<String>).<BR/><BR/>A language can workaround this limitation by implementing its own reflection mechanism by augmenting Java's reflection with reification. This has the following issues: <BR/><BR/>First, There is no standard for this extension so interoperability between languages will be difficult. Second, instanceof (possibly in existing libraries) will be unaware of reification.<BR/>Finally, JVM-issued type checks (arrays, signature compatibility in verification) rely on instanceof, so valid code may be rejected.Anonymoushttps://www.blogger.com/profile/15900841850889743147noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-14014978270189003732008-12-16T14:32:00.000-06:002008-12-16T14:32:00.000-06:00@Matt - I'm no expert, but couldn't a lang...@Matt - I'm no expert, but couldn't a language on top of the JVM do this today by taking the same approach to templates the C++ did? In my understanding, a generic class was a template, and instantiations of the template were new, synthesized classes to the type system. For instance Foo<T> was a template, and Foo<Integer> was an actual class that was synthesized by the compiler. Perhaps a bytecode compiler for a new language could treat parameterized classes this way so that the JVM is unaware of what's going on.Hamlet D'Arcyhttps://www.blogger.com/profile/04008870357169725586noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-33999118173790129422008-12-16T14:02:00.000-06:002008-12-16T14:02:00.000-06:00If reified generics won't make it into Java 7 the ...If reified generics won't make it into Java 7 the language, I would still really like it to make it into the Java 7 VM so that other languages can take advantage of it. Why stifle all languages on the JVM just because we don't want to break backwards compatibility in ONE of the platform's supported languages?<BR/><BR/>I think it's time to evolve Java the language and Java the platform separately. Invoke Dynamic and VM performance improvements should be in a JVM JSR and Java language enhancements in a different JSR.Matthttps://www.blogger.com/profile/11032073577847001957noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-25466561319554144102008-12-16T14:00:00.000-06:002008-12-16T14:00:00.000-06:00This comment has been removed by the author.Matthttps://www.blogger.com/profile/11032073577847001957noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-21370239683598739162008-12-13T08:49:00.000-06:002008-12-13T08:49:00.000-06:00Thanks for making this nice overview!Thanks for making this nice overview!Wim Bervoetshttps://www.blogger.com/profile/13285473042738491993noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-90490657141195571572008-12-11T15:27:00.000-06:002008-12-11T15:27:00.000-06:00I agree, no doubt a good idea. hit it!jesswww.priv...I agree, no doubt a good idea. hit it!<BR/><BR/>jess<BR/>www.privacy.de.tcHarold Fowlerhttps://www.blogger.com/profile/08018983019271676117noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-68010434414307476462008-12-11T13:49:00.000-06:002008-12-11T13:49:00.000-06:00Sounds like a good idea. Let's pull it over the l...Sounds like a good idea. Let's pull it over the line!Alex Millerhttps://www.blogger.com/profile/01929662536395624733noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-29620267290052587172008-12-11T12:27:00.000-06:002008-12-11T12:27:00.000-06:00The datetime JSR (310) was not mentioned. But I ju...The datetime JSR (310) was not mentioned. But I just asked Stephen Colbourne about it and he said it was mostly a lack of time. It's an open project, perhaps it is time to shut down the browser and start helping with the latest date time code, eh? ;)Hamlet D'Arcyhttps://www.blogger.com/profile/04008870357169725586noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-16566416037403406222008-12-11T11:56:00.000-06:002008-12-11T11:56:00.000-06:00SCTP is not proprietary; it's an IETF standard (RF...SCTP is not proprietary; it's an IETF standard (RFC-4960). It's like TCP, but with message boundaries.John Strackehttps://www.blogger.com/profile/09595614796286273168noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-89808147401930059702008-12-11T09:58:00.000-06:002008-12-11T09:58:00.000-06:00No thumbs up or down on JSR 310?No thumbs up or down on JSR 310?Alex Millerhttps://www.blogger.com/profile/01929662536395624733noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-57914631782439736012008-12-11T09:55:00.000-06:002008-12-11T09:55:00.000-06:00I'll second the support for MigLayout! Also, my un...I'll second the support for MigLayout! Also, my understanding was that the SwingApp Framework had been put on hold as the guy working on it had left Sun...<BR/><BR/>Biggest question - what about the new Date/Calendar api based on Joda??Unknownhttps://www.blogger.com/profile/00590590788256882805noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-25576487154824322362008-12-11T08:57:00.000-06:002008-12-11T08:57:00.000-06:00No Parameter name access?Mark Reinhold said it wou...No Parameter name access?<BR/><BR/>Mark Reinhold said it would be considered by the Java7 team.<BR/><BR/>See http://paranamer.codehaus,org for an interim solution.Paul Hammanthttps://www.blogger.com/profile/09353636931481527923noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-88382876990988483702008-12-11T08:47:00.000-06:002008-12-11T08:47:00.000-06:00If you guys included MigLayout (the highest voted ...If you guys included MigLayout (the highest voted Swing RFE right now) you would move Swing layout management 2 generations forward ahead of any other language.<BR/><BR/>http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6530906<BR/><BR/>And the code is all done for you. Just refactor the package names.<BR/><BR/>MigLayout makes all other Swing layout managers look like a toy. I've had people's jaw drop when I gave them MigLayout training at work.Jacek Furmankiewiczhttps://www.blogger.com/profile/05579810225263887512noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-55936851924735010802008-12-11T07:37:00.000-06:002008-12-11T07:37:00.000-06:00"Java 7 in early 2010" - Mark Reinhold"Java 7 in early 2010" - Mark ReinholdHamlet D'Arcyhttps://www.blogger.com/profile/04008870357169725586noreply@blogger.comtag:blogger.com,1999:blog-7290642316743338665.post-41489494698733583472008-12-11T07:26:00.000-06:002008-12-11T07:26:00.000-06:00Thanks for this post. Clears some of the mist.I am...Thanks for this post. Clears some of the mist.<BR/><BR/>I am glad to see that invokedynamic and modularization are top priority. I think the importance of these two cannot be overestimated.<BR/><BR/>Did they say anything about a release date?Anonymoushttps://www.blogger.com/profile/15900841850889743147noreply@blogger.com