Planet JDKNews and views from the Java SE Development-Kit CommunityVariousA. Sundararajan: Thursday May 8, JavaOneA. Sundararajanhttp://blogs.sun.com/sundararajan/entry/thursday_may_8_javaone2008-05-09T15:29:46Z2008-05-09T15:26:14Z

Here are the few highlights from the talks that I attended today:

sundararajan2008-05-09T15:26:14Z
James Gosling: Aiee!!James Goslinghttp://blogs.sun.com/jag/entry/aiee2008-05-09T13:26:17Z2008-05-09T13:26:17Z
I don't know how some people manage to blog so much. Yesterday was another huge blur. A big chunk was rehearsing for my keynote this morning. It's kinda easy for me because it's mostly demos, and they're all wickedly cool. We added a new one late last night because some folks got something to work that was pretty magnificent. Drives the stage crew mad. ...
jag2008-05-09T13:26:17Z
Gary Benson: Gary Bensonhttp://gbenson.net/?p=722008-05-09T15:17:57Z2008-05-09T12:25:55Z
Well, it’s taken a month and a half — and over 2000 lines of code — but I finally got a method out of Shark. I made a chart showing which bytecodes are implemented, which I’ll keep updated as I progress. The estimated total coverage of 18% is slightly fanciful as it treats all bytecodes [...]
gbenson2008-05-09T12:25:55Z
Mark Wielaard: The GPL is like a green envelopeMark Wielaardhttp://gnu.wildebeest.org/diary/2008/05/09/the-gpl-is-like-a-green-envelope/2008-05-09T10:24:46Z2008-05-09T10:24:46Z
German court tells Skype to obey the GPL: “If a publisher wants to publish a book of an author that wants his book only to be published in a green envelope, then that might seem odd to you, but still you will have to do it as long as you want to publish the book and [...]
Mark Wielaard2008-05-09T10:24:46Z
Jeroen Frijters: Compiler IntrinsicsJeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=0404dd8a-88a8-4d62-9bcb-98324d57a2a92008-05-09T09:27:51Z2008-05-09T09:27:51Z

Most compilers have some (or in some cases many) intrinsic functions. HotSpot has a number of them (see here, search for "intrinsics known to the runtime") as does the CLR JIT. IKVM has had a couple as well (System.arraycopy(), AtomicReferenceFieldUpdater.newUpdater(), String.toCharArray()). These were sort of hacked into the compiler and I finally decided to clean that up a little and add more scalable support ...

http://weblog.ikvm.net/Trackback.aspx?guid=0404dd8a-88a8-4d62-9bcb-98324d57a2a9http://weblog.ikvm.net/pingback.aspxhttp://weblog.ikvm.net/PermaLink.aspx?guid=0404dd8a-88a8-4d62-9bcb-98324d57a2a9http://weblog.ikvm.net/CommentView.aspx?guid=0404dd8a-88a8-4d62-9bcb-98324d57a2a9http://weblog.ikvm.net/SyndicationService.asmx/GetEntryCommentsRss?guid=0404dd8a-88a8-4d62-9bcb-98324d57a2a902008-05-09T09:27:51Z
Cay Horstmann: Java One Day 3Cay Horstmanntag:weblogs.java.net,2008:/blog/cayhorstmann/334.97572008-05-09T06:57:53Z2008-05-09T06:57:53Z
My day 3 at Java One ranged from the Nimbus UI and the future of JSF to interesting discussions about closures and Scala. Details below.
cayhorstmannJ2SE2008-05-09T06:57:53Z
Joe Darcy: JavaOne: Java + You = ...Joe Darcyhttp://blogs.sun.com/darcy/entry/java_you2008-05-08T17:00:00Z2008-05-08T17:00:00Z

In this year's JavaOne pavilion, you can get shirt's printed with your own answer to this year's conference theme posed as a question

darcy2008-05-08T17:00:00Z
James Gosling: Wednesday at JavaOne: what a ride!James Goslinghttp://blogs.sun.com/jag/entry/wednesday_at_javaone_what_a2008-05-08T15:45:41Z2008-05-08T15:40:29Z
Yesterday was totally packed. Absolutely no rest for the wicked :-) Lots of great interactions with all sorts of folks, some in organized meetings, but most just random chats in the hallways. I love the energy that is everywhere.  ...
jag2008-05-08T15:40:29Z
Cay Horstmann: Java One Day 2Cay Horstmanntag:weblogs.java.net,2008:/blog/cayhorstmann/334.97442008-05-08T15:28:08Z2008-05-08T15:28:08Z
Here is my report from day 2 of Java One. I continue to feel diffident about RIA and Java FX Script, the theme of this year's Java One, so I decided to make my own themes: Ease of development, and transparency.
cayhorstmann2008-05-08T15:28:08Z
A. Sundararajan: Wednesday May 7, JavaOneA. Sundararajanhttp://blogs.sun.com/sundararajan/entry/wednesday_may_7_javaone2008-05-08T14:58:58Z2008-05-08T14:58:58Z

Today Bill, Chihiro, Jaya and I talked on Blu-ray. The talk was centered around the open source project @ http://hdcookbook.dev.java.net - a library and a set of tools to build Blu-ray discs. If you haven't checked out code/docs, you may want to checkout and play with the code. All you need is a laptop with blu-ray drive and a BD-RE disc. Optionally, for added fun you ...

sundararajan2008-05-08T14:58:58Z
John Rose: dynamic invocation in the VMJohn Rosehttp://blogs.sun.com/jrose/entry/dynamic_invocation_in_the_vm2008-05-08T09:33:44Z2008-05-08T06:59:00Z
For several years now, JSR 292 has promised an invokedynamic instruction in one form or another. The problem has been with picking the one form that simultaneously enables a good range of use cases, addresses several architectural challenges in the JVM, and can be optimized by a variety of commercial JVMs. It has been a restless search for “one bytecode to rule them all”. ...
jrose2008-05-08T06:59:00Z
Kelly O'Hair: Sun Studio Compilers on LINUX?Kelly O'Hairhttp://blogs.sun.com/kto/entry/sun_studio_compilers_on_linux2008-05-07T20:17:57Z2008-05-07T19:47:39Z

With the magic of Mercurial, you can see changesets, like this one: http://hg.openjdk.java.net/jdk7/jdk7/hotspot/rev/485d403e94e1. Which Serguei Spitsyn integrated recently.

kto2008-05-07T19:47:39Z
Kelly O'Hair: InfoQ Article on Git, Mercurial, and BzrKelly O'Hairhttp://blogs.sun.com/kto/entry/infoq_article_on_git_mercurial2008-05-07T20:18:27Z2008-05-07T19:18:58Z

A while back Sébastien Auvray asked me some questions about the OpenJDK Mercurial conversion. His article was recently published at http://www.infoq.com/articles/dvcs-guide.

kto2008-05-07T19:18:58Z
Jonathan Gibbons: Improving javac diagnosticsJonathan Gibbonshttp://blogs.sun.com/jjg/entry/improving_javac_diagnostics2008-05-08T14:23:55Z2008-05-07T19:00:00Z

