Class JRAbstractJavaCompiler

java.lang.Object
net.sf.jasperreports.engine.design.JRAbstractCompiler
net.sf.jasperreports.engine.design.JRAbstractJavaCompiler
All Implemented Interfaces:
JRCompiler
Direct Known Subclasses:
JRAbstractClassCompiler, JRGroovyCompiler, JRJdtCompiler

public abstract class JRAbstractJavaCompiler extends JRAbstractCompiler
Author:
Teodor Danciu (teodord@users.sourceforge.net)
  • Field Details

    • PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED

      public static final String PROPERTY_EVALUATOR_CLASS_REFERENCE_FIX_ENABLED
      Property that indicates whether a legacy fix for a JVM issue related to evaluator classes generated by JasperReports is enabled. The fix is enabled by default. Due to the fix, the garbage collector might not be able to collect a classloader that loaded JasperReports classes. This would be inconvenient in scenarios in which JasperReports classes are repeatedly loaded by different classloaders, e.g. when JasperReports is part of the classpath of a web application which is often reloaded. In such scenarios, set this property to false.
      See Also:
    • EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE

      public static final String EXCEPTION_MESSAGE_KEY_EXPECTED_JAVA_LANGUAGE
      See Also:
    • EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED

      public static final String EXCEPTION_MESSAGE_KEY_EXPRESSION_CLASS_NOT_LOADED
      See Also:
  • Constructor Details

    • JRAbstractJavaCompiler

      protected JRAbstractJavaCompiler(JasperReportsContext jasperReportsContext, boolean needsSourceFiles)
  • Method Details