Skip to content

Commit

Permalink
LDEV-5101 - check if null
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Oct 7, 2024
1 parent fea8117 commit 12190b4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/runtime/reflection/Reflector.java
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ public static Class[] getClasses(Object[] objs) {
* @return converted Class (if primitive)
*/
public static Class toReferenceClass(Class c) {
if (c.isPrimitive()) {
if (c != null && c.isPrimitive()) {
if (c == boolean.class) return Boolean.class;
if (c == byte.class) return Byte.class;
if (c == short.class) return Short.class;
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.2.0.94-SNAPSHOT"/>
<property name="version" value="6.2.0.95-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.2.0.94-SNAPSHOT</version>
<version>6.2.0.95-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 12190b4

Please sign in to comment.