email problem

when composing a mime message using java classes we get an exception:
com.sun.mail.handlers.text_html cannot be cast to javax.activation.DataContentHandler

code sample:

<cfset sVars.jProps = createObject("java", "java.util.Properties") />
<cfset sVars.jSession = createObject("java", "javax.mail.Session").getInstance(sVars.jProps) />
<cfset sVars.jMessage = createObject("java", "javax.mail.internet.MimeMessage").init(sVars.jSession) />
<cfset sVars.jRec = createObject("java", "javax.mail.Message$RecipientType") />

<cfset sVars.jMessage.setFrom(createObject("java", "javax.mail.internet.InternetAddress").init("test@example.com", false)) />
<cfset sVars.jMessage.setSubject("This is a test") />
<cfset sVars.jMessage.setText("This is a test", "utf-8", "html") />
<cfset sVars.jMessage.addRecipient(sVars.jRec.TO, createObject("java", "javax.mail.internet.InternetAddress").init("test@example.com", false)) />

<cfset sVars.jMessage.saveChanges() />

All about our stack!

OS : arch linux 5.5.4-arch1-1
Java Version : openJDK 1.8.0_242
Tomcat Version : 8.5.51
Lucee Version :

Did you see this?

I saw it, and I tried to remove jaxax.activation jar from the WEBINF but lucee puts it back again when tomcat is restarted, if I downgrade to the same code works fine bit the isImageFile is broken

see isImageFile broken in

I also checked the libs that came with openjdk and saw two libraries that have jaxax.activation, namley

I edited .etc.tomcat8/calataina.properties and added these two to tomcat.util.scan.StandardJarScanFilter.jarsToSkip

this made no difference