In javac land, we're looking at improving the diagnostic messages generated by the compiler ...

jonathangibbons2008-05-07T19:00:00Z
James Gosling: What a day...James Goslinghttp://blogs.sun.com/jag/entry/what_a_day2008-05-07T16:31:50Z2008-05-07T14:37:06Z
First things first, a couple of things to check out:  ...
jag2008-05-07T14:37:06Z
A. Sundararajan: Tuesday May 6, JavaOneA. Sundararajanhttp://blogs.sun.com/sundararajan/entry/tuesday_may_6_javaone2008-05-07T14:22:02Z2008-05-07T14:22:02Z
In today's sessions that I attended I liked the following:  ...
sundararajan2008-05-07T14:22:02Z
Cay Horstmann: Java One Day 1Cay Horstmanntag:weblogs.java.net,2008:/blog/cayhorstmann/334.97252008-05-07T07:36:00Z2008-05-07T07:36:00Z
Here is my braindump from Information Overload Central, AKA Java One 2008. Java FX Script. EJB 3.1. Defective Java. Java Language Evolution.
cayhorstmann2008-05-07T07:36:00Z
John Rose: JSR 292 meeting at JavaOne 2008John Rosehttp://blogs.sun.com/jrose/entry/jsr_292_meeting_at_javaone2008-05-08T07:22:10Z2008-05-07T06:59:02Z

Hello, JSR 292 observers and language implementors!

jrose2008-05-07T06:59:02Z
David Dagastine: SPECjvm2008 Is Here!David Dagastinehttp://blogs.sun.com/dagastine/entry/specjvm2008_is_here2008-05-07T21:11:26Z2008-05-07T04:09:53Z
SPEC has release SPECjvm2008 and ....Its Free!!The new benchmark is the replacement to SPECjvm98, the first SPEC Java benchmark and the beginning of a family of SPEC Java Benchmarks including SPECjbb2005, SPECjappserver2004, SPECjms2007, SPECpower_ssj2008, and a bit of SPECweb2005.SPECjvm2008 leverages a wide range of workloads including Scimark, Compilation, SunFlow, XML, Derby, Startup, and many more, and its a fine Java benchmark for ...
dagastine2008-05-07T04:09:53Z
Jonathan Gibbons: Evolving KSLJonathan Gibbonshttp://blogs.sun.com/jjg/entry/evolving_ksl2008-05-06T23:20:00Z2008-05-06T23:20:00Z

As some of you may know, we've made changes recently to the KSL project that was started last year.

jonathangibbons2008-05-06T23:20:00Z
Andrew Hughes: More on rmsAndrew Hugheshttp://blog.fuseyism.com/index.php/2008/05/06/more-on-rms/2008-05-06T21:25:31Z2008-05-06T21:25:31Z
So I went to the rms talk last Thursday and throughly enjoyed it. This was the second time I’d seen him speak, and can certainly recommend it to others. As others have remarked, he is quite entertaining to listen to and the way he upholds and adheres to his values is worthy of [...]
gnu_andrewGNU ClasspathOpenJDKFree Software2008-05-06T21:25:31Z
Kohsuke Kawaguchi: Hudson won a Duke's Choice AwardKohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.97092008-05-06T21:15:03Z2008-05-06T21:15:03Z
Hudson won Duke's Choice Award this year in JavaOne
kohsukeCommunity: Java Tools2008-05-06T21:15:03Z
David Dagastine: Sun Java on Intel Delivers Again!David Dagastinehttp://blogs.sun.com/dagastine/entry/sun_java_on_intel_delivers12008-05-06T16:17:13Z2008-05-06T16:17:11Z
Just in time for JavaOne, I'm pleased to announce two new SPECjbb2005 World Records on Sun Intel systems. The Sun Fire X4450, powered by Intel Xeon MP CPUs and Java SE 6 Update 6-P, now hold the 4 Chip Multi-JVM World Record and the Single JVM x86 world record.World Record Performance on 4-Chip Systems running 8-JVMs: 464,355 SPECjbb2005 bops, 58,044 SPECjbb2005 bops/JVM.World ...
dagastine2008-05-06T16:17:11Z
Daniel Fuchs: Mapping to OpenTypes: MXBean Complex Attribute TypesDaniel Fuchshttp://blogs.sun.com/jmxetc/entry/mapping_to_opentype_mxbean_complex2008-05-07T08:43:16Z2008-05-06T15:37:15Z

Although it might not be a very good idea to define your management model based on how it will be displayed by a given GUI, such as that provided by JConsole or VisualVM, I believe it is nonetheless interesting to explore the various ways in which a complex type such as a Map<String,Integer> could be modeled and exposed through an MXBean attribute.

dfuchs2008-05-06T15:37:15Z
Mario Torre: New powerful Gear!Mario Torrehttp://www.jroller.com/neugens/entry/new_powerfull_gear2008-05-06T14:20:20Z2008-05-06T13:42:02Z

I finally was able to run the Gear demo from Jogl with the Classpathescher peer.

Mario Torre2008-05-06T13:42:02Z
Mandy Chung: JavaOne 2008Mandy Chungtag:weblogs.java.net,2008:/blog/mandychung/294.96962008-05-06T06:31:51Z2008-05-06T06:31:51Z
Meet you at the JavaOne Modularity session and BOF on Wednesday (May 7th) to share more about the Java Module System and OSGi support. We will show some simple demos of the Java Module System and how a Java module imports an OSGi bundle.
mandychungJavaOne2008-05-06T06:31:51Z
Cay Horstmann: Java One Day 0Cay Horstmanntag:weblogs.java.net,2008:/blog/cayhorstmann/334.96972008-05-06T06:22:31Z2008-05-06T06:22:31Z
Last year, Java One Day 0 was Netbeans Day, in a cozy hotel. This year, the Java One week started much more grandly, with Community One, at the Moscone Center. My mind wandered during the keynote speech, but I was enchanted by the enigmatically named EclipseLink and robots that had cockroach reflexes and were programmed in GreenFoot.
cayhorstmannJ2SE2008-05-06T06:22:31Z
John Rose: interface injection in the VMJohn Rosehttp://blogs.sun.com/jrose/entry/interface_injection_in_the_vm2008-05-06T05:02:44Z2008-05-06T05:01:13Z
“Self-modifying code...” used to be a phrase always uttered (by us hackers) with tones of both admiration and dread. Operating systems and VMs are required to support it (always, in the loader). Aspect oriented programming has made a cottage industry of it. I still fear it, and when I hear customers ask for an API to edit classes in the JVM, I always reach ...
jrose2008-05-06T05:01:13Z
Kohsuke Kawaguchi: Hudson booth at JavaOneKohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.96932008-05-06T02:06:30Z2008-05-06T02:06:30Z
If you are coming to JavaOne, don't forget to drop by at Hudson's booth inside Java Playground.
kohsukeCommunity: Java Communications2008-05-06T02:06:30Z
Jonathan Gibbons: jtharness vs jtregJonathan Gibbonshttp://blogs.sun.com/jjg/entry/jtharness_vs_jtreg2008-05-06T20:44:11Z2008-05-05T21:54:54Z

