jakartaee / expression-language

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

Clarify behaviour of imports #41

Closed glassfishrobot closed 4 years ago

glassfishrobot commented 9 years ago

Quoting from the spec:

1.22.2 Imports of Packages, Classes, and Static Fields Either a class or a package can be explicitly imported into the EL evaluation environment. Importing a package imports all the classes in the package.

Given that the Javadoc for ImportHandler.resolveClass() states it throws an ELException if "the class is abstract or is an interface, or not public" the text from 1.22.2 should be updated to read:

"Importing a package imports all the public, concrete classes in the package."

glassfishrobot commented 6 years ago
glassfishrobot commented 9 years ago

@glassfishrobot Commented Reported by markt_asf

glassfishrobot commented 9 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-41