AlloyTools / org.alloytools.alloy

Alloy is a language for describing structures and a tool for exploring them. It has been used in a wide range of applications from finding holes in security mechanisms to designing telephone switching networks. This repository contains the code for the tool.
Other
709 stars 124 forks source link

Make jar work on JDK 11 on Mac #84

Closed sanderhahn closed 5 years ago

sanderhahn commented 5 years ago

Initiating the MacUtil generated a NoClassDefFoundError on JDK 11 on a Mac. This pull request works around the issue that com.apple.eawt.* packages are removed after Java 8. It might be possible in the future to replace the Mac calls with the platform independent set handler methods inside the java.awt.Desktop.