Now that the source code for the OpenJDK Regression Test Harness (jtreg) is available, this provides an overview of how jtreg relates to JT Harness.

jonathangibbons2008-05-05T21:54:54Z
Mark Wielaard: Fedora IcedTea/OpenJDK in EPEL for RHEL and CentOSMark Wielaardhttp://gnu.wildebeest.org/diary/2008/05/05/fedora-icedteaopenjdk-in-epel-for-rhel-and-centos/2008-05-05T19:48:04Z2008-05-05T19:24:48Z
An EPEL update brought a nice surprise. The Fedora 9 IcedTea/OpenJDK packages rebuild for RHEL and CentOS on i386, ppc and x86_64. So if you are running RHEL or CentOS on your servers you can now: $ rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm $ yum install java-1.6.0-openjdk-{devel,plugin,demo,javadoc,src}
Mark Wielaard2008-05-05T19:24:48Z
Stanley Ho: Updates on Modularity in the Java platformStanley Hotag:weblogs.java.net,2008:/blog/stanleyh/243.96622008-05-05T16:37:38Z2008-05-05T16:37:38Z
There have been lots of exciting development and changes going on in the modularity areas recently.
stanleyhCommunity: Java Specification Requests2008-05-05T16:37:38Z
James Gosling: The madness begins!James Goslinghttp://blogs.sun.com/jag/entry/the_madness_begins2008-05-07T16:00:26Z2008-05-05T14:34:49Z
On Friday, Tommy came to visit Sun's offices in Menlo Park, and then did some driving around Sun's campus on Saturday. It's a new generation DARPA Urban Grand Challenge car that uses Solaris and realtime Java. He and his parents will be at JavaOne.  ...
jag2008-05-05T14:34:49Z
David Dagastine: JDK 6 Update 5-P is Alive!David Dagastinehttp://blogs.sun.com/dagastine/entry/jdk_6_update_5_p2008-05-05T13:55:01Z2008-05-05T13:55:01Z

I'm pleased to announce the release of our second performance release, JDK 6 Update 5-P. Its available to download at http://java.sun.com/performance. This is our fastest JDK to date, released just in time for JavaOne.

dagastine2008-05-05T13:55:01Z
John Rose: continuations in the VMJohn Rosehttp://blogs.sun.com/jrose/entry/continuations_in_the_vm2008-05-05T07:05:20Z2008-05-05T06:59:35Z
Or, how to finish a job twice. Or, anything worth starting is anything worth starting is anything worth starting is anything worth starting is ... ...
jrose2008-05-05T06:59:35Z
Cay Horstmann: On Blue-Collar LanguagesCay Horstmanntag:weblogs.java.net,2008:/blog/cayhorstmann/334.96852008-05-05T05:16:58Z2008-05-05T05:16:58Z
A recent column on Java generics drew a collection of decidedly blue-collar comments, which made me think how hard it is to design a blue-collar language.
cayhorstmannJ2SE2008-05-05T05:16:58Z
Jeroen Frijters: IKVM 0.36 Update 2 Release Candidate 1Jeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=e7edbafa-82e6-4e0d-b3e5-0a9fd6dea4162008-05-05T04:23:35Z2008-05-05T04:23:35Z

A couple of fixes.

http://weblog.ikvm.net/Trackback.aspx?guid=e7edbafa-82e6-4e0d-b3e5-0a9fd6dea416http://weblog.ikvm.net/pingback.aspxhttp://weblog.ikvm.net/PermaLink.aspx?guid=e7edbafa-82e6-4e0d-b3e5-0a9fd6dea416http://weblog.ikvm.net/CommentView.aspx?guid=e7edbafa-82e6-4e0d-b3e5-0a9fd6dea416http://weblog.ikvm.net/SyndicationService.asmx/GetEntryCommentsRss?guid=e7edbafa-82e6-4e0d-b3e5-0a9fd6dea4160

A couple of fixes.

Changes:

Binaries available here: ikvmbin-0.36.0.12.zip
Sources (+ binaries):ikvm-0.36.0.12.zip

2008-05-05T04:23:35Z
Tom Hawtin: ACCU 2008 Oxford Conference, Rambling comments onTom Hawtinhttp://www.jroller.com/tackline/entry/accu_2008_oxford_conference_rambling2008-05-03T16:27:34Z2008-05-03T16:27:34Z

[I wrote most of this about a month ago. If I don't post it now, I never will do. I'm sure there were a couple things I meant to add.]

Thomas Hawtin2008-05-03T16:27:34Z
Mark Wielaard: Drop, shake and soak AWT/Swing with JamVM/GNU ClasspathMark Wielaardhttp://gnu.wildebeest.org/diary/2008/05/03/drop-shake-and-drown-your-awtswing-apps-with-jamvmgnu-classpath/2008-05-03T11:21:35Z2008-05-03T11:19:36Z
Rugged PDA available with JamVM and GNU Classpath The Nomad maintains compliance with the MIL-STD-810F standard for drops, vibration, and temperature extremes, says SDG, and is IP67 rated for imperviousness to water and dust. It can withstand 30 minutes exposure under a meter of water, says SDG, as well as survive temperatures ranging from -22 to [...]
Mark Wielaard2008-05-03T11:19:36Z
David Herron: OpenJDK Regression Test Harness, also known as jtreg, now available as open sourceDavid Herrontag:weblogs.java.net,2008:/blog/robogeek/270.96692008-05-02T20:14:43Z2008-05-02T20:14:43Z
Go to openjdk.java.net and scroll your eyes down to the Tools section of the navigation bar. You will see a link that's been there a long time, jtreg harness. There is new stuff behind that link now available. Today we...
robogeekCommunity: JDK2008-05-02T20:14:43Z
Éamonn McManus: JavaOne next week!Éamonn McManustag:weblogs.java.net,2008:/blog/emcmanus/254.96652008-05-02T17:07:50Z2008-05-02T17:07:50Z
Next week is JavaOne 2008! I'll be speaking there with Jean-Francois Denise, about upcoming developments in JMX technology. Here are some of the other sessions you might want to attend if you're interested in that...
emcmanusJavaOne2008-05-02T17:07:50Z
Mario Torre: Jogl over Classpath over Escher...Mario Torrehttp://www.jroller.com/neugens/entry/jogl_over_classpath_over_escher2008-05-02T16:26:41Z2008-05-02T16:26:05Z

That is, pure java OpenGL, no need of native code, runs everywhere there is an X11 server and does a nice Italian coffee too :)

Mario Torre2008-05-02T16:26:05Z
Kohsuke Kawaguchi: Embeddable GlassFish v3 in GrailsKohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.96602008-05-02T15:49:23Z2008-05-02T15:49:23Z
As another proof of concept for the embeddable GlassFish v3 that I discussed a few days ago, Vivek and I wrote a little addition to Grails so that you can use GlassFish v3 to run your Grails application.
kohsukeCommunity: Java Enterprise2008-05-02T15:49:23Z
Joe Darcy: OpenJDK: jtreg and regression testsJoe Darcyhttp://blogs.sun.com/darcy/entry/openjdk_jtreg_and_regression_tests2008-05-02T05:45:00Z2008-05-02T05:45:00Z

