[10] RFR: 8182487: Add Unsafe.objectFieldOffset(Class, String)

Brent Christian brent.christian at oracle.com
Tue Jun 20 23:50:30 UTC 2017


On 06/20/2017 06:14 AM, Claes Redestad wrote:
> it felt reasonable to simplify the code to
> consistently throw InternalError and remove a number of distracting
> try-catch blocks.

With the try-catches gone, it looks like quite a few static fields could 
now be initialized inline, and the static blocks removed entirely.  If 
such a thing were desirable...

-Brent



More information about the core-libs-dev mailing list