rbeckman-nextgen / test-mc6

0 stars 0 forks source link

Illegal reflective access warning for java.awt.color package #4342

Closed rbeckman-nextgen closed 4 years ago

rbeckman-nextgen commented 4 years ago

A third-party library (Jackson) appears to perform reflective access to something in the java.awt.color package, which causes a warning to appear during startup.

Seems to reproduce more easily when MC is starting up for the first time against a fresh database. Note: Does not occur on Window, only re-producible on MacOSx with JRE 9+ or Linux (docker image) which uses Open JDK 11

{noformat} WARNING: Illegal reflective access by com.fasterxml.jackson.databind.util.ClassUtil (file:/Users/nickr/Desktop/MC%20Testing/Mirth%20Connect%203.9.0%20Test/server-lib/jackson/jackson-databind-2.9.10.jar) to field java.awt.color.ICC_ColorSpace.thisProfile WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.databind.util.ClassUtil {noformat}

Expected Behavior:

When starting Connect against a fresh database using Java 9+, there is no longer any reflective access warning for the java.awt.color package.

Imported Issue. Original Details: Jira Issue Key: MIRTH-4491 Reporter: christ Created: 2020-04-08T15:54:08.000-0700

rbeckman-nextgen commented 4 years ago

ROCKSOLID-4405

Imported Comment. Original Details: Author: christ Created: 2020-04-13T14:33:51.000-0700