Huzzah! Through the dedicated efforts of Jon and others, jtreg is now open sourced! The jtreg program is the test harness used to run the regression tests that come with the JDK sources.

darcy2008-05-02T05:45:00Z
Jonathan Gibbons: OpenJDK Regression Test Harness (jtreg) - open sourceJonathan Gibbonshttp://blogs.sun.com/jjg/entry/jtreg_4_open_source2008-05-02T03:54:27Z2008-05-02T03:54:27Z
The OpenJDK Regression Test Harness, also known as "jtreg", is now available with an open source license.
jonathangibbons2008-05-02T03:54:27Z
Stephen Colebourne: Enhancing Java - Multi-lingual blocksStephen Colebournehttp://www.jroller.com/scolebourne/entry/enhancing_java_multi_lingual_blocks2008-05-02T00:45:49Z2008-05-02T00:45:49Z

The reality for Java is that there are many other programming languages, and many of those have features that Java developers sometimes wish they could access. But its simply impossible to add all those features. Is there a possible alternative if we think 'outside the box'?

Stephen Colebourne2008-05-02T00:45:49Z
David Herron: Open media and open screensDavid Herrontag:weblogs.java.net,2008:/blog/robogeek/270.96562008-05-01T19:40:23Z2008-05-01T19:40:23Z
On an earlier blog posting a commenter asked: "I would like to know how to use the VLC media player stack as the media handler for OpenJDK.." so, yeah, I hear you, there are many asking for better media support...
robogeekCommunity: JDK2008-05-01T19:40:23Z
Kohsuke Kawaguchi: Hudson community updatesKohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.96552008-05-01T19:20:49Z2008-05-01T19:20:49Z
Some of the recent developments in Hudson: SCM plugins, Google Desktop, NetBeans, Japanese community, and JavaOne session.
kohsukeCommunity: Java Tools2008-05-01T19:20:49Z
Rich Sands: Community MatchmakingRich Sandshttp://blogs.sun.com/rsands/entry/community_matchmaking2008-04-30T23:51:20Z2008-04-30T23:51:20Z

Thanks to the hard work and dedication of a big team of people both inside of Sun, and in the Free Java community working on projects as diverse as GNU Classpath, GCJ, and IcedTea, Sun's open source Java initiative has reached a new milestone. Both Ubuntu 8.04LTS (Hardy Heron) and the upcoming Fedora 9 releases have an OpenJDK-based implementation of the JDK in their ...

rsands2008-04-30T23:51:20Z
Kelly O'Hair: JDK Build Readme CollectionKelly O'Hairhttp://blogs.sun.com/kto/entry/jdk_build_readme_collection2008-05-01T02:38:50Z2008-04-30T23:07:48Z

A collection of links to various JDK Build readme files.

kto2008-04-30T23:07:48Z
Kelly O'Hair: OpenJDK7, Solaris, and Sun Studio 12 CompilersKelly O'Hairhttp://blogs.sun.com/kto/entry/openjdk7_solaris_and_sun_studio2008-05-01T00:05:23Z2008-04-30T22:35:04Z
Updated 4/30/2008: Added more configuration information ...
kto2008-04-30T22:35:04Z
Andrew Hughes: RMS In The UKAndrew Hugheshttp://blog.fuseyism.com/index.php/2008/04/30/rms-in-the-uk/2008-04-30T19:43:03Z2008-04-30T19:43:03Z
For those who haven’t yet heard, Richard Stallman will be doing a rare UK talk tomorrow in Manchester. ‘Free Software in Ethics and Practice’ - speaker: Richard Stallman Thursday 1st May, 2008 - Talk starts at 6:45pm (ends approx. 8:30pm) with refreshments from 6:15pm. Venue: Room D1, Renold Building, University of Manchester, Sackville Street, Manchester M1 3BB http://manchester.fsuk.org/blog/ I’ll be [...]
gnu_andrewFree Software2008-04-30T19:43:03Z
James Gosling: There's dancing in the streets!James Goslinghttp://blogs.sun.com/jag/entry/there_s_dancing_in_the2008-04-30T16:25:56Z2008-04-30T16:25:27Z
We've had some really nice presents the last couple of days:  ...
jag2008-04-30T16:25:27Z
Mark Wielaard: Down LWN libre-java memory laneMark Wielaardhttp://gnu.wildebeest.org/diary/2008/04/30/down-lwn-libre-java-memory-lane/2008-04-30T10:29:28Z2008-04-30T10:29:28Z
LWN published their index of all guest articles. Since I was asked a couple of times to write about our libre-java efforts there are a couple of mine included: GCJ - past, present, and future (April 6, 2005) The GNU Classpath distro DevJam - Europe (September 28, 2005) A look at GCJ 4.1 (February 8, 2006) Toward a free Java [...]
Mark Wielaard2008-04-30T10:29:28Z
A. Sundararajan: JVM Languages @ JavaOne 2008A. Sundararajanhttp://blogs.sun.com/sundararajan/entry/jvm_languages_javaone_20082008-04-30T05:24:42Z2008-04-30T05:24:42Z

In JavaOne 2008, there are many intesting sessions on "other" JVM languages covering both dynamically typed languages (JavaScript, Groovy, JRuby) and statically typed languages (JavaFX, Scala). As usual, there are many sessions covering application aspects -- like using scripting on Glassfish, Grials (Groovy), Rails (JRuby) and so on. But, my interest is mostly on the programming language aspects and JVM implementation issues. Here is a ...

