RFR (JAXP): 8169112: java.lang.VerifyError: (class: GregorSamsa, method: template-bash signature: (LGregorSamsa8; )V) Register 10 contains wrong type

Joe Wang huizhe.wang at oracle.com
Tue Dec 13 22:17:52 UTC 2016

Hi Christoph,

For the test, yes, please add an unit test based on the test submitted, 
sanitize / remove any private information in the original test where 

Best regards,

On 12/13/16, 12:31 PM, Langer, Christoph wrote:
> 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/ 
> <http://cr.openjdk.java.net/%7Eclanger/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

More information about the core-libs-dev mailing list