JDK-8008689 : test reflective modeling and calling of static methods on interfaces
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 8
  • Priority: P2
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2013-02-22
  • Updated: 2013-08-06
  • Resolved: 2013-08-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Resolved
Related Reports
Blocks :  
Relates :  
Description
The JVM spec will be updated to allow these.  
Comments
I managed to check in the tests using the umbrella task, here is a link to the commit: URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/cd0ea5563523 User: jfranck Date: 2013-08-06 17:03:35 +0000
06-08-2013

Amy Lu is working on a set of tests for reflective/method handle invocation of default methods and interface statics. I will help out getting these tests reviewed and pushed to tl.
12-07-2013

If nothing else, we will needs tests to verify that the modeling and reflective calling of static methods on interfaces works as expected. SQE may already have some tests here.
08-07-2013

It looks like this is already supported to some extent, which doesn't surprise me since I couldn't find any code distinguishing Class statics from Interface statics on the hotspot side of things. Robert, can you elaborate on what is missing?
08-07-2013

There may be implication to dynamic proxy and proxy invocation handler that requires investigation.
01-07-2013