3. RESTRICTIONS. Software is confidential and copyrighted.
Title to Software and all associated intellectual property
rights is retained by Sun and/or its licensors. Unless
enforcement is prohibited by applicable law, you may not
modify, decompile, or reverse engineer Software.
Maneesh Godbole wrote:Bad idea dude.
From the java license file

SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer wrote:I've had good luck adding support for generics to JODE (it's not all that hard), but supporting enums would be rather more complicated.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Rob Prime wrote:
Ulf Dittmer wrote:I've had good luck adding support for generics to JODE (it's not all that hard), but supporting enums would be rather more complicated.
How did you do that? Using the type objects are cast to? That's the only remaining reference to the generic type after compiling, as far as I know.
As for enums, those should also not be that hard if you follow the rules I mentioned in my previous post. Simply create some enums, decompile them and see how its done. You can simply tell it's an enum because it extends java.lang.Enum ;)
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
| Did you see how Paul cut 87% off of his electric heat bill with 82 watts of micro heaters? |