Package org.openquark.cal.machine

Examples of org.openquark.cal.machine.GeneratedCodeInfo


           
            ModuleName moduleName = entry.getKey();           
            CompiledModuleSourceDefinition cmsd = entry.getValue();
            CompiledDefinitionInfo info = new CompiledDefinitionInfo(cmsd);
           
            GeneratedCodeInfo codeInfo;
            try {
                codeInfo = info.getCodeInfo();
            } catch (IOException e) {
                // couldn't get the code info.
                continue;
            }
           
            // Check whether the compiled definition needs to be regenerated.
            if (codeInfo.needToRegenerate()) {
                continue;
            }
           
            result.put(moduleName, info);
        }
View Full Code Here


            boolean boolValue;
            if (LECCMachineConfiguration.isLeccRuntimeStatic()) {
                // Static runtime
                // Lookup class data unless it's out of date.
                GeneratedCodeInfo gci = getGeneratedCodeInfo();
                boolValue = (gci == null) ? true : gci.isCompatibleWithCurrentConfiguration();
               
                if (!boolValue) {
                    // The generated code info indicates that the classes in the repository are incompatible with the current configuration.
                    // This should never happen for a static runtime.
                    throw new IllegalStateException("The existing runtime classes are not compatible with the current static configuration.");
View Full Code Here

TOP

Related Classes of org.openquark.cal.machine.GeneratedCodeInfo

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.