[9] RFR(S): 8050860: Cleanup TypeTuple and TypeFunc

Zoltán Majó zoltan.majo at oracle.com
Wed Jul 23 07:37:29 UTC 2014


Hi all,


please review the following patch.

Bug: https://bugs.openjdk.java.net/browse/JDK-8050860

Problem: TypeFunc::_domain, TypeFunc::_range, TypeTuple::_cnt and 
TypeTuple::_fields are public, but could be declared private.

Solution: Declared fields private, changed direct accesses to fields 
(from other classes) to use accessor methods instead.

Webrev: http://cr.openjdk.java.net/~thartmann/8050860/webrev.00/

Testing: run all JPRT tests, all passed; built all_optimized and 
all_debug successfully.

Thank you and best regards,


Zoltan Majo



More information about the hotspot-compiler-dev mailing list