sundararajan2008-04-30T05:24:42ZDavid Herron: Java 6 for OS XDavid Herrontag:weblogs.java.net,2008:/blog/robogeek/270.96372008-04-29T23:44:53Z2008-04-29T23:44:53Z
It's been how long? Thank you Apple for getting this out! Anyway, Java for Mac OS X 10.5 Update 1: This Java for Mac OS X 10.5 Update 1 adds Java SE 6 version 1.6.0_05 to your Mac. This update...
robogeek2008-04-29T23:44:53Z
Ethan Nicholas: Java Secrets Revealed #1Ethan Nicholastag:weblogs.java.net,2008:/blog/enicholas/320.96352008-04-29T20:20:34Z2008-04-29T20:20:34Z
The first of hopefully many articles detailing little-known facts about the inner workings of the JRE. In this episode: Java Plug-In vs. Java Web Start; Class Data Sharing.
enicholasJ2SE2008-04-29T20:20:34Z
A. Sundararajan: BTrace BOF @ JavaOne 2008A. Sundararajanhttp://blogs.sun.com/sundararajan/entry/btrace_bof_javaone_20082008-04-29T07:57:31Z2008-04-29T07:57:31Z
We have a BOF on BTrace in this year's JavaOne. But, you will not find the name "BTrace" in session title -- that is because talk was submitted before BTrace was open sourced with that name The details of the BOF is as below. Please visit and let us discuss on dynamic tracing for Java.  ...
sundararajan2008-04-29T07:57:31Z
Mandy Chung: Supporting OSGi Bundles in the Java Module SystemMandy Chungtag:weblogs.java.net,2008:/blog/mandychung/294.96282008-04-29T06:43:43Z2008-04-29T06:43:43Z
A draft specification for supporting OSGi bundles in the Java Module System is made available to the JSR 277 Expert Group to continue the OSGi interoperability discussion.
mandychungJ2SE2008-04-29T06:43:43Z
A. Sundararajan: Groovy jsr-223 engine updated..A. Sundararajanhttp://blogs.sun.com/sundararajan/entry/groovy_jsr_223_engine_updated2008-04-29T03:17:43Z2008-04-29T02:51:13Z
Groovyjsr-223 script engine @ scripting.dev.java.net has been updated to use Groovy version 1.5.6.
sundararajan2008-04-29T02:51:13Z
David Herron: On hacking the OpenJDKDavid Herrontag:weblogs.java.net,2008:/blog/robogeek/270.96242008-04-29T01:28:21Z2008-04-29T01:28:21Z
I'm giving a session at JavaOne this year titled "Hacking the OpenJDK" and it's been very interesting sitting with this topic these last few months. Much of the presentation is an overview of the developer guide, source repositories and...
robogeekCommunity: JDK2008-04-29T01:28:21Z
Kohsuke Kawaguchi: GlassFish v3 just got embeddableKohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.96232008-04-28T22:34:12Z2008-04-28T22:34:12Z
Now you can embed GlassFish v3 in any existing JVM and run it from there. This enables a whole range of possibilities.
kohsukeCommunity: Java Enterprise2008-04-28T22:34:12Z
Steph Meslin-Weber: Trying out viewat.orgSteph Meslin-Webertag:blogger.com,1999:blog-9060022079128254024.post-65490132006710672722008-04-29T13:03:00Z2008-04-28T22:09:00Z
I've decided that hosting my own panoramas is something I can't sustain in the long run - sure, learning to write PHP was fun and everything, but I enjoy writing code for embedded devices and that means Java, C, Python... not PHP!As there's some places on the web that host your panoramas for you, here's time to try one of these out. Please note ...
Steph Meslin-Weber2008-04-28T22:09:00Z
Stephen Colebourne: Plans for JavaOneStephen Colebournehttp://www.jroller.com/scolebourne/entry/plans_for_javaone2008-04-28T21:39:31Z2008-04-28T21:39:31Z

Just a quick post to outline my plans for JavaOne.

Stephen Colebourne2008-04-28T21:39:31Z
Robert Lougher: Third time lucky?Robert Loughertag:blogger.com,1999:blog-300388730782291770.post-85452254073081821582008-04-28T17:01:27Z2008-04-28T15:07:00Z
In JamVM 1.5.0 I released the "inlining interpreter" which copies code blocks together in a similar way to a simple JIT (but the code is compiled by gcc, rather than being generated natively as in a JIT). This achieved an impressive speed improvement and I've been keen to optimise it further.The major thing which has been in my sights is the remaining dispatches ...
Robert Lougher2008-04-28T15:07:00Z
Robert Lougher: JamVM : back on the mapRobert Loughertag:blogger.com,1999:blog-300388730782291770.post-8894601298722532062008-04-28T15:05:16Z2008-04-28T14:35:00Z
I feel like a kid who's thrown a tantrum and been rewarded with an ice-cream. In my last post I really thought I was asking a "serious and legitimate question" but it's difficult not to squirm when you get the praise you were secretly hoping for...So I'm grateful to all those who replied. JamVM is firmly back on the map :)
Robert Lougher2008-04-28T14:35:00Z
A. Sundararajan: Bluray @ JavaOne 2008A. Sundararajanhttp://blogs.sun.com/sundararajan/entry/bluray_javaone_20082008-04-29T10:07:18Z2008-04-28T13:05:19Z

If you want to learn more about Blu-ray disc and what Java has to do with it, you may want to attend the following talks/BOFs @ JavaOne 2008!

sundararajan2008-04-28T13:05:19Z
Mark Wielaard: GPL ShoppingMark Wielaardhttp://gnu.wildebeest.org/diary/2008/04/28/gpl-shopping/2008-04-28T09:09:00Z2008-04-28T09:09:00Z
I moved houses, but not my whole network setup, so I needed a little router to connect all the machines I already moved. Walking into the store the first router box that I saw had a big GPL-Inside sticker on it! How have times changed. Apparently having the three letters G-P-L on your (hardware) box [...]
Mark Wielaard2008-04-28T09:09:00Z
Andrew Hughes: Releases, ReleasesAndrew Hugheshttp://blog.fuseyism.com/index.php/2008/04/27/releases-releases/2008-04-27T23:37:04Z2008-04-27T23:37:04Z
It seems a lot of projects and distributions are seeing new releases either now or in the very near future. This week, we had a very quiet minor release of GJDoc, the GNU Classpath equivalent to javadoc. 0.7.9 includes a few changes that were previously only available in CVS, but the main one [...]
gnu_andrewOpenJDKJikes RVMGJDocIcedTeaDebianGentoo2008-04-27T23:37:04Z
Fabien Duminy: my blog has movedFabien Duminyhttp://www.duminy.fr/blog/?p=43&language=en2008-04-27T14:48:50Z2008-04-27T14:48:50Z
As the most attentive people may have noticed since a couple of month, I have moved my blog from http://fabien.duminy.ifrance.com/blog/ to http://www.duminy.fr/blog/. There is now 2 RSS feeds (thanks to gengo plugin) : english version version française Moreover, since I am now using Wordpress, my blog allow comments So, please update your bookmarks because I might remove the old [...]
As the most attentive people may have noticed since a couple of month, I have moved my blog from
http://fabien.duminy.ifrance.com/blog/ to http://www.duminy.fr/blog/.

There is now 2 RSS feeds (thanks to gengo plugin) :

Moreover, since I am now using Wordpress, my blog allow comments :-)

So, please update your bookmarks because I might remove the old site (probably in one month).

]]>
http://www.duminy.fr/blog/?feed=rss2&p=43&language=enfabien2008-04-27T14:48:50Z
Joe Darcy: Test where the failures are likely to beJoe Darcyhttp://blogs.sun.com/darcy/entry/test_where_the_failures_are2008-04-26T00:52:18Z2008-04-26T00:52:18Z

There is a old joke about walking along one night and coming across someone looking down underneath a streetlight for lost keys. Stopping to help look, after a minute or two of searching you remark, "Your keys don't seem to be here. Where did you drop them?" "Well, I dropped them over in that ally, but it's way too dark to look there!"

darcy2008-04-26T00:52:18Z
Stephen Colebourne: Java 7 - For-each loop control accessStephen Colebournehttp://www.jroller.com/scolebourne/entry/java_7_for_each_loop2008-04-26T00:18:30Z2008-04-26T00:18:30Z

