sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1607295 - /sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspServletOptions.java
Date Wed, 02 Jul 2014 08:45:06 GMT
Author: cziegeler
Date: Wed Jul  2 08:45:06 2014
New Revision: 1607295

URL: http://svn.apache.org/r1607295
Log:
SLING-3724 : Provide option to always use current vm version for source and target

Modified:
    sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspServletOptions.java

Modified: sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspServletOptions.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspServletOptions.java?rev=1607295&r1=1607294&r2=1607295&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspServletOptions.java
(original)
+++ sling/trunk/bundles/scripting/jsp/src/main/java/org/apache/sling/scripting/jsp/JspServletOptions.java
Wed Jul  2 08:45:06 2014
@@ -489,6 +489,7 @@ public class JspServletOptions implement
         if (compilerTargetVM != null ) {
             if ( AUTOMATIC_VERSION.equalsIgnoreCase(compilerTargetVM) ) {
                 compilerTargetVM = System.getProperty("java.vm.specification.version");
+                this.setProperty("compilerTargetVM", compilerTargetVM);
             }
             this.compilerTargetVM = compilerTargetVM;
         }
@@ -497,6 +498,7 @@ public class JspServletOptions implement
         if (compilerSourceVM != null ) {
             if ( AUTOMATIC_VERSION.equalsIgnoreCase(compilerSourceVM) ) {
                 compilerSourceVM = System.getProperty("java.vm.specification.version");
+                this.setProperty("compilerSourceVM", compilerSourceVM);
             }
             this.compilerSourceVM = compilerSourceVM;
         }



Mime
View raw message