#52 a lot of fixes

closed
5
2010-07-30
2010-07-15
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

  • Sebastián Gurin

    all my current fixes

     
  • Sebastián Gurin

    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks