Skip to content

Commit fddd4fd

Browse files
committed
Rename javax.el.* to jakarta.el.*
1 parent c91bf7f commit fddd4fd

File tree

213 files changed

+516
-470
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+516
-470
lines changed

build.xml

+3-2
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@
344344
</patternset>
345345

346346
<patternset id="files.el-api">
347-
<include name="javax/el/**" />
347+
<include name="jakarta/el/**" />
348348
</patternset>
349349

350350
<patternset id="files.websocket-api">
@@ -1493,6 +1493,7 @@
14931493
includeantruntime="true">
14941494
<classpath refid="tomcat.test.classpath" />
14951495
<include name="org/apache/**" />
1496+
<include name="jakarta/**" />
14961497
<include name="javax/**" />
14971498
<include name="util/**" />
14981499
<!-- Exclude these by default as Gump can't run them because the -->
@@ -1949,7 +1950,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
19491950
<path location="${ant.core.lib}"/>
19501951
</classpath>
19511952
</javadoc>
1952-
<javadoc packagenames="javax.el.*"
1953+
<javadoc packagenames="jakarta.el.*"
19531954
sourcepath="${tomcat.dist}/src/java"
19541955
destdir="${tomcat.dist}/webapps/docs/elapi"
19551956
version="true"

java/javax/el/ArrayELResolver.java renamed to java/jakarta/el/ArrayELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.beans.FeatureDescriptor;
2121
import java.lang.reflect.Array;

java/javax/el/BeanELResolver.java renamed to java/jakarta/el/BeanELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.beans.BeanInfo;
2121
import java.beans.FeatureDescriptor;

java/javax/el/BeanNameELResolver.java renamed to java/jakarta/el/BeanNameELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.beans.FeatureDescriptor;
2020
import java.util.Iterator;

