A DESCRIPTION OF THE PROBLEM :
javac stalls on determining a complex intersection type and ends up throwing `OutOfMemoryError`.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Clone the sample repository and run `mvn compile`.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Build completes successfully.
ACTUAL -
Build aborts with `OutOfMemoryError`.
---------- BEGIN SOURCE ----------
See attached zip file.
---------- END SOURCE ----------
javac stalls on determining a complex intersection type and ends up throwing `OutOfMemoryError`.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Clone the sample repository and run `mvn compile`.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Build completes successfully.
ACTUAL -
Build aborts with `OutOfMemoryError`.
---------- BEGIN SOURCE ----------
See attached zip file.
---------- END SOURCE ----------
- relates to
-
JDK-8353565 Javac throws "inconsistent stack types at join point" exception
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/9f972008
-
Review(master)
openjdk/jdk/28050