In the attached file, you will find many fixes in java.core project. Before commiting them, I thought the best is to describe the fixes here for Zhou Rengian to give me his approval. Each fix has a //sgurin comment some of them explaining why the fix was neccesary.
The only important fix is with detecting null pointer exception, all other are simple fix to errors and I don't think they will impact on the compiler, only fixes to java library.
Before commiting these changes, I would discuss that particular doubt.