Class ClasspathlessCompiler.Arguments

  • Enclosing interface:
    ClasspathlessCompiler

    public static class ClasspathlessCompiler.Arguments
    extends java.lang.Object
    • Field Detail

      • useHostSystemClasses

        private boolean useHostSystemClasses
      • useHostJavaLangObject

        private boolean useHostJavaLangObject
      • compilerFlags

        private java.util.List<java.lang.String> compilerFlags
    • Constructor Detail

      • Arguments

        public Arguments()
    • Method Detail

      • compilerOptions

        public java.util.List<java.lang.String> compilerOptions()
        Returns:
        A copy of the compiler argument strings.
      • useHostSystemClasses

        public boolean useHostSystemClasses()
        Returns:
        The value of the option.
      • useHostJavaLangObject

        public boolean useHostJavaLangObject()
        Returns:
        The value of the option.
      • compilerOptions

        public ClasspathlessCompiler.Arguments compilerOptions​(java.util.Collection<java.lang.String> value)
        Set flags which will be passed to the compiler.
        Parameters:
        value - A collection of compiler flags.
        Returns:
        this.
      • useHostSystemClasses

        public ClasspathlessCompiler.Arguments useHostSystemClasses​(boolean value)
        Set flag whether or not to use host system classes. System classes are those provided with the installation of JDK. If set to false, the compiler will use system classes provided by the provider.
        Parameters:
        value - The value of the option.
        Returns:
        this.
      • useHostJavaLangObject

        public ClasspathlessCompiler.Arguments useHostJavaLangObject​(boolean value)
        Set flag whether or not to use host java.lang.Object class regardless of "useHostSystemClasses". Setting this to true is a workaround preventing processes running under the DCEVM JVM from crashing.
        Parameters:
        value - The value of the option.
        Returns:
        this.