tracker issue : CF-4199852

select a category, or use search below
(searches all categories and all time range)
Title:

Ability to extend implement native Java Classes

| View in Tracker

Status/Resolution/Reason: To Fix//Investigate

Reporter/Name(from Bugbase): Luis Majano / Luis Majano ()

Created: 09/29/2017

Components: Language, Java Integration

Versions: 2016

Failure Type: Others

Found In Build/Fixed In Build: /

Priority/Frequency: Normal /

Locale/System: / Core

Vote Count: 2

We can implement interfaces via createDynamicProxy() (not very elegant), but we cannot extend native java classes.  The majority of other JVM languages have supported this for many many years.

It is time to add this feature to the language to be competitive.  Add the ability for a CFC to inherit from a native Java class.  Take it a step further and allow a CFC to implement Java classes natively.  Creating dynamic proxies is a workaround, and not an elegant solution to the language.  

Proposals:

component java:extends="" java:implements=""{

}

Attachments:

Comments: