Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#52 a lot of fixes

closed
Josson Smith
5
2010-07-30
2010-07-15
Sebastián Gurin
No

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.

I added compare methods and bit related operations to Integer and to Long, Source code copied from openjdk. Nevertheless, since in javascript Long and Integer are the same objects (javasscript Number) I think it doens't make any sense to have two different implementation of those methods in both classes and I think Long's methods should be the same functions as Integer's . This will save some javascript native source code size.

Before commiting these changes, I would discuss that particular doubt.

Discussion

  • all my current fixes

     
    Attachments
    • status: open --> closed