<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1372</bug_id>
          
          <creation_ts>2019-04-04 17:26:01 +0200</creation_ts>
          <short_desc>Pass unit tests on OSX 10.14.3 (Mojave)</short_desc>
          <delta_ts>2019-04-05 19:32:45 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Jogl</product>
          <component>core</component>
          <version>2.4.0</version>
          <rep_platform>All</rep_platform>
          <op_sys>macosx</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>1370</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sven Gothel">sgothel</reporter>
          <assigned_to name="Sven Gothel">sgothel</assigned_to>
          <cc>sgothel</cc>
          
          <cf_type>DEFECT</cf_type>
          <cf_scm_refs>jogamp-scripting 699c2c1e2dbb2d98b223389ee6884f0c4abc8144</cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6196</commentid>
    <comment_count>0</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-04-04 17:26:01 +0200</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6203</commentid>
    <comment_count>1</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-04-05 05:58:46 +0200</bug_when>
    <thetext>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 -&gt; Security &amp; Privacy
    Scroll down to &quot;Accessibility&quot;
    Click the lock button at the bottom and unlock the security and privacy preferences
    Click on &apos;+&apos; icon and your program (Eclipse IDE in my case) and try running again

The IDE still shows &quot;This is NOT allowed. Please call TIS/TSM in main thread!!!&quot; but both Keyboard and Mouse events work. I checked your code as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6204</commentid>
    <comment_count>2</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-04-05 05:59:34 +0200</bug_when>
    <thetext>Closing for now, due to positive result.

Must be reopened before 2.4.0 release, if issues still exists.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6210</commentid>
    <comment_count>3</comment_count>
    <who name="Sven Gothel">sgothel</who>
    <bug_when>2019-04-05 19:32:45 +0200</bug_when>
    <thetext>jogamp-scripting commit 699c2c1e2dbb2d98b223389ee6884f0c4abc8144
    Bug 1372: XCode 10* SDKROOT macosx10.14 not working yet
    
    Set SDKROOT to macosx10.11 for XCode 10* (see &apos;man xcrun&apos;)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>