1. 29 8月, 2013 1 次提交
  2. 15 5月, 2013 1 次提交
    • R
      8012556: Implement lambda methods on interfaces as static · a97b9d6f
      rfield 提交于
      8006140: Javac NPE compiling Lambda expression on initialization expression of static field in interface
      Summary: Lambdas occurring in static contexts or those not needing instance information should be generated into static methods.  This has long been the case for classes.  However, as a work-around to the lack of support for statics on interfaces, interface lambda methods have been generated into default methods.  For lambdas in interface static contexts (fields and static methods) this causes an NPE in javac because there is no 'this'.  MethodHandles now support static methods on interfaces.  This changeset allows lambda methods to be generated as static interface methods.  An existing bug in Hotspot (8013875) is exposed in a test when the "-esa" flag is used.  This test and another test that already exposed this bug have been marked with @ignore.
      Reviewed-by: mcimadamore
      a97b9d6f
  3. 21 11月, 2012 1 次提交
  4. 04 11月, 2012 1 次提交
  5. 25 1月, 2012 1 次提交
  6. 26 5月, 2010 1 次提交
  7. 16 1月, 2009 1 次提交
  8. 09 1月, 2009 1 次提交
  9. 01 12月, 2007 1 次提交