[10?] RFR: 8193128: Reduce number of implementation classes returned by List/Set/Map.of()

Jason Mehrens jason_mehrens at hotmail.com
Fri Dec 22 19:07:55 UTC 2017


What are your thoughts on pushing the static EMPTY_XXX declarations from ImmutableCollections down in to each respective inner class?  Doing that should allow for on demand class loading instead of getting everything when any factory is used.

>http://cr.openjdk.java.net/~redestad/8193128/open.04/

Jason


More information about the core-libs-dev mailing list