Bug 1372 - Pass unit tests on OSX 10.14.3 (Mojave)
Summary: Pass unit tests on OSX 10.14.3 (Mojave)
Status: RESOLVED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 2.4.0
Hardware: All macosx
: P4 normal
Assignee: Sven Gothel
URL:
Depends on: 1370
Blocks:
  Show dependency treegraph
 
Reported: 2019-04-04 17:26 CEST by Sven Gothel
Modified: 2019-04-05 19:32 CEST (History)
1 user (show)

See Also:
Type: DEFECT
SCM Refs:
jogamp-scripting 699c2c1e2dbb2d98b223389ee6884f0c4abc8144
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2019-04-04 17:26:01 CEST
Preliminary testing on OSX 10.14.3 (Mojave) 
shows diverse issues across units tests, mostly AWT related.

We need to triage these unit tests and pass them for 2.4.0,
at least to a point where we get similar stats as w/ earlier 
OSX versions.
Comment 1 Sven Gothel 2019-04-05 05:58:46 CEST
Locally run all test on OSX 10.14.4 (another Mojave update)
with jdk1.8.0_192.jdk: all tests passed.

+++

I had to perform an Accessibility Security setting to allow the 
AWT Robot to control mouse and keyboard - after which all tests have passed.

https://stackoverflow.com/questions/54511742/java-awt-robot-works-strangely-under-macos-mojave

Not sure if you found the solution already. If not, follow the steps below,

    Settings -> Security & Privacy
    Scroll down to "Accessibility"
    Click the lock button at the bottom and unlock the security and privacy preferences
    Click on '+' icon and your program (Eclipse IDE in my case) and try running again

The IDE still shows "This is NOT allowed. Please call TIS/TSM in main thread!!!" but both Keyboard and Mouse events work. I checked your code as well.
Comment 2 Sven Gothel 2019-04-05 05:59:34 CEST
Closing for now, due to positive result.

Must be reopened before 2.4.0 release, if issues still exists.
Comment 3 Sven Gothel 2019-04-05 19:32:45 CEST
jogamp-scripting commit 699c2c1e2dbb2d98b223389ee6884f0c4abc8144
    Bug 1372: XCode 10* SDKROOT macosx10.14 not working yet
    
    Set SDKROOT to macosx10.11 for XCode 10* (see 'man xcrun')