Character decoding could be 3 times faster !

Dave Bristor David.Bristor at Sun.COM
Wed May 21 17:27:44 UTC 2008

Ulf Zibis wrote:
> Am 19.05.2008 13:16, Alan Bateman schrieb:
>> One other thing - it looks like you are using the jdk6 sources with 
>> the JRL license rather than OpenJDK sources. If you do improve the 
>> performance of the decode loop for this class of decoder then it would 
>> be best to post a patch against the OpenJDK sources.
>> -Alan.
> Yes, this might be. I'm afraid, this would become a BIG THING for me, as 
> I'm not familiar with the JDK7 contribution process, Mercurial, and how 
> to create a suitable NetBeans project to serve this.
> I hesitate to install JDK7 on my system, as it is less than Beta.
> Also my goal is, to provide a jar, which users could use with JDK6 by 
> -Xbootclasspath/p.
> Is there any sample NetBeans project regarding hacking the JDK7?
> How can I commit my steps of work against your Mercurial server? (At 
> I only have Subversion)

Both the OpenJDK 6 and OpenJDK 7 source bases include NetBeans projects. 
Those for OpenJDK 6 are more up-to-date.  In both cases look in 
jdk/make/netbeans.  While there might not be a project specific to your needs, 
the README in that directory provides some guidance on using an existing 
project as a starting point which you can customize.


> What you think:
> - Can I simply use the the JDK7 sources of sun.nio.cs package, compile 
> them against JDK6 for my development and test runs, and then create the 
> patch from there?
> -Ulf

More information about the core-libs-dev mailing list