zero-shark ldc bugfix
Andrew Zhogin
andrew.zhogin at gmail.com
Thu Oct 11 04:19:18 PDT 2012
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.
--
Best regards, Andrew Zhogin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2491.patch
Type: application/octet-stream
Size: 2482 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/zero-dev/attachments/20121011/a31b394f/2491.patch
More information about the zero-dev
mailing list