Fwd: zero-shark ldc bugfix

Andrew Haley aph at redhat.com
Thu Oct 18 17:13:54 PDT 2012


On 10/18/2012 01:55 AM, Andrew Zhogin wrote:
> ---------- Forwarded message ----------
> From: Andrew Zhogin <andrew.zhogin at gmail.com>
> Date: Thu, Oct 11, 2012 at 6:19 PM
> Subject: zero-shark ldc bugfix
> To: zero-dev at openjdk.java.net
> 
> 
> Hi.
> 
> I found problem with shark code generation for ldc* opcodes.
> 
> Crash example (launch with -Xcomp):
> 
> import java.text.*;
> import java.util.Locale;
> import java.util.Currency;
> import sun.util.LocaleServiceProviderPool;
> import java.util.spi.CurrencyNameProvider;
> 
> public class test {
> 
>     public static void main(String[] args) {
> 
>         LocaleServiceProviderPool.getPool(CurrencyNameProvider.class);
>     }
> }
> 
> In SharkConstant constructor: already mirrored unloaded-class object
> is not expected and is_loaded is set to true.
> Java-mirror object for klass is not "is_klass", just an object.
> 
> Here is patch in attachment.

Thank you very much.  Have you signed the Oracle contributor agreement?

Andrew.





More information about the distro-pkg-dev mailing list