When generating proxy locals to hold the arguments of a super invocation, javac 
was taking the type from the actual argument. This was incorrect and the test 
case shown in the bug entry proved it. The type is now being taken from the 
declared argument type,

TIA




---------
- [X] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - 8385645: [lworld] Javac is crashing while compiling constructor with early 
assigments

Changes: https://git.openjdk.org/valhalla/pull/2492/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2492&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8385645
  Stats: 58 lines in 2 files changed: 52 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/valhalla/pull/2492.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2492/head:pull/2492

PR: https://git.openjdk.org/valhalla/pull/2492

Reply via email to