Patch to expand tz checking scope in TimeZone_md.c

Jonathan Lu luchsh at linux.vnet.ibm.com
Wed Nov 2 08:56:49 UTC 2011


Hi core-libs-dev,

In jdk/src/solaris/native/java/util/TimeZone_md.c, starting from line 
626, I found that the scope of "#ifdef __solaris__" might be too narrow, 
since it also works for some kind of OS which I'm currently working on, 
such as AIX.
So I suggest to just remove the '#ifdef __solaris__' and leave the 
"#else" to accommodate more conditions, see attachment 'patch.diff'. I 
think this may enhance the cross-platform ability, any ideas about this 
modification?

Regards
- Jonathan Lu


More information about the core-libs-dev mailing list