Guillaume Mazoyer: Status report Jigsaw num. 1 for GSoC 2011
During this GSoC I will work on the next generation JDK. This means that I will (and I already have) compile the JDK. That s pretty awesome but it requires a lot of power. That s why Tom Marble created me an account on his 8 CPUs machine to help me.
Since I m probably going to sign some packages, I created a new GPG key with a 4096 RSA strength.
My old key was:
pub 1024D/F144A319 2008-10-18And the new key is:
pub 4096R/EE2BBBC7 2011-05-03I cross signed my keys using this great tutorial.
I read some documentation about Jigsaw and watched Tom s talk at DebConf 10.
I have spent a little more than a week to understand the current OpenJDK packaging to be able to rebuild it. I have learnt from where do the sources come from. The current packaging is a little hard to understand. There are sources that come from IcedTea, OpenJDK, and more.
After being able to rebuild the OpenJDK 6 package, I have downloaded the source of the OpenJDK 8 and Jigsaw. I used the Mercurial forest to get the sources.
For OpenJDK 8:
hg clone http://hg.openjdk.java.net/jdk8/jdk8 jdk8cd jdk8 && sh get_sources.shFor Jigsaw:
hg clone http://hg.openjdk.java.net/jigsaw/jigsaw jigsawcd jigsaw && sh get_sources.shI have managed to build the sources of OpenJDK 8 and Jigsaw using the same steps:
cd jigsaw. jigbuild. jdk/make/jdk_generic_profile.shexport ALLOW_DOWNLOADS=truemake sanitymake allJigsaw specific:
make modules-sanitymake modulesEach build took several minutes. But they were successful. Tom helped me a lot to build OpenJDK 8 and Jigsaw by giving me a solution. For example, after getting the Mercurial forest, there were still missing source files and the build failed. Tom told me that I needed to export a environement variable:
ALLOW_DOWNLOADS=true.After building Jigsaw, I was able to see that the version string is not legal in Debian and that is a real problem.
I have written some simple Hello World examples to compile and run with Jigsaw. To modularize a program, it needs to contain a module-info.java files. This file includes the modules needed to run the program and the main class to run. For a classic hello world, the module-info.java files looks like:
module test.hello @ 1
requires jdk.base @ 7-ea;
class test.hello.Main;
Tom gave me some packages to build: jtharness and jtreg. I succesfully built jtharness using CDBS and its Ant helper but I ll have to repackage it to use javahelper instead of CDBS. I still didn t try to build jtreg because it requires jtharness.
My next plan is to get jtharness and jtreg packaged with javahelper soon and understand what modules does what in Jigsaw. Understaning modules will help me to write some more complex examples. I hope to start working on Jigsaw a little more soon (when I my internship will end [next week]).
This is my monthly summary of my Debian related activities. If you re among the people who
I have been
Doing some work towards Debian Rolling
At the start of the month, the discussions about Debian rolling were still very active on debian-devel. Declaring that testing would be rolling did not make it (as
So I just read that
IIT Bombay, like most likely most Indian educational instituates, has some rules and regulations about the interaction between boys and girls that, at least to the uninitiated eye of a foreigner who was brought up in a liberal society, seem arbitrary and archaic. At IIT Bombay, for example, there may be no visits in hostels by students of the other gender (yes, there are separate boys and girls hostels) between 10pm and 7am, and during the day any such visit has to be registered at the 



The increasing number of facebook "friends".
Apparently I have 113 "friends" in facebook.
So far I don't think I have seen any interesting things happening within facebook.
I saw a breakdown when my mixi contacts exceeded 100 people, and I started deleting stale connections. I don't know who to delete in facebook because I only been approving people whom I know in facebook, unlike in mixi where I used to become Friends as if it was a routine ritual in tech conferences.
When I installed my
The BitTorrent protocol works with trackers, that track the
clients or peers that share a given file. This is one
specific design of a peer-to-peer protocol, very appropriate for official
distribution: for instance, Debian runs a tracker for distributing the
installation images.The problem
There exists many BitTorrent clients, but, for what I have seen, few
BitTorrent tracker. Within Debian, I think the only trackers available are the
original BitTorrent's one, and its fork BitTornado. Both suffer from serious
drawbacks:
I know it has been a while, but after reading a
Two weeks ago, I was lucky to celebrate my 33th birthday with my closest
friends in l'Alqueria. When asked to wish something before blowing
the candles on Victor's delicious apple cake, I thought I have basically
everything I'd want, but it'd be cool if some real changes happened in this
world.
Not long after, big demonstrations asking for Real Democracy Now
happened throughout the Spanish state, and today, that Sunday seems to be
an eternity away. Huge assemblies, thousands of strangers working together,
more demonstrations, an election campaign eclipsed by #15m, hundreds of
well thought, plausible claims published, the movement crossing the Spanish
borders and leaking into France and Greece, the feeling that this is
the good one, the basis for a fresh start that can make our lives
better, our society a fair one and the possibility to stand in front of the
fuckers who have made our lives a lot harder, to tell them it's not going
to work like that anymore. All of this in 15 days.
Unfortunately, revolution came when I'm in a crucial month to finish my
studies and swamped with other little things, so I've been unable to be in
the Valencian camp site for more than 3 days. Hopefully when I'm done on the
22nd people will still be
I've made a first release of
Thanks to
You'd think it'd be easy to reboot a PC, wouldn't you? But then you'd also think that it'd be straightforward to convince people that at least making some effort to be nice to each other would be a mutually beneficial proposal, and look how well that's worked for us.
I was invited to be part of one of the panels to be present this Thursday (June 2) in a forum that promises to be interesting. The forum is organized by the Science and Technology comission of the Senate of the Republic (of Mexico ;-) ), Universidad Aut noma Metropolitana and Mozilla M xico. The day will be opened by