diff --git a/CHANGES_NEXT_RELEASE b/CHANGES_NEXT_RELEASE index 39adf46..88ea8a5 100644 --- a/CHANGES_NEXT_RELEASE +++ b/CHANGES_NEXT_RELEASE @@ -1 +1,2 @@ +- Add java.lang.* and java.util.* packages (all functions) into Esper (#217) - Switch log level to PERSEO_LOG_LEVEL env var if was provided to docker (#178) diff --git a/perseo-main/src/main/java/com/telefonica/iot/perseo/Utils.java b/perseo-main/src/main/java/com/telefonica/iot/perseo/Utils.java index 8897f07..7fb2ad9 100644 --- a/perseo-main/src/main/java/com/telefonica/iot/perseo/Utils.java +++ b/perseo-main/src/main/java/com/telefonica/iot/perseo/Utils.java @@ -94,6 +94,9 @@ public static synchronized EPRuntime initEPService(ServletContext sc) { // Add perseo-utils library configuration.getCommon().addImport("com.telefonica.iot.perseo.utils.*"); + // Add Java lang and utils packages + configuration.getCommon().addImport("java.lang.*"); + configuration.getCommon().addImport("java.util.*"); ConfigurationCompiler cfgCpl = configuration.getCompiler();