I've gathered together a few more thoughts on improving the enhanced for-each loops. The basic idea is to take this very popular Java 5 feature and provide the missing parts.

Stephen Colebourne2008-04-26T00:18:30Z
Dalibor Topić: Intergalactic! Planetary! Planetary! Intergalactic!Dalibor Topićurn:lj:livejournal.com:atom1:robilad:311952008-04-25T20:56:21Z2008-04-25T20:56:21Z
Like Mark said, what Mark did last night, is the ideal crash.
2008-04-25T20:56:21Z
David Herron: Interplanetary migrationsDavid Herrontag:weblogs.java.net,2008:/blog/robogeek/270.96092008-04-25T18:13:12Z2008-04-25T18:13:12Z
I've been subscribed to Planet Classpath and Planet JDK for a couple years. This blog has been aggregated into Planet JDK for a long time, and Planet Classpath was always a "them" aggregation. But, yeah, as Mark Reinhold says, we've...
robogeekCommunity: JDK2008-04-25T18:13:12Z
Robert Lougher: JamVM : road to nowhere?Robert Loughertag:blogger.com,1999:blog-300388730782291770.post-42518705370315854442008-04-25T17:40:06Z2008-04-25T16:29:00Z
Change logs and development notes never give any insight into the wider whys and wherefores of a project. Perhaps that's for the better; stick to the facts, that's what engineers are good at. But as this is my first real post on JamVM (now that I know everything is working) I think it's appropriate.I started JamVM because I stopped being paid to work ...
Robert Lougher2008-04-25T16:29:00Z
Éamonn McManus: A query language for the JMX APIÉamonn McManustag:weblogs.java.net,2008:/blog/emcmanus/254.96072008-04-25T16:23:31Z2008-04-25T16:23:31Z
The JMX API is being updated by JSR 255. That JSR is currently planned to be part of Java SE 7, and some of the API changes it defines have started to appear in JDK 7. So far, the main one is a Query Language. Here's what that is and what it's for. ...
emcmanusCommunity: JDK2008-04-25T16:23:31Z
Robert Lougher: First Post!Robert Loughertag:blogger.com,1999:blog-300388730782291770.post-3224332200156599632008-04-25T14:41:26Z2008-04-25T14:34:00Z
With the orbits of the Java planets colliding I've decided it's about time that JamVM got a blog! It's only taken 5 years :)
Robert Lougher2008-04-25T14:34:00Z
Mark Wielaard: What planet are you from?Mark Wielaardhttp://gnu.wildebeest.org/diary/2008/04/25/what-planet-are-you-from/2008-04-25T08:50:18Z2008-04-25T08:50:18Z
Merging communities, so hard, and so much fun. We exchanged an “ambassador” and Mark Reinhold started an interplanetary exchange of species. Lets import some fresh blood on this little Planet Classpath of ours. Hi David, Hi Mark, Hi Joe, Hi Kelly, Hi Rich!
Mark Wielaard2008-04-25T08:50:18Z
David Herron: OpenJDK 6, tastes great, less filling!David Herrontag:weblogs.java.net,2008:/blog/robogeek/270.96022008-04-25T02:04:43Z2008-04-25T02:04:43Z
It seems the java world is in a bit of an uproar right now with a bit of news which I've seen blogged and newsed about in several places. First, Ubuntu Hardy Heron (8.04; not 'Hardy Herron' as some have...
robogeekCommunity: JDK2008-04-25T02:04:43Z
Mark Reinhold: OpenJDK in Ubuntu Hardy HeronMark Reinholdhttp://blogs.sun.com/mr/entry/in_hardy_heron2008-04-24T17:42:11Z2008-04-24T17:42:11Z
Ubuntu 8.04 LTS was released earlier today, complete with a set of packages based on OpenJDK 6.
mr2008-04-24T17:42:11Z
Mark Reinhold: When planets collideMark Reinholdhttp://blogs.sun.com/mr/entry/when_planets_collide2008-04-24T04:11:00Z2008-04-24T04:11:00Z mr2008-04-24T04:11:00ZKohsuke Kawaguchi: Hudson plugin for WAR/EAR deployment / Cargo support in GlassFishKohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.95972008-04-24T03:15:32Z2008-04-24T03:15:32Z
A new plugin Hudson to deploy a war to app servers, and a call for help for GlassFish support in Cargo.
kohsukeCommunity: Java Enterprise2008-04-24T03:15:32Z
Chet Haase: Not Dead YetChet Haasetag:weblogs.java.net,2008:/blog/chet/81.95892008-04-23T15:24:43Z2008-04-23T15:24:43Z
Join Romain and I for another Filthy Rich Clients session at JavaOne this year.
chetCommunity: JavaDesktop2008-04-23T15:24:43Z
Dalibor Topić: First steps out in sunlight: JAX 08, WiesbadenDalibor Topićurn:lj:livejournal.com:atom1:robilad:308122008-04-23T14:46:49Z2008-04-23T14:37:04Z
I'm having a very good time here at JAX in Wiesbaden, enjoying the sessions and the conversations, and going over my keynote talk tomorrow, i.e. on Thursday, April 24th, on "OpenJDK and the Future of Open Source Java on GNU/Linux". On a side note, if you're at JAX, and want to chat in real life, ping me on IRC on #openjdk on irc.oftc.net.Anyway, ...
2008-04-23T14:37:04Z
Alex Buckley: Peter Kriens on language-level modularityAlex Buckleyhttp://blogs.sun.com/abuckley/entry/peter_kriens_on_language_level2008-04-22T22:44:27Z2008-04-22T21:31:31Z

Peter Kriens, the OSGi spec lead and official evangelist, takes a positive view of language-level modularity. His focus on "requirements, not solutions" is especially helpful. Here are some responses to his points:

abuckley2008-04-22T21:31:31Z
Daniel Fuchs: Updating Your Mercurial RepositoryDaniel Fuchshttp://blogs.sun.com/jmxetc/entry/updating_your_mercurial_repository2008-04-22T12:00:58Z2008-04-22T12:00:58Z

... while working on uncommitted changes.

dfuchs2008-04-22T12:00:58Z
Joe Darcy: Compatibly Evolving BigDecimalJoe Darcyhttp://blogs.sun.com/darcy/entry/compatibly_evolving_bigdecimal2008-04-22T02:36:57Z2008-04-22T02:36:57Z

Back in JDK 5, JSR 13 added true floating-point arithmetic to BigDecimal, which involved many new methods and constructors along with new supportingclasses in the java.math package. I was actively involved in the JSR 13 expert group and integrated the code into the JDK. These changes had some surprising compatibility impacts which can be classified according to their source, binary, and behavioral effects. ...

