History log of /libcore/libart/src/main/java/java/lang/Enum.java
Revision Date Author Comments
64e0127c640646f0e8967678a19c372636de6f3f 08-Jun-2014 Valter Strods <valters.strods@gmail.com> libcore: Clean up Enum.compareTo(E)

As E extends Enum<E>, it is safe to cast the comparable object to
Enum<?> as it should not throw any exceptions. When it is cast, the
ordinal value can be accessed directly. Doing so would be preferred as
either both the variables this.ordinal and o.ordinal should be used or
the methods this.ordinal() and o.ordinal() should be used without
mixing them together.

Change-Id: I7c4e93fdf35b0bf2949738a91c0855d9a52e5c13
0a21bb40b8ade2e932ef7608bc861f183bfe594d 26-Mar-2014 Jeff Hao <jeffhao@google.com> Add access checks to Method and Field reflection.

Libcore side of this change. Has a corresponding art change.

Bug: 13620925
Change-Id: I68f726af5f2b5a79c9ffd6f2c76a0b3f2600ca9d
a9a297845620cfe56bbe3b9f8de1331b7ec54574 21-Sep-2013 Ying Wang <wangying@google.com> Fix Java 7 build.

See http://bugs.sun.com/view_bug.do?bug_id=6904536
Bug: 8992787

Change-Id: Ib84a28a3df4517be86cd3342e6f916a5d905be89
e96f94f57430bf3060581c816cc3a148adbe91a4 05-Jun-2013 Brian Carlstrom <bdc@google.com> Making libcore build WITH_ART

Change-Id: I4db5fbf6a5977c02a1dffffc5386f7fc04ef7eab