-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate deprecated com.apple.eawt calls in core.
As part of #5753 / #5750, remove deprecated com.apple.eawt calls made in the core module. Specifically, respond to (JEP 272)[http://openjdk.java.net/jeps/272] which is generating warnings on sketch run and may cause failure in future JDKs.
- Loading branch information
1 parent
99002c7
commit f68fd9e
Showing
1 changed file
with
53 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This lambda won't compile to the correct package for all JDK's 1.8+. (That is, unless source is always compiled when using Processing; that's the condition to make it so this works across all JDK's 1.8+.) As a test, compile this on JDK 11 with "source 1.8" and "target 1.8" and then try to run on JDK 1.8. Same for the reverse. Compile with JDK 1.8 and try to run it on JDK 11.