jakartaee / expression-language

Jakarta Expression Language
https://eclipse.org/ee4j/el
Other
68 stars 49 forks source link

EL 3.0 static field resolution does not work with Mojarra 2.2.7 #40

Closed glassfishrobot closed 2 years ago

glassfishrobot commented 10 years ago

from

ctx.setPropertyResolved(false); Object ret = ctx.getELResolver().getValue(ctx, null, this.image);

to

ctx.setPropertyResolved(false); // resolve class name if (ctx.getImportHandler() != null) { final Class<?> c = ctx.getImportHandler().resolveClass(this.image); if (c != null)

{ ctx.setPropertyResolved(true); return new ELClass(c); }

} Object ret = ctx.getELResolver().getValue(ctx, null, this.image);

Sorry for the bad formatting. I couldn't figure out how to format it properly.

Environment

WildFly 8.1 Final, Mojarra 2.2.7

Affected Versions

[current]

glassfishrobot commented 6 years ago
glassfishrobot commented 10 years ago

@glassfishrobot Commented Reported by hugh_nguyen_82

glassfishrobot commented 10 years ago

@glassfishrobot Commented Was assigned to super_glassfish

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA UEL-40