<@U0BJDA84R> I cannot find where the `java` functi...
# documentation
a
@saghosh I cannot find where the
java
function is documented. It was added in CF2018. Example: https://trycf.com/gist/e55e3925238de2b6529443194d06ca72/acf2018?theme=monokai
Copy code
myDate = new java("java.sql.Date").valueOf("2011-03-24");

writeDump(myDate.toString());
Also FAO @lmajano / @bdw429s
r
a
There is no mention of that function on that page that I can see? But, yes, I did expect to see something there. I am looking for
<https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/java.html>
, which would be between
<https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/isxmlroot.html>
and
<https://helpx.adobe.com/coldfusion/cfml-reference/coldfusion-functions/functions-in-k/javacast.html>
in the CFML reference.
eg: if I google "coldfusion java function" (like "coldfusion listappend function") I expect the first-ish match to be the CFML ref.
r
Yeah, well that asking a lot based on past experience with the Adobe ColdFusion documentation. I did see what you're looking for recently but I think it was through some "What's new in ColdFusion 2021", or similar, page which I can't seem to find anymore. It's like they cleansed the site of ColdFusion 2018 references when it went EOL but failed to check that the content was still relevant. I wish they'd split off the ColdFusion documentation, guides, and tracker on it's own site and update it properly. Leave the marketing fluff on the Adobe site.
a
yeah it's mentioned here
<https://helpx.adobe.com/coldfusion/using/whats-new-coldfusion-2018.html#new>
. To me that's almost a "marketing" page, not a docs page. Everything on that page should be in the appropriate place in the CFML ref / Developers' Guide.
1
But approaching docs coherently and comprehensively has not been a strength of the CFML team since... well... since the word "Adobe" was involved I think.
It's improving these days though.
(if the right nudges are provided).
Just had the obvious - which I did not even notice - pointed out to me (by @bdw429s). This ain't a function... it's some sort of object factory (I didn't pay attn to the
new
in the example code). So doesn't belong where I suggested it ought to in the CFML ref, as it does not belong with the functions. Not sure where it should go then, but it needs to go somewhere (other than in an obsolete "what's new..." page.
👍 1
m
a
@saghosh (or maybe @Mark Takata (Adobe), at this point)?
m
Definitely good to tag Saurav. I just got home from being feral in the wilderness for like 10 days.
s
Yes, on it. Thanks all.
❤️ 1
a
Any movement on this, @saghosh?
s
I did update, let me check
👍 1