Author: markt
Date: Mon Jan  7 14:26:05 2019
New Revision: 1850644

URL: http://svn.apache.org/viewvc?rev=1850644&view=rev
Log:
Update the performance optimisation for using expressions in tags that depend 
on uninitialised tag attributes with implied scope to make the performance 
optimisation aware of the new public class (java.lang.Enum$EnumDesc) added in 
Java 12.

Modified:
    tomcat/trunk/java/javax/el/ImportHandler.java
    tomcat/trunk/test/javax/el/TestImportHandlerStandardPackages.java
    tomcat/trunk/webapps/docs/changelog.xml

Modified: tomcat/trunk/java/javax/el/ImportHandler.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/javax/el/ImportHandler.java?rev=1850644&r1=1850643&r2=1850644&view=diff
==============================================================================
--- tomcat/trunk/java/javax/el/ImportHandler.java (original)
+++ tomcat/trunk/java/javax/el/ImportHandler.java Mon Jan  7 14:26:05 2019
@@ -164,6 +164,7 @@ public class ImportHandler {
         javaLangClassNames.add("Compiler");
         javaLangClassNames.add("Double");
         javaLangClassNames.add("Enum");
+        javaLangClassNames.add("Enum.EnumDesc");
         javaLangClassNames.add("Float");
         javaLangClassNames.add("InheritableThreadLocal");
         javaLangClassNames.add("Integer");

Modified: tomcat/trunk/test/javax/el/TestImportHandlerStandardPackages.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/test/javax/el/TestImportHandlerStandardPackages.java?rev=1850644&r1=1850643&r2=1850644&view=diff
==============================================================================
--- tomcat/trunk/test/javax/el/TestImportHandlerStandardPackages.java (original)
+++ tomcat/trunk/test/javax/el/TestImportHandlerStandardPackages.java Mon Jan  
7 14:26:05 2019
@@ -61,8 +61,10 @@ public class TestImportHandlerStandardPa
             // 9 (and later) so it is not necessary that this is executed on
             // every test run. The intention is that it will catch new classes
             // when the tests are run on a newer JRE.
-            // The latest version of the JRE where this test is known to pass 
is
-            // Java 11, Early Access 21
+            // The latest versions of the JRE where this test is known to pass 
are
+            // - OpenJDK 11.0.1
+            // - OpenJDK 12 EA 26
+            // - OpenJDK 13 EA 02
             if (!JreCompat.isJre9Available()) {
                 return;
             }

Modified: tomcat/trunk/webapps/docs/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1850644&r1=1850643&r2=1850644&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jan  7 14:26:05 2019
@@ -111,6 +111,12 @@
         that did not correctly scan the web application directory structure for
         JSPs. (markt)
       </fix>
+      <fix>
+        Update the performance optimisation for using expressions in tags that
+        depend on uninitialised tag attributes with implied scope to make the
+        performance optimisation aware of the new public class
+        (<code>java.lang.Enum$EnumDesc</code>) added in Java 12. (markt)
+      </fix>
     </changelog>
   </subsection>
   <subsection name="WebSocket">



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to