Hi,

this is the fix for the regression introduced with 8150704. Please review.

Bug: https://bugs.openjdk.java.net/browse/JDK-8169112
Webrev: http://cr.openjdk.java.net/~clanger/webrevs/8169112.0/

The problem occurs during "outlining" of a translet method. Outlining happens 
when the size of bytecode for a translet method exceeds the bytecode limit per 
method imposed by Java and means splitting the code into smaller methods. 
8150704 added the new local variable "_domAdapter" to the implementation of 
"WithParam" without setting the end of its scope. This somehow leads to issues 
in outlining and the local variable in the new method might be loaded without 
being initialized. The problem is not observed for smaller translets where 
probably outlining is not performed.

Shall I create a new jtreg test from the example attached to the bug? I would 
just run the sample transformation and the test is passed when no exception 
occurs.

Best regards
Christoph

Reply via email to