Skip to content

Commit fbb76c1

Browse files
authored
Merge pull request #16487 from OpenLiberty/revert-15973-ValidateVisitorELSupport
Revert "Validate visitor el support"
2 parents a4d7e0b + 6f8f200 commit fbb76c1

File tree

7 files changed

+696
-738
lines changed

7 files changed

+696
-738
lines changed

dev/com.ibm.ws.jsp/src/com/ibm/ws/jsp/translator/visitor/validator/ValidateVisitor.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 1997, 2021 IBM Corporation and others.
2+
* Copyright (c) 1997, 2007 IBM Corporation and others.
33
* All rights reserved. This program and the accompanying materials
44
* are made available under the terms of the Eclipse Public License v1.0
55
* which accompanies this distribution, and is available at
@@ -1771,19 +1771,19 @@ else if (checkDeferred && ((ELNode.Root) node).getType() == '#') {
17711771
//method used to replace ELSupport.checkType
17721772
private final static void ELCheckType(final Object obj, final Class<?> type) throws ELException {
17731773
if (String.class.equals(type)) {
1774-
ELSupport.coerceToString(null, obj);
1774+
ELSupport.coerceToString(obj);
17751775
}
17761776
if (ELArithmetic.isNumberType(type)) {
1777-
ELSupport.coerceToNumber(null, obj, type);
1777+
ELSupport.coerceToNumber(obj, type);
17781778
}
17791779
if (Character.class.equals(type) || Character.TYPE == type) {
1780-
ELSupport.coerceToCharacter(null, obj);
1780+
ELSupport.coerceToCharacter(obj);
17811781
}
17821782
if (Boolean.class.equals(type) || Boolean.TYPE == type) {
1783-
ELSupport.coerceToBoolean(null, obj);
1783+
ELSupport.coerceToBoolean(obj);
17841784
}
17851785
if (type.isEnum()) {
1786-
ELSupport.coerceToEnum(null, obj, type);
1786+
ELSupport.coerceToEnum(obj, type);
17871787
}
17881788
}
17891789

dev/com.ibm.ws.org.apache.jasper.el.2.2/bnd.bnd

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#*******************************************************************************
2-
# Copyright (c) 2017, 2021 IBM Corporation and others.
2+
# Copyright (c) 2017 IBM Corporation and others.
33
# All rights reserved. This program and the accompanying materials
44
# are made available under the terms of the Eclipse Public License v1.0
55
# which accompanies this distribution, and is available at
@@ -20,8 +20,6 @@ Export-Package: org.apache.el;thread-context=true, \
2020
org.apache.el.parser, \
2121
org.apache.el.util
2222

23-
instrument.disabled: true
24-
2523
-buildpath: \
2624
com.ibm.ws.org.apache.el:jasper-el;version=2.2,\
2725
com.ibm.websphere.javaee.el.2.2;version=latest

0 commit comments

Comments
 (0)