Planet JDKNews and views from the Java SE Development-Kit CommunityVariousCay Horstmann: A First Look at NetBeans 6.7Cay Horstmanntag:weblogs.java.net,2009:/blog/cayhorstmann/334.119842009-07-02T15:47:32Z2009-07-02T15:47:32Z
A few days after Eclipse Galileo, Netbeans released its latest offering,
Netbeans 6.7. Here is a first look, as always from my entirely biased
perspective.
cayhorstmann2009-07-02T15:47:32ZDavid Gilbert: Apache Harmony and JFreeChartDavid Gilberthttp://www.jroller.com/dgilbert/entry/apache_harmony_and_jfreechart2009-07-02T15:11:42Z2009-07-02T15:11:42Z
According to an article in SDTimes, Craig Hayman from IBM thinks that Apache Harmony is "ready for prime time". That surprised me (OK, not really) so I decided to give the latest release (milestone 10) a quick workout with JFreeChart. I ran various demos and concluded very quickly that Harmony is...drum roll...not ready. This also seems to be at odds with the general perception ...
David Gilbert2009-07-02T15:11:42ZAndrew Xuelei Fan: Enable OCSP checkingAndrew Xuelei Fanhttp://blogs.sun.com/xuelei/entry/enable_ocsp_checking2009-07-02T03:53:05Z2009-07-02T02:55:43Z
If a certificate is issued with a authority information access extension which indicates the OCSP access method and location, one can enable the default implementation of OCSP checker during building or validating a certification path.
XueLei.Fan2009-07-02T02:55:43ZJonathan Gibbons: Minor updates for jtregJonathan Gibbonshttp://blogs.sun.com/jjg/entry/minor_updates_for_jtreg2009-07-02T02:38:15Z2009-07-02T02:38:15Z
jtreg 4.0 b03 is now available, and fixes a number of minor issues. You can find it on the standard
jtreg download page ...
jonathangibbons2009-07-02T02:38:15ZRémi Forax: JSR292 backport - First releaseRémi Foraxtag:weblogs.java.net,2009:/blog/forax/343.119952009-07-01T17:06:23Z2009-07-01T17:06:23Z
First release of JSR292 backport.
You can now test invokedynamic with your old :) JDK (1.5 or 1.6).
foraxCommunity: JDK2009-07-01T17:06:23ZRoman Kennke: Java is a Doom Trojan HorseRoman Kennkehttp://kennke.org/blog/?p=2362009-07-01T19:44:12Z2009-07-01T17:02:18Z
At least according to Symantec.
I want to make a screenshot, but I don’t know how to do this in Windows XP. I probably need the Ultimate Edition or so. God, this crappy OS doesn’t even have the most basic functionality, or it hides it so well that nobody finds it. No, the print key doesn’t [...]
2roman2009-07-01T17:02:18ZMario Torre: Mixing of AWT and SwingMario Torrehttp://www.jroller.com/neugens/entry/mixing_of_awt_and_swing2009-06-30T22:34:10Z2009-06-30T22:33:11Z
Back to the code :)
Mario Torre2009-06-30T22:33:11ZDalibor Topić: Conference Roundup: Jazoon 2009Dalibor Topićurn:lj:livejournal.com:atom1:robilad:520182009-06-29T18:09:24Z2009-06-29T17:51:17Z
This year was my first time at Jazoon. It's a conference in central Europe in Zürich, Switzerland, a few weeks after JavaOne and almost 6 months away from Devoxx, the large European Java Event at the end of the year in Antwerp, Belgium. It attracts international speakers, and a diverse European audience. It has continuously grown in attendance, year after year, to more then ...
With the release of OpenJDK, Sun donated to the World not only a big piece of Software and some gigazillion of men hours (and so money), they donated knowledge. This knowledge will be forever part of the humanity, because Java is a Free Software project now.
Mario Torre2009-06-29T15:22:09ZDalibor Topić: Conference Roundup: LinuxTag 2009Dalibor Topićurn:lj:livejournal.com:atom1:robilad:517452009-06-29T14:17:31Z2009-06-29T14:14:48Z
So, like I said in my last post, I went to LinuxTag again this year, to speak on OpenJDK. I was a bit surprised and flattered to find the talk announced in the regional German press, given that it was a 'regular' talk, rather then a keynote, so I wasn't quite sure what to expect.Since I had to be in Zürich for Jazoon ...
2009-06-29T14:14:48ZStephen Colebourne: No Java SE 7 - US DOJ investigationStephen Colebournehttp://www.jroller.com/scolebourne/entry/no_java_7_us_doj2009-06-29T09:39:31Z2009-06-29T09:39:31Z
There are signs that the US Department of Justice is interested in the Java licensing issues I've reported on recently.
Stephen Colebourne2009-06-29T09:39:31ZCay Horstmann: Upgrading to Eclipse GalileoCay Horstmanntag:weblogs.java.net,2009:/blog/cayhorstmann/334.119772009-06-26T17:54:41Z2009-06-26T17:54:41Z
I installed Eclipse Galileo and report on my upgrade experience--what I had to do to get plugins to work, and what new features I noticed.
I have done a massive amount of fixes to IKVM.Reflection.Emit to make it full
featured (even though it still doesn't implement all Reflection.Emit APIs, the functionality
should (almost) all be there, for example via different overloads).
I have done a massive amount of fixes to IKVM.Reflection.Emit to make it full
featured (even though it still doesn't implement all Reflection.Emit APIs, the functionality
should (almost) all be there, for example via different overloads).
I completed support for generics (I think) and fixed many bugs in that area, ikvmc
only uses a very small amount of generics so these fixes are unlikely to affect it.
It's worth explicitly stating the design goals of IKVM.Reflection.Emit:
It's a write-only API. Some GetXXX methods or properties may be implemented, but that's
mostly for its internal convenience.
There is intentionally no error checking. During ikvm development the error checking
in System.Reflection.Emit has cost me a huge amount of time, it is generally much
easier to diagnose the problem when you have a broken assembly file. PEverify and
ILDASM are your friends.
Code that uses System.Reflection.Emit in a write-only way is supposed to "just work"
(modulo missing APIs, but those changes should be trivial).
I've done some pretty heavy duty testing on it. It should be ready for external (i.e.
non-ikvmc) usage now. If you decide to use it (or consider using it), please let me
know. As always, feedback is appreciated.
Changes:
Added support for ByRef and Pointer types.
Completed support for all literal field constant types and fixed null literal fields.
Added ModuleBuilder.DefineInitializedData().
Fixed many generics related bugs.
Added a (non-standard) API to ModuleBuilder to set the PE image base address.
Added TypeBuilder.SetParent().
Added TypeBuilder.GetMethod() and TypeBuilder.GetConstructor() to instantiate methods
on generic types.
Added a (non-standard) API to ILGenerator to disable the "helpful" automatic leave/endfinally
instructions in exception blocks.
Added support for pinned local variables.
Added UIntPtr and TypedReference signature encodings.
Fixed handling of TypeBuilder enums in custom attributes.
Added MethodBuilder.SetSignature().
Added GenericTypeParameterBuilder.SetInterfaceConstraints() and .SetGenericParameterAttributes().
Fixed (Method|Type)Builder.SetCustomAttribute() to set HasSecurity flag when SuppressUnmanagedCodeSecurityAttribute
is set.
2009-06-26T04:42:52ZAndrew Xuelei Fan: An Aggregate of Feeds on Java Security and NetworkingAndrew Xuelei Fanhttp://blogs.sun.com/xuelei/entry/an_aggregate_of_feeds_on2009-06-25T15:24:44Z2009-06-25T15:12:50Z
To facilitate keeping track of blogs on java security and networking, I just created an aggregate of feeds, http://feeds.feedburner.com/javasec, and subscribed it to my feed reader, thunderbird. If you are blogging on Java security or networking, please let me know, I would like subscribe to your feed and add it into the aggregator
XueLei.Fan2009-06-25T15:12:50ZClemens Eisserer: Only good news ;)Clemens Eisserertag:blogger.com,1999:blog-2655842133183329738.post-18316244458959809442009-06-25T15:24:05Z2009-06-25T15:12:00Z
Tomorrow my holidays begin, after my bachelor thesis presentation I will hold at the computer graphics institute at the Technical University of Vienna and an exam two hours later.Its basically the same presentation I held at Fosdem09, spiced up a bit with the most boring parts removed. Needless to say I prefer a 15min talk a lot over a 30min talk ;)A big ...
0Linuxhippy2009-06-25T15:12:00ZDavid Gilbert: Windows Vista in Multiple Languages?David Gilberthttp://www.jroller.com/dgilbert/entry/windows_vista_in_multiple_languages2009-06-25T07:11:53Z2009-06-25T07:11:53Z
A few weeks back, I had to buy a laptop at short notice. In France. The laptop (a cheapish one) came with "Microsoft Vista Edition Familiale Basique" preinstalled. Everything in French, as you'd expect. I found the control panel and spent quite some time looking for the option to switch the display language to English. Modifying the country / region didn't change the language. There ...
David Gilbert2009-06-25T07:11:53ZDalibor Topić: OpenJDK around the world - Jazoon, LinuxTag, FISLDalibor Topićurn:lj:livejournal.com:atom1:robilad:514732009-06-26T13:43:58Z2009-06-23T12:59:51Z
I am the Jazoon conference in Zürich this week. It began today with a keynote by James Gosling, and it's a fun event, that feels like a very laid back version of Devoxx executed with Swiss charme and attention to detail - same setting in a movie theatre, well working wifi, with a good list of speakers. I'm looking forward to jvanzyl's Maven talk later ...
2009-06-23T12:59:51ZKohsuke Kawaguchi: Growth of Hudson plugin ecosystemKohsuke Kawaguchitag:weblogs.java.net,2009:/blog/kohsuke/208.119492009-06-21T23:56:10Z2009-06-21T23:56:10Z
A Hudson committer Seiji Sogabe put together a chart that shows the growth of the Hudson plugin ecosystem.
kohsukeCommunity: Java Tools2009-06-21T23:56:10ZAmy Fowler: The Ultimate CraftsmanAmy Fowlertag:weblogs.java.net,2009:/blog/aim/48.118932009-06-21T08:00:28Z2009-06-21T08:00:28Z
Absolutely nothing about Java or JavaFX here. Just a small tribute to my pop for leading me down a path to geekdom.
aim2009-06-21T08:00:28ZAndrew Xuelei Fan: TLS and NIST'S Policy on Hash FunctionsAndrew Xuelei Fanhttp://blogs.sun.com/xuelei/entry/tls_and_nist_s_policy2009-06-19T04:59:10Z2009-06-18T11:15:55Z
March 15, 2006: The SHA-2 family of hash functions (i.e., SHA-224, SHA-256, SHA-384 and SHA-512) may be used by Federal agencies for all applications using secure hash algorithms. Federal agencies should stop using SHA-1 for digital signatures, digital time stamping and other applications that require collision resistance as soon as practical, and must use the SHA-2 family of hash functions for these applications after ...
XueLei.Fan2009-06-18T11:15:55ZDavid Gilbert: Free Google BeerDavid Gilberthttp://www.jroller.com/dgilbert/entry/free_google_beer2009-06-18T07:39:51Z2009-06-18T07:39:51Z
One evening during JavaOne 2009, Google held a party at a very nice hotel in downtown San Francisco and Roman and Mario convinced me to come along - the only problem being that they had invitation cards and I didn't. The nice ladies at the door frowned a little when I said I didn't have an invitation, but I think Mario said some magic words ...
David Gilbert2009-06-18T07:39:51ZRoman Kennke: Things that happen, happenRoman Kennkehttp://kennke.org/blog/?p=2352009-06-18T02:16:40Z2009-06-18T02:12:55Z
Short summary of happened and happening things:
JavaOne2009: Great. Lots of faces to finally put on email addresses, IRC nicknames, etc.
San Francisco: Great. Includes previous point. Plus: Seafood (oh my!). Extremely poor vs. extremely rich people. Lots of things that I almost got done, but not quite. Some photos.
Cacio: Great: Of course. BOF went good, but [...]
2roman2009-06-18T02:12:55ZRoman Kennke: Is there an artificial god?Roman Kennkehttp://kennke.org/blog/?p=2342009-06-17T15:55:05Z2009-06-17T15:55:05Z
I know I am supposed to write about JavaOne, my new Job at Sun, the USA, all the cool stuff that happens in Cacio, etc, but this is probably much more interesting: Is there an artificial god?
DZone just published the JSF 2.0 version of my JSF refcard. It provides updated summaries of the tags and attributes needed for JSF programming, along with a summary of the JSF expression language and a list of code snippets for common operations.
In order to learn JNDI, one needs a LDAP server for various purpose. In the JNDI tutorial, there are a few of publicly accessible servers documented[1]. However, the list is too old, and those servers are out of services.
XueLei.Fan2009-06-16T14:31:35ZÉamonn McManus: JSR 255 (JMX API 2.0) is postponedÉamonn McManustag:weblogs.java.net,2009:/blog/emcmanus/254.119132009-06-16T14:31:21Z2009-06-16T14:31:21Z
Here is the text of the message I recently sent to the JSR 255
Expert Group, in my capacity as Specification Lead.
emcmanusCommunity: JDK2009-06-16T14:31:21ZCay Horstmann: My Department is SlashdottedCay Horstmanntag:weblogs.java.net,2009:/blog/cayhorstmann/334.119112009-06-16T05:12:58Z2009-06-16T05:12:58Z
I teach computer science at San Jose State University and found that my department just got slashdotted. An eager student posted all homework solutions for his data structures course, his instructor threatened to fail him, and the rest is history. It's good that there is no such thing as bad publicity. I discuss what it means to learn and teach computer science when all ...
cayhorstmann2009-06-16T05:12:58ZAndrew Xuelei Fan: JSSE Troubleshooting: Certificates Order in TLS HandshakingAndrew Xuelei Fanhttp://blogs.sun.com/xuelei/entry/jsse_troubleshooting_certificates_order_in2009-06-16T04:45:19Z2009-06-16T04:45:19Z
Failed with a exception: java.security.cert.CertPathValidatorException: subject/issuer name chaining check failed.
XueLei.Fan2009-06-16T04:45:19ZKelly O'Hair: Warning Hunt: OpenJDK, NetBeans, Warnings, and FindBugsKelly O'Hairhttp://blogs.sun.com/kto/entry/warning_hunt_netbeans_warnings_and2009-06-25T22:00:51Z2009-06-15T23:37:01Z
Did you see
Bill's FindBugs slides from JavaONE 2009?
You should create some step by step directions on getting started with
NetBeans, FindBugs and the OpenJDK.
We need to get developers working on this.
Humm, Ok, I'll look into that.
Don't just "look into it", do it!
Ok ok already, I'll "do it".
And try and talk about how to fix warnings, and especially ...
The JavaOne tech keynote demo of Jigsaw inspired a bunch of feedback on blogs:Alex Miller thinks the vision is pretty coherent:Peter Pilgrim thinks it made common sense:Bram Bruneel was impressed by the native package generation:Gerard Davison looks forward to a future without mandatory CORBA downloads:Floris Ouwendijk thought the keynote demo was very clear on the functionality of Jigsaw:Augusto ...
I'll be spending next week in Zurich at Jazoon'09.
They've got a great lineup of technical sessions
to pump your head full of all the latest everything. The lineup of speakers is pretty impressive.
...
jag2009-06-15T21:14:53ZDalibor Topić: JavaOne Roundup : Jigsaw Falling Into PlaceDalibor Topićurn:lj:livejournal.com:atom1:robilad:509762009-06-16T01:33:19Z2009-06-15T20:07:13Z
This JavaOne was a bit different from last year's. In terms of sessions at JavaOne, I've only had a relaxed and interesting OpenJDKPortersBoF to host with my co-host, David Herron, so I could instead of hacking away on slides spend my weeks leading up to JavaOne on preparing the OpenJDK pod in the exhibition space, and happily hacking away on jpkg, a ...
Changed build to generate rmi stubs instead of depend on .class files in openjdk6-b12-stripped-IKVM-0.40.zip.
Thanks to Jo Shields for helping with this.
Fixed verifier bugs. Thanks to Brian Heineman for reporting this.
2009-06-15T05:40:05ZDalibor Topić: Movies: Star TrekDalibor Topićurn:lj:livejournal.com:atom1:robilad:507912009-06-13T16:46:37Z2009-06-13T16:46:37Z
There are young people playing leading roles, so the Star Trek movie is like a space road trip full of Wesley Crusher's space college friends. Which is actually a good thing, compared to other Star Trek movies. The movie is fun, at least for the first 80 or so minutes. The script takes care of providing regular comic relief to make the filler segments ...
2009-06-13T16:46:37ZJonathan Gibbons: javac: plates, coins, and progressJonathan Gibbonshttp://blogs.sun.com/jjg/entry/javac_plates_coins_and_progress2009-06-13T05:02:38Z2009-06-13T05:02:38Z
As we reported at JavaOne, a lot has been going on for javac over the past year.
jonathangibbons2009-06-13T05:02:38ZDalibor Topić: Books: William Gibson - Spook CountryDalibor Topićurn:lj:livejournal.com:atom1:robilad:505462009-06-12T16:08:32Z2009-06-12T16:08:32Z
Gibson, Neuromancer, Cyberpunk, open drawer, close drawer. Well, not quite - Spook Country doesn't really have any super-futuristic gadgetry. It's set in the present, describing a post-9/11 world of dispersed, interconnected knowledge, where reality can have many layers, which ultimately end up meeting in the book. So far, so standard. A nice idea from the book is locative art, that takes the concept of tagging ...
2009-06-12T16:08:32ZAndrew Xuelei Fan: RSA AlgorithmIdentifier of X.509 CertificateAndrew Xuelei Fanhttp://blogs.sun.com/xuelei/entry/rsa_algorithmidentifier_of_x_5092009-06-13T09:42:08Z2009-06-12T14:53:36Z
By far, RSA is a most wide used cryptography algorithm. Both ITU-T
X.509 and IETF PKIX WG define the RSA algorithm identifier, however,
they are not identical.
ITU-T X.509[1] defines the algorithm as:
While IETF PKIX WG[2] defines the algorithm as: ...
XueLei.Fan2009-06-12T14:53:36ZAntonios Printezis: Slides for the JavaOne 2009 tech sessionsAntonios Printezishttp://blogs.sun.com/tony/entry/slides_for_the_javaone_20092009-06-12T14:27:40Z2009-06-12T14:27:40Z
Hi all,
tony2009-06-12T14:27:40ZRémi Forax: ASM now supports invokedynamicRémi Foraxtag:weblogs.java.net,2009:/blog/forax/343.118902009-06-12T06:43:33Z2009-06-12T06:43:33Z
ASM 3.2 is released with the support of the new bytecode invokedynamic.
There are a lot of amusing moments in this one - plenty of references to old Terminator movies, and many highly awkward sequences that feel mashed up from somewhere else. My favorite is the couple of minutes long monologue by none other then Skynet, explaining in typical Bond-villain style with a human voice to its unwitting human-turned-bot tool how its evil plans are unstoppable, only ...
2009-06-12T01:40:23ZMario Torre: Back from J1Mario Torrehttp://www.jroller.com/neugens/entry/back_from_j12009-06-11T20:45:28Z2009-06-11T20:45:28Z
So, I‘m not exactly in the mood of talking, because some personal things get over the fantastic week we passed in San Francisco.
Mario Torre2009-06-11T20:45:28ZAmy Fowler: Insider's Guide to Mixing Swing and JavaFXAmy Fowlertag:weblogs.java.net,2009:/blog/aim/48.118732009-06-11T17:58:47Z2009-06-11T17:58:47Z
Responding to requests at JavaOne for more information about using Swing with JavaFX, I've written a 10 step guide for using JavaFX to create a not-so-extreme GUI Makeover for Swing applications.
aimCommunity: JavaDesktop2009-06-11T17:58:47ZDavid Gilbert: Site Licences and SupportDavid Gilberthttp://www.jroller.com/dgilbert/entry/site_licences_and_support2009-06-11T13:01:26Z2009-06-11T13:01:26Z
A few years ago, a company asked me if they could buy a site licence for the JFreeChart Developer Guide [if you are not familiar with the setup, the short story is that JFreeChart is an open source library licensed under the LGPL, and my company makes some money by selling documentation for it]. At the time, I'd only been selling single copies of ...
David Gilbert2009-06-11T13:01:26ZChris Campbell: Effects in JavaFX: ChainingChris Campbelltag:weblogs.java.net,2009:/blog/campbell/55.118882009-06-11T10:07:54Z2009-06-11T10:07:54Z
The third installment in a series on the filter effects package in JavaFX, explaining how effects can be chained together to produce even cooler results...
campbellCommunity: JavaDesktop2009-06-11T10:07:54ZKohsuke Kawaguchi: Hudson adoption in the Eclipse community surveyKohsuke Kawaguchitag:weblogs.java.net,2009:/blog/kohsuke/208.118832009-06-10T23:41:34Z2009-06-10T23:41:34Z
According to Eclipse community survey, Hudson is the most adopted CI tool.
kohsukeCommunity: Java Tools2009-06-10T23:41:34ZDavid Gilbert: Back from JavaOneDavid Gilberthttp://www.jroller.com/dgilbert/entry/back_from_javaone2009-06-10T21:01:21Z2009-06-10T21:01:21Z
I got back from JavaOne on Sunday, all my travel connections worked out and my kids were happy to see me (and the chocolates from Ghirardelli). My birds-of-a-feather session on JFreeChart went well. There was a good turnout, people asked plenty of questions, and I felt like there was a very positive tone. Elsewhere at the conference, there were a lot of highlights although ...
David Gilbert2009-06-10T21:01:21ZLillian Angel: OpenJDK Interim Governance BoardLillian Angelhttp://langel.wordpress.com/?p=2802009-06-10T19:21:26Z2009-06-10T19:21:26Z
Congratulations to Andrew Haley and Martin Buchholz; the newest members of the OpenJDK Interim Governance Board. It is nice to see one of Red Hat’s own appointed. Andrew is Red Hat’s Open Source Java team lead, and I am very grateful to be under his guidance.
Mark Reinhold’s official announcement is here.
[...]
0Lillian2009-06-10T19:21:26ZGary Benson: First Shark self-buildsGary Bensonhttp://gbenson.net/?p=1422009-06-10T14:37:10Z2009-06-10T14:37:10Z
Xerxes Rånby and I simultaneously decided to try building Shark with Shark today… and both worked!
JavaOne 2009 is done and I managed to survive my technical sessions.
alanb2009-06-10T12:08:11ZDalibor Topić: And then there were two more : Expanding the OpenJDK Interim Governance BoardDalibor Topićurn:lj:livejournal.com:atom1:robilad:499402009-06-10T11:13:13Z2009-06-09T20:59:10Z
As Simon Phippsreports, thanks to Mark Reinhold's tireless effort to put everything in place for the announcement, the OpenJDK Interim Governance Board has been expanded to include two new members, Martin Buchholz, and Andrew Haley. Martin is a software engineer at Google, who is very active in the area of core library development, and has been the first engineer outside Sun to ...
JavaOne is always such a big week for me (and many of us) that I need a bit of time to unwind before I go back to my regular routine. So this year, I took on a little hobby project.
kohsukeJavaOne2009-06-09T06:34:47ZChris Campbell: Effects in JavaFX: QualityChris Campbelltag:weblogs.java.net,2009:/blog/campbell/55.109632009-06-09T01:22:26Z2009-06-09T01:22:26Z
The second installment in a new series on the filter effects package in JavaFX, focusing on how we maintain great visual quality in the rendering process...
campbellCommunity: JavaDesktop2009-06-09T01:22:26ZChris Campbell: Effects in JavaFX: The BasicsChris Campbelltag:weblogs.java.net,2009:/blog/campbell/55.109572009-06-09T01:20:08Z2009-06-09T01:20:08Z
The first installment in a new series on the filter effects package in JavaFX...
The Java One 2009 has finished that Friday. Below are the slides for the BOF-4743 .
thetanCommunity: JDK2009-06-08T19:01:49ZJames Gosling: JavaOne 2009: another amazing experience.James Goslinghttp://blogs.sun.com/jag/entry/javaone_2009_another_amazing_experience2009-06-08T18:27:37Z2009-06-08T18:27:37Z
This was another amazing JavaOne. It was also the weirdest: between the Oracle situation, the global meltdown, and the financial situation, it was very different. Early on, we were really concerned (==nearly paniced) that no one would show up. Almost every company that usually sends a crowd of people to JavaOne had travel restrictions that meant that few could attend. From what we had ...
jag2009-06-08T18:27:37ZKohsuke Kawaguchi: Starting Hudson slave from Live USB mediaKohsuke Kawaguchitag:weblogs.java.net,2009:/blog/kohsuke/208.118542009-06-07T19:50:15Z2009-06-07T19:50:15Z
Using Hudson swarm slave plugin to boot a PC from USB and hook it up as a Hudson slave. Translated from Japanese.
Finally the rewrite version is available in the repo.It is not production ready and still has a few known bugs.At least it builds ;)Took me ages to start fighting with mercurial, however turned out to be a lot less horrible than expected.The rewrite version features two different backends, for now only the native backend is functional.You can find more details ...
0Linuxhippy2009-06-06T07:44:00ZCay Horstmann: Java One 2009 Day 4Cay Horstmanntag:weblogs.java.net,2009:/blog/cayhorstmann/334.118482009-06-06T05:03:31Z2009-06-06T05:03:31Z
On Day 4, I report on the toy show, magical mystery tours, mistakes that matter, and how to bring the fun back into programming. (Maybe I am a sucker for talks with catchy titles.) In summary, it was a solid conference, and I look forward to Java One 2010. I conclude with predictions, one of which is that there will be a Java One ...
cayhorstmann2009-06-06T05:03:31ZMaurizio Cimadamore: Rich diagnostics landed on javacMaurizio Cimadamorehttp://blogs.sun.com/mcimadamore/entry/rich_diagnostics_landed_on_javac2009-06-05T16:10:48Z2009-06-05T16:10:48Z
I and Jon presented our langtools BOF - thanks for everyone who decided to attend despite the unfortunate schedule (we were running in parallel with the 'after dark' bash!). The BOF has been mainly focused on the javac diagnostic improvements in JDK 7 (which are currently in the langtools workspace and planned for integration in M4). We showed a demo which (I hope) gave a ...
This document lists the known issues and incompatibilities.
Runtime
Code unloading (aka class GC) is not supported.
In Java static initializers can deadlock, on .NET some threads can see uninitialized
state in cases where deadlock would occur on the JVM.
JNI
Only supported in the default AppDomain.
Only the JNICALL calling convention is supported! (On Windows, HotSpot appears to
also support the cdecl calling convention).
Cannot call string contructors on already existing string instances
A few limitations in Invocation API support
The Invocation API is only supported when running on .NET.
JNI_CreateJavaVM: init options "-verbose[:class|:gc|:jni]", "vfprintf", "exit" and
"abort" are not implemented. The JDK 1.1 version of JavaVMInitArgs isn't supported.
JNI_GetDefaultJavaVMInitArgs not implemented
JNI_GetCreatedJavaVMs only returns the JavaVM if the VM was started through JNI or
a JNI call that retrieves the JavaVM has already occurred.
DestroyJVM is only partially implemented (it waits until there are no more non-daemon
Java threads and then returns JNI_ERR).
DetachCurrentThread doesn't release monitors held by the thread.
Native libraries are never unloaded (because code unloading is not supported).
The JVM allows any reference type to be passed where an interface reference is expected
(and to store any reference type in an interface reference type field), on IKVM this
results in an IncompatibleClassChangeError.
monitorenter / monitorexit cannot be used on unitialized this reference.
Floating point is not fully spec compliant.
A method returning a boolean that returns an integer other than 0 or 1 behaves differently
(this also applies to byte/char/short and for method parameters).
Synchronized blocks are not async exception safe.
Ghost arrays don't throw ArrayStoreException when you store an object that doesn't
implement the ghost interface.
Class loading is more eager than on the reference VM.
Interface implementation methods are never really final (interface can be reimplemented
by .NET subclasses).
JSR-133 finalization spec change is not fully implemented. The JSR-133 changes dictate
that an object should not be finalized unless the Object constructor has run successfully,
but this isn't implemented.
Static Compiler (ikvmc)
Some subtle differences with ikvmc compiled code for public members inherited from
non-public base classes (so called "access stubs"). Because the access stub lives
in a derived class, when accessing a member in a base class, the derived cctor will
be run whereas java (and ikvm) only runs the base cctor.
Try blocks around base class ctor invocation result in unverifiable code (no known
compilers produce this type of code).
Try/catch blocks before base class ctor invocation result in unverifiable code (this
actually happens with the Eclipse compiler when you pass a class literal to the base
class ctor and compile with -target 1.4).
Only code compiled in a single assembly fully obeys the JLS binary compatibility rules.
An assembly can only contain one resource with a particular name.
Passing incorrect command line options to ikvmc may result in an exception rather
than a proper error messages.
Class Library
Most class library code is based on OpenJDK 6 build 12. Below is a list of divergences
and IKVM specific implementation notes.
com.sun.security.auth.module
Not implemented.
java.applet
GNU Classpath implementation. Not implemented.
java.awt
GNU Classpath implementation with partial System.Windows.Forms based back-end. Not
supported.
java.io.Console
Not implemented.
java.lang.instrument
Not implemented.
java.lang.management
Not implemented.
java.net
No IPv6 support implemented.
java.net.ProxySelector
Getting the default system proxy for a URL is not implemented.
java.text.Bidi
GNU Classpath implementation. Not supported.
java.util.zip
Partially based on GNU Classpath implementation.
javax.imageio.plugins.jpeg
Partial implementation. JPEGs can be read and written, but there is no metadata support.
javax.management
Not implemented.
javax.print
Not implemented.
javax.script
Not implemented.
javax.smartcardio
Not implemented.
javax.sound
Not implemented.
javax.swing
GNU Classpath implementation. Not supported.
javax.tools
Not implemented.
org.ietfs.jgss
Not implemented.
sun.jdbc.odbc
Implementation based on .NET ODBC managed provider.
sun.net.www.content.audio
Audio content handlers not implemented.
sun.net.www.content.image
Image content handlers not implemented.
The entire public API is available, so "Not implemented." for javax.print, for example,
means that the API is there but there is no back-end to provide the actual printing
support. "Not supported." means that the code is there and probably works at least
somewhat, but that I'm less likely to fix bugs reported in these areas.
Specific API notes:
java.lang.Thread.stop(Throwable t) doesn't support throwing arbitrary exceptions on
other threads (only java.lang.ThreadDeath).
java.lang.Thread.holdsLock(Object o) causes a spurious notify on the object (this
is allowed by the J2SE 5.0 spec).
java.lang.String.intern() strings are never garbage collected.
Weak/soft references and reference queues are inefficient and do not fully implement
the required semantics.
java.lang.ref.SoftReference: Soft references are not guaranteed to be cleared before
an OutOfMemoryError is thrown.
Threads started outside of Java aren't "visible" (e.g. in ThreadGroup.enumerate())
until they first call Thread.currentThread().
java.lang.Thread.getState() returns WAITING or TIMED_WAITING instead of BLOCKING when
we're inside Object.wait() and blocking to re-acquire the monitor.
java.nio.channel.FileChannel.lock() shared locks are only supported on Windows NT
derived operating systems.
This release has been tested on the following CLI implementations / platforms:
CLI Implementation
Architecture
Operating System
.NET 2.0 SP2
x86
Windows
.NET 2.0 SP2
x64
Windows
Partial Trust
There is experimental support for running in partial trust.
2009-06-05T13:32:45ZCay Horstmann: Java One 2009 Day 3Cay Horstmanntag:weblogs.java.net,2009:/blog/cayhorstmann/334.118402009-06-05T05:18:30Z2009-06-05T05:18:30Z
It's day 3 at Java One, and I report on Second Life, a JavaFX+REST lab, "it's not your father's von Neumann machine", Scala actors, and--an annual tradition--the packrat script for downloading all slides.
cayhorstmann2009-06-05T05:18:30ZJohn Rose: Thursday at JavaOneJohn Rosehttp://blogs.sun.com/jrose/entry/thursday_at_javaone2009-06-09T06:18:47Z2009-06-05T04:04:17Z
Christian Thalinger, Charlie Nutter, and I just finished a talk (my last of three!), called JSR 292 Cookbook. Thanks for your help, guys!
...
jrose2009-06-05T04:04:17ZMandy Chung: Slides for JavaOne BOF - Monitoring and Troubleshooting Java ApplicationsMandy Chungtag:weblogs.java.net,2009:/blog/mandychung/294.118392009-06-05T02:48:59Z2009-06-05T02:48:59Z
Slides for the Monitoring and Troubleshooting Java Applications BOF posted.