darcy2008-04-22T02:36:57Z
Mark Wielaard: Fedora 9 PreviewMark Wielaardhttp://gnu.wildebeest.org/diary/2008/04/20/fedora-9-preview/2008-04-20T14:27:54Z2008-04-20T14:24:31Z
Been playing with the Fedora 9 Preview release on my laptop this weekend. It feels pretty snappy and the integration of the various new components is pretty smooth. I didn’t find any personal show stoppers. So I will definitely upgrade my main machine as soon as the final release is out (currently scheduled for May [...]
Mark Wielaard2008-04-20T14:24:31Z
Stephen Colebourne: Java 7 - For-each loops for MapsStephen Colebournehttp://www.jroller.com/scolebourne/entry/java_7_for_each_loops2008-04-19T01:44:04Z2008-04-19T01:44:04Z

Have you ever been fustrated by the new Java 5 for each loop because it didn't operate directly on maps?

Stephen Colebourne2008-04-19T01:44:04Z
Mandy Chung: JSR 277 and OSGi interoperabilityMandy Chungtag:weblogs.java.net,2008:/blog/mandychung/294.95552008-04-18T20:00:01Z2008-04-18T20:00:01Z
I recently take on a new challenge and am working on the JSR 277 and OSGi interoperability.....
mandychungJ2SE2008-04-18T20:00:01Z
Kelly O'Hair: OpenJDK: Dude, Where's My Changeset?Kelly O'Hairhttp://blogs.sun.com/kto/entry/openjdk_dude_where_s_my2008-05-01T01:34:20Z2008-04-18T19:02:56Z

Developers are asking where the changesets are, reminds me of that movie Dude, Where's My Car?, "Dude, Where's My Changeset?"

kto2008-04-18T19:02:56Z
Dalibor Topić: Done my tiny bitDalibor Topićurn:lj:livejournal.com:atom1:robilad:306262008-04-18T12:18:41Z2008-04-18T12:15:26Z
to support the Libre Graphics Meeting:On to you, dear reader ... time is running out to get on bolsh's list of people famous for donating to the good cause!
2008-04-18T12:15:26Z
Andrew Hughes: Gentoo and Free JavaAndrew Hugheshttp://blog.fuseyism.com/index.php/2008/04/18/gentoo-and-free-java/2008-04-18T09:09:22Z2008-04-18T09:09:22Z
Over the last week, I’ve been getting Gentoo and Free Java up and running on my new x86_64 box, a process which has culminated in the creation of my own overlay: http://fuseyism.com/hg/libre_java_overlay For those unfamiliar with Gentoo, an overlay is an additional set of packages (known in Gentoo as ebuilds, as for a source-based distribution the packages [...]
gnu_andrewGNU ClasspathOpenJDKIcedTeaGentoo2008-04-18T09:09:22Z
Joe Darcy: Kinds of Compatibility: Source, Binary, and BehavioralJoe Darcyhttp://blogs.sun.com/darcy/entry/kinds_of_compatibility2008-04-18T02:31:38Z2008-04-18T02:31:38Z

When evolving the JDK, compatibility concerns are taken very seriously. However, different standards are applied to evolving various aspects of the platform. From a certain point of view, it is true that any observable difference could potentially cause some unknown application to break. Indeed, just changing the reported version number is incompatible in this sense because, for example, a JNLP file can refuse to ...

darcy2008-04-18T02:31:38Z
Mario Torre: First Jogl patch!Mario Torrehttp://www.jroller.com/neugens/entry/first_jogl_patch2008-04-17T15:48:56Z2008-04-17T15:48:56Z

Yeah!

Mario Torre2008-04-17T15:48:56Z
John Rose: method handles in a nutshellJohn Rosehttp://blogs.sun.com/jrose/entry/method_handles_in_a_nutshell2008-04-18T20:06:54Z2008-04-17T07:24:02Z
The JVM prefers to interconnect methods via static reference or dispatch through a class or interface. The Core Reflection API lets programmers work with methods outside these constraints, but only through a simulation layer that imposes extra complexity and execution overhead. This note gives the essential outlines of a design for method handles, a way to name and interconnect methods without regard to method ...
jrose2008-04-17T07:24:02Z
Jeroen Frijters: Invalid Casting GoodnessJeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=f4d539b4-7573-4355-a455-e299d4a7087e2008-04-17T06:51:38Z2008-04-17T06:51:38Z

Yesterday Miguel blogged about a nice new feature in Mono. I added the IKVM_VERBOSE_CAST environment variable to IKVM to do something similar a while ago.

http://weblog.ikvm.net/Trackback.aspx?guid=f4d539b4-7573-4355-a455-e299d4a7087ehttp://weblog.ikvm.net/pingback.aspxhttp://weblog.ikvm.net/PermaLink.aspx?guid=f4d539b4-7573-4355-a455-e299d4a7087ehttp://weblog.ikvm.net/CommentView.aspx?guid=f4d539b4-7573-4355-a455-e299d4a7087ehttp://weblog.ikvm.net/SyndicationService.asmx/GetEntryCommentsRss?guid=f4d539b4-7573-4355-a455-e299d4a7087e2

Yesterday Miguel blogged about a nice new feature in Mono. I added the IKVM_VERBOSE_CAST environment variable to IKVM to do something similar a while ago.

public class test {
  public static void main(String[] args) {
    System.out.println((String)(Object)args);
  }
}

C:\j>\ikvm-0.36.0.11\bin\ikvm test
Exception in thread "main" java.lang.ClassCastException
        at test.main(test.java)

C:\j>set IKVM_VERBOSE_CAST=1

C:\j>\ikvm-0.36.0.11\bin\ikvm test
Exception in thread "main" java.lang.ClassCastException: Object of type "System.String[], mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" cannot be cast to "System.String, mscorlib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"
        at test.main(test.java)

Note that the assembly qualified type names are displayed, as I believe this feature is particularly useful when trying to debug issues that arise from having loaded multiple assemblies that contain the "same" types.

While writing this I discovered that both JDK 1.6 and .NET 2.0 always generate descriptive exception messages for invalid casts:

C:\j>\jdk1.6\bin\java test
Exception in thread "main" java.lang.ClassCastException: [Ljava.lang.String; can not be cast to java.lang.String
        at test.main(test.java:5)

C:\j>\ikvm\bin\ikvm test
Exception in thread "main" java.lang.ClassCastException: Unable to cast object of type 'System.String[]' to type 'System.String'.
        at test.main(test.java:5)

This last result is my local ikvm development version running on .NET 2.0 with a patch to enable taking the exception message from the .NET InvalidCastException, which I didn't previously do because on .NET 1.1 this message didn't contain any useful information.

2008-04-17T06:51:38Z
David Herron: 6u10beta is available.. please test it..!David Herrontag:weblogs.java.net,2008:/blog/robogeek/270.95542008-04-17T00:52:29Z2008-04-17T00:52:29Z
Recently we made Java SE 6 update 10 available for beta testing. Beta testing is a period in product release cycles where testing is taken to people outside the product team, and those "external" testers bang on it with their...
robogeekCommunity: JDK2008-04-17T00:52:29Z
David Holmes: Roll up! Roll up! It's JavaOne time again and Real-Time is hitting the Big TimeDavid Holmeshttp://blogs.sun.com/dholmes/entry/roll_up_roll_up_it2008-05-03T16:31:14Z2008-04-15T08:01:46Z
It's only a few short weeks until JavaOne 2008 and real-time features prominently in this years conference.
davidholmes2008-04-15T08:01:46Z
James Gosling: Space JunkJames Goslinghttp://blogs.sun.com/jag/entry/space_junk2008-04-15T04:28:17Z2008-04-15T04:26:52Z
Today we got to put out one of the most weirdly cool press releases that we've done in quite a while. It was nice to see some blogosphere pickup from Tim O'Brien. Projects like this have quite a rigorous evaluation process to get to the start of deployment. One of the fun things about the realtime version of Java is that it gets us ...
jag2008-04-15T04:26:52Z
Joe Darcy: OpenJDK 6: Sources for b09 publishedJoe Darcyhttp://blogs.sun.com/darcy/entry/openjdk_6_sources_for_b092008-04-14T22:18:11Z2008-04-14T22:18:11Z

On April 11, the OpenJDK 6 b09 source bundle was published.

darcy2008-04-14T22:18:11Z
Steve Goldman: I owe what?Steve Goldmanhttp://blogs.sun.com/fatcatair/entry/i_owe_what2008-04-14T15:17:22Z2008-04-14T15:17:22Z

So this is a little story in anticipation of tax day tomorrow.

fatcatair2008-04-14T15:17:22Z
Luis-Miguel Alventosa: VisualVM Beta 2 releasedLuis-Miguel Alventosahttp://blogs.sun.com/lmalventosa/entry/visualvm_beta22008-04-14T14:49:01Z2008-04-14T14:49:01Z

VisualVM Beta 2 has been released.

lmalvent2008-04-14T14:49:01Z
Mario Torre: Pure Java 3D is coming soon...Mario Torrehttp://www.jroller.com/neugens/entry/pure_java_3d_is_coming2008-04-14T11:08:43Z2008-04-14T11:07:01Z

We (almost) did it!

Mario Torre2008-04-14T11:07:01Z
Jeroen Frijters: New Development SnapshotJeroen Frijtershttp://weblog.ikvm.net/PermaLink.aspx?guid=8d0c4cfc-b9ed-43fe-920a-00d27be1ca902008-04-14T05:40:06Z2008-04-14T05:40:06Z

It's been quite a while since the last development snapshot. I'm still working on integrating .NET 2.0 features, but I'm also doing random fixes/improvements here and there as I come across them. The biggest visible change in this snapshot is the support for defining .NET properties as Java fields. The main motivation was that I wanted to handle the System.in/out/err fields more cleanly. They ...

http://weblog.ikvm.net/Trackback.aspx?guid=8d0c4cfc-b9ed-43fe-920a-00d27be1ca90http://weblog.ikvm.net/pingback.aspxhttp://weblog.ikvm.net/PermaLink.aspx?guid=8d0c4cfc-b9ed-43fe-920a-00d27be1ca90http://weblog.ikvm.net/CommentView.aspx?guid=8d0c4cfc-b9ed-43fe-920a-00d27be1ca90http://weblog.ikvm.net/SyndicationService.asmx/GetEntryCommentsRss?guid=8d0c4cfc-b9ed-43fe-920a-00d27be1ca900

It's been quite a while since the last development snapshot. I'm still working on integrating .NET 2.0 features, but I'm also doing random fixes/improvements here and there as I come across them. The biggest visible change in this snapshot is the support for defining .NET properties as Java fields. The main motivation was that I wanted to handle the System.in/out/err fields more cleanly. They are now implemented like this:

@ikvm.lang.Property(get="get_in")
public final staticInputStream in;

static { in = null; }

private staticInputStream get_in()
{
    return StdIO.in;
}

This defines a .NET property called "in" and associates the getter method of the property with the get_in() method. Note that we're only specifying the getter here in the Property annotation because the field is final, but you can also specify a setter method. The static initializer that initializes the property to null is necessary to keep javac happy, but it doesn't actually do anything. The ikvm bytecode compiler will ignore any assignments to read-only properties. Another thing to note is that the get_in() will automatically be made public (because the field is public), but from Java it will still appear private.

Changes since previous development snapshot:

  • Fixed regression in return value annotation value.
  • Forked Class, Constructor and Field.
  • Made class annotation handling lazy and bypass encode/decode.
  • Fixed ReflectionOnly referenced assembly loading order (ikvmstub).
  • Initialize class library in JVM_CreateJavaVM.
  • Reintroduced guard against recursive FinishCore invocations.
  • Implemented support for annotations on .NET fields/methods/parameters.
  • Hide ikvmc generated GetEnumerator() method from Java.
  • Simplified annotation handling.
  • Added support to Class.forName() for assembly qualified Java type names.
  • Replaced notion of DynamicOnly types with Fake types. Fake types are implemented as generic type instances and can have DynamicOnly methods.
  • Changed System.nanoTime() implementation to use Stopwatch.GetTimestamp().
  • Ripped out annotation/constant pool support that is no longer needed.
  • Added support for defining unloadable (i.e. missing) types to use as custom modifiers in signatures.
  • Use custom modifiers to make sure constructor signature is unique (if necessary).
  • Restructured code to remove compiler warnings.
  • Updated FlushFileBuffers p/invoke to use SafeFileHandle.
  • Forked OpenJDK sources that are going to be modified to refactor the library initialization.
  • Made __Fields nested class abstract (it was already sealed) and removed the constructor.
  • Restored the special case for interface .cctor methods to fix bug #1930303
  • Added ikvm/internal/MonoUtils.java. A new helper class to contain Mono specific methods.
  • Added Mac OS X platform detection.
  • Fixed System.mapLibraryName() to use platform detection instead of os.name property.
  • Improved java.library.path for Windows, Linux and Mac OS X.
  • Added support for setting os.name and os.ver on Mac OS X.
  • Try to guess os.arch based on IntPtr.Size.
  • Set sun.nio.MaxDirectMemorySize to -1 to allow "unlimited" direct byte buffers.
  • Fixed memory mapped file bug that caused mapping at non-zero file position to fail.
  • Close mapping handle using the Close() method on SafeFileHanlde instead of p/invoking the Win32 API directly.
  • Added support for filenames/paths with colons in them to Win32FileSystem.CanonicalizePath().
  • Added support for turning Java fields into .NET properties with an annotation.
  • Implemented System.in/out/err as .NET properties (explicitly).

WARNING: THIS IS A DEVELOPMENT SNAPSHOT, NOT AN OFFICIAL RELEASE.

Development snapshots are intended for evaluating and keeping track of where the project is going, not for production usage. The binaries have not been extensively tested and are not strong named.

If you want to run this version on Mono, you'll need a Mono version built from recent svn, it does not work on Mono 1.9.

Binaries available here: ikvmbin-0.37.3026.zip

2008-04-14T05:40:06Z
Kohsuke Kawaguchi: I think my daughter is on the right track...Kohsuke Kawaguchitag:weblogs.java.net,2008:/blog/kohsuke/208.95262008-04-14T05:31:30Z2008-04-14T05:31:30Z
I have a daughter who just became turned three, and she's already quite into Java!
kohsukeCommunity: Java User Groups2008-04-14T05:31:30Z