JDK-8162539 : Test fails because it expects a blank between method signature and throws exception
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang:reflect
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-07-26
  • Updated: 2016-08-05
  • Resolved: 2016-07-26
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 9
9 b130Fixed
Related Reports
Relates :  
Description
[2016-07-26T03:00:47.37] 
[2016-07-26T03:00:53.03] 1:java.util.List
[2016-07-26T03:00:53.03] CHEK:  Not Equal (590,587)
[2016-07-26T03:00:53.03]  offset: 282
[2016-07-26T03:00:53.03]  EXPECT: id java.lang.Object.wait(long) throws java.lang.InterruptedE
[2016-07-26T03:00:53.03]  ACTUAL: id java.lang.Object.wait(long)throws java.lang.InterruptedEx
[2016-07-26T03:00:53.04] 
[2016-07-26T03:00:53.09] # Test level exit status: 97
Comments
Review thread: http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-July/042590.html
26-07-2016

This is not an integration blocker because it came from dev.
26-07-2016

This regression was caused by this change. JDK-8161500 http://hg.openjdk.java.net/jdk9/dev/jdk/rev/13ba68250391
26-07-2016

Class.getMethods().toString() took out the blank between the method signature and 'throws' busaa027.us.oracle.com% java -Xint b4242912 x:public final void java.lang.Object.wait(long,int)throws java.lang.InterruptedException x:public final void java.lang.Object.wait()throws java.lang.InterruptedException x:public final native void java.lang.Object.wait(long)throws java.lang.InterruptedException x:public boolean java.lang.Object.equals(java.lang.Object) x:public java.lang.String java.lang.Object.toString() x:public native int java.lang.Object.hashCode() x:public final native java.lang.Class java.lang.Object.getClass() x:public final native void java.lang.Object.notify() x:public final native void java.lang.Object.notifyAll() 1:java.util.List CHEK: Not Equal (590,587) offset: 282 EXPECT: id java.lang.Object.wait(long) throws java.lang.InterruptedE ACTUAL: id java.lang.Object.wait(long)throws java.lang.InterruptedEx (methods are sorted that's why this one fails first)
26-07-2016

This test hasn't changed since forever.
26-07-2016