Entries from September 2006

September 24, 2006

Type resolution in JVM specification

The JVM spec covers the following details about the lifecycle of a program:

VM start up
class and interface loading
linking
initialization
creation of new class instances
unloading of classes
VM exit

In this entry, we are interested in detailing how JVM is handling type resolution. Having the following code:

public class EntryPoint {
public void someMethod() {
ExternalDependecyClass.callMethod();
}
}

import not.on.classpath.SomeClass

public class [...]

September 10, 2006

Eclipse API and Code Folding

One of the my first open source projects I have worked on was Coffee-Bytes code folding plugin. It happened a long time ago and at some point the development has been discontinued.
However, tonight, working on some very long sources I have remembered it and I said I should give it a new try. Unfortunately, once [...]

September 4, 2006

TestNG revamped support for JUnit

I have spent a couple of hours this weekend on a new approach to running JUnit 3.x tests in TestNG
Previously, we have tried to emulate through TestNG the behavior of JUnit and things were quite complex. Also, considering how many extensions are there for JUnit we have never been sure we are able to run [...]