corda/classpath/java
Joel Dice 25d69f38ee match Java's schizophrenic concept of inner class access modifiers
An inner class has two sets of modifier flags: one is declared in the
usual place in the class file and the other is part of the
InnerClasses attribute.  Not only is that redundant, but they can
contradict, and the VM can't just pick one and roll with it.  Instead,
Class.getModifiers must return the InnerClasses version, whereas
reflection must check the top-level version.  So even if
Class.getModifiers says the class is protected, it might still be
public for the purpose of reflection depending on what the
InnerClasses attribute says.  Crazy?  Yes.
2014-03-06 16:17:43 -07:00
..
io Add FileChannel#size() 2013-12-04 15:23:03 -06:00
lang match Java's schizophrenic concept of inner class access modifiers 2014-03-06 16:17:43 -07:00
math update copyright years 2013-07-02 20:52:38 -06:00
net don't throw UnknownHostException from InetAddress.getByName("0.0.0.0") 2013-12-18 10:12:10 -07:00
nio Add FileChannel#size() 2013-12-04 15:23:03 -06:00
security update copyright years 2013-07-02 20:52:38 -06:00
text Implement single quotes in MessageFormat 2014-01-28 09:56:25 -07:00
util remove redundant decrement in ZipFile.getInputStream inner class 2014-02-26 14:48:28 -07:00