Package org.jnode.vm.classmgr

Examples of org.jnode.vm.classmgr.VmConstantPool


    private static void initOpenJDKSpecifics() {
        //todo this will be moved to java.lang.System during openjdk integration
        sun.misc.SharedSecrets.setJavaLangAccess(new sun.misc.JavaLangAccess() {
            public sun.reflect.ConstantPool getConstantPool(Class klass) {
                return new VmConstantPool(VmType.fromClass(klass));
            }

            public void setAnnotationType(Class klass, AnnotationType type) {
                klass.setAnnotationType(type);
            }
View Full Code Here


   
    /**
     * @see java.lang.Class#getConstantPool()
     */
    private static ConstantPool getConstantPool(Class<?> instance) {
        return new VmConstantPool(VmType.fromClass(instance));
    }
View Full Code Here

TOP

Related Classes of org.jnode.vm.classmgr.VmConstantPool

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.