java/javax/el/BeanNameResolver.java renamed to java/jakarta/el/BeanNameResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
/**
2020
* Base implementation that provides a minimal default implementation that is

java/javax/el/CompositeELResolver.java renamed to java/jakarta/el/CompositeELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.beans.FeatureDescriptor;
2020
import java.util.Iterator;

java/javax/el/ELClass.java renamed to java/jakarta/el/ELClass.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
/**
2020
* @since EL 3.0

java/javax/el/ELContext.java renamed to java/jakarta/el/ELContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.util.ArrayList;
2020
import java.util.Deque;

java/javax/el/ELContextEvent.java renamed to java/jakarta/el/ELContextEvent.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.util.EventObject;
2121

java/javax/el/ELContextListener.java renamed to java/jakarta/el/ELContextListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
/**
2121
* @author Jacob Hookom [jacob/hookom.net]

java/javax/el/ELException.java renamed to java/jakarta/el/ELException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
/**
2121
* Represents any of the exception conditions that can arise during expression

java/javax/el/ELManager.java renamed to java/jakarta/el/ELManager.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.Method;
2020
import java.util.Map;
@@ -62,11 +62,11 @@ public void setVariable(String variable, ValueExpression expression) {
6262
}
6363

6464
public void importStatic(String staticMemberName)
65-
throws javax.el.ELException {
65+
throws jakarta.el.ELException {
6666
getELContext().getImportHandler().importStatic(staticMemberName);
6767
}
6868

69-
public void importClass(String className) throws javax.el.ELException {
69+
public void importClass(String className) throws jakarta.el.ELException {
7070
getELContext().getImportHandler().importClass(className);
7171
}
7272

java/javax/el/ELProcessor.java renamed to java/jakarta/el/ELProcessor.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.Method;
2020
import java.lang.reflect.Modifier;

java/javax/el/ELResolver.java renamed to java/jakarta/el/ELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.util.Iterator;
2020

java/javax/el/EvaluationListener.java renamed to java/jakarta/el/EvaluationListener.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
/**
2020
* @since EL 3.0

java/javax/el/Expression.java renamed to java/jakarta/el/Expression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.io.Serializable;
2121

java/javax/el/ExpressionFactory.java renamed to java/jakarta/el/ExpressionFactory.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.io.BufferedReader;
2121
import java.io.File;
@@ -48,9 +48,9 @@ public abstract class ExpressionFactory {
4848
(System.getSecurityManager() != null);
4949

5050
private static final String SERVICE_RESOURCE_NAME =
51-
"META-INF/services/javax.el.ExpressionFactory";
51+
"META-INF/services/jakarta.el.ExpressionFactory";
5252

53-
private static final String PROPERTY_NAME = "javax.el.ExpressionFactory";
53+
private static final String PROPERTY_NAME = "jakarta.el.ExpressionFactory";
5454

5555
private static final String PROPERTY_FILE;
5656

@@ -79,9 +79,9 @@ public String run() {
7979
* Create a new {@link ExpressionFactory}. The class to use is determined by
8080
* the following search order:
8181
* <ol>
82-
* <li>services API (META-INF/services/javax.el.ExpressionFactory)</li>
83-
* <li>$JRE_HOME/lib/el.properties - key javax.el.ExpressionFactory</li>
84-
* <li>javax.el.ExpressionFactory</li>
82+
* <li>services API (META-INF/services/jakarta.el.ExpressionFactory)</li>
83+
* <li>$JRE_HOME/lib/el.properties - key jakarta.el.ExpressionFactory</li>
84+
* <li>jakarta.el.ExpressionFactory</li>
8585
* <li>Platform default implementation -
8686
* org.apache.el.ExpressionFactoryImpl</li>
8787
* </ol>

java/javax/el/FunctionMapper.java renamed to java/jakarta/el/FunctionMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.Method;
2020

java/javax/el/ImportHandler.java renamed to java/jakarta/el/ImportHandler.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.Field;
2020
import java.lang.reflect.Method;
@@ -279,7 +279,7 @@ public ImportHandler() {
279279
}
280280

281281

282-
public void importStatic(String name) throws javax.el.ELException {
282+
public void importStatic(String name) throws jakarta.el.ELException {
283283
int lastPeriod = name.lastIndexOf('.');
284284

285285
if (lastPeriod < 0) {
@@ -341,7 +341,7 @@ public void importStatic(String name) throws javax.el.ELException {
341341
}
342342

343343

344-
public void importClass(String name) throws javax.el.ELException {
344+
public void importClass(String name) throws jakarta.el.ELException {
345345
int lastPeriodIndex = name.lastIndexOf('.');
346346

347347
if (lastPeriodIndex < 0) {

java/javax/el/Jre9Compat.java renamed to java/jakarta/el/Jre9Compat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.AccessibleObject;
2020
import java.lang.reflect.Method;

java/javax/el/JreCompat.java renamed to java/jakarta/el/JreCompat.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.AccessibleObject;
2020

java/javax/el/LambdaExpression.java renamed to java/jakarta/el/LambdaExpression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.util.HashMap;
2020
import java.util.List;

java/javax/el/ListELResolver.java renamed to java/jakarta/el/ListELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.beans.FeatureDescriptor;
2121
import java.util.ArrayList;

java/javax/el/MapELResolver.java renamed to java/jakarta/el/MapELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.beans.FeatureDescriptor;
2121
import java.util.ArrayList;

java/javax/el/MethodExpression.java renamed to java/jakarta/el/MethodExpression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
public abstract class MethodExpression extends Expression {
2020

java/javax/el/MethodInfo.java renamed to java/jakarta/el/MethodInfo.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
public class MethodInfo {
2020

java/javax/el/MethodNotFoundException.java renamed to java/jakarta/el/MethodNotFoundException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
public class MethodNotFoundException extends ELException {
2020

java/javax/el/PropertyNotFoundException.java renamed to java/jakarta/el/PropertyNotFoundException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
public class PropertyNotFoundException extends ELException {
2020

java/javax/el/PropertyNotWritableException.java renamed to java/jakarta/el/PropertyNotWritableException.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
public class PropertyNotWritableException extends ELException {
2020

java/javax/el/ResourceBundleELResolver.java renamed to java/jakarta/el/ResourceBundleELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
package javax.el;
18+
package jakarta.el;
1919

2020
import java.beans.FeatureDescriptor;
2121
import java.util.ArrayList;

java/javax/el/StandardELContext.java renamed to java/jakarta/el/StandardELContext.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.reflect.Method;
2020
import java.util.HashMap;

java/javax/el/StaticFieldELResolver.java renamed to java/jakarta/el/StaticFieldELResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.beans.FeatureDescriptor;
2020
import java.lang.reflect.Constructor;

java/javax/el/TypeConverter.java renamed to java/jakarta/el/TypeConverter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.beans.FeatureDescriptor;
2020
import java.util.Iterator;

java/javax/el/Util.java renamed to java/jakarta/el/Util.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
import java.lang.ref.WeakReference;
2020
import java.lang.reflect.Array;
@@ -70,7 +70,7 @@ static String message(ELContext context, String name, Object... props) {
7070
}
7171
}
7272
ResourceBundle bundle = ResourceBundle.getBundle(
73-
"javax.el.LocalStrings", locale);
73+
"jakarta.el.LocalStrings", locale);
7474
try {
7575
String template = bundle.getString(name);
7676
if (props != null) {

java/javax/el/ValueExpression.java renamed to java/jakarta/el/ValueExpression.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* See the License for the specific language governing permissions and
1515
* limitations under the License.
1616
*/
17-
package javax.el;
17+
package jakarta.el;
1818

1919
public abstract class ValueExpression extends Expression {
2020

0 commit comments

Comments
 (0)