JDK-8132059 : com/sun/jdi/BreakpointTest.java fails with java.lang.IllegalArgumentException: Bad line number
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2015-07-21
  • Updated: 2020-09-01
  • Resolved: 2015-07-21
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 b76Fixed
Related Reports
Relates :  
Description
The com/sun/jdi/BreakpointTest test fails in 7-20 RE_Baseline nightly on all platforms. There are total 15 failures. The failures are caused by the fix for JDK-8075658.

run args: [BreakpointTarg]
java.lang.IllegalArgumentException: Bad line number
	at TestScaffold.findLocation(TestScaffold.java:819)
	at BreakpointTest.runTests(BreakpointTest.java:134)
	at TestScaffold.startTests(TestScaffold.java:429)
	at BreakpointTest.main(BreakpointTest.java:82)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:504)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
	at java.lang.Thread.run(Thread.java:746)

JavaTest Message: Test threw exception: java.lang.IllegalArgumentException: Bad line number
JavaTest Message: shutting down test

Test run URL: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=1029172.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-20-55#jdk/%3Ajdk_jdi%20%5B!jfr%5D%20(jtreg)_com/sun/jdi/BreakpointTest.java

Comments
Will backout the whole change. The fix will have to be revisited.
21-07-2015