JDK-8174921 : javac fails with SOE for a large series of chained invocations
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2017-02-14
  • Updated: 2017-10-16
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.
Other
tbd_majorUnresolved
Related Reports
Relates :  
Description
javac fails with SOE for this test case:

import java.util.Date;

public class CompilerIssue {

	public static String TTCN3_spv_nos;
	
	public static void main(String[] args) {
		long currentTime = new Date().getTime();
		TTCN3_spv_nos = new String("Hello world").concat(new String("Hello world").concat(new String("Hello world")
				.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						.concat(new String("Hello world")
						))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
						))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								))))))))))
								)))))))))
				;
		 System.out.println("Time elapsed = " + (new Date().getTime() - currentTime));

	}

}