Commit Graph

15 Commits

Author SHA1 Message Date
A Pottinger
c14695476e Moves to Java11 and OpenJDK via AdoptOpenJDK within the processing4 train.
Moves to Java11 and OpenJDK via AdoptOpenJDK within the processing4 train using a squash of sampottinger processing fork's java11 branch.

**Primary required changes:**
Some changes directly support OpenJFX / OpenJDK 11:

 - Response to image loading changes caused by [JEP 320](https://openjdk.java.net/jeps/320)
 - Use of jmodules as necessitated by [JEP 261](https://openjdk.java.net/jeps/261)
 - Reponse to largely changed file paths caused by [JEP 220](https://openjdk.java.net/jeps/220).
 - Modifications in build system related to AdoptOpenJDK and Java 11 which have a different naming structure for downloads.
 - Allowing use of non-Oracle Java within internal Processing checks.

**Secondary required changes:**
There were some secondary required changes that impacted the usability of Processing after having moved to OpenJFX / OpenJDK 11:

 - Removal of com.apple.eawt calls related to [JEP 272](http://openjdk.java.net/jeps/272)
 - Response to HiDPI support on Windows and Linux in [JEP 263](https://openjdk.java.net/jeps/263)
- Removal of `java.ext.dirs`. Would be forced by [JEP 220](http://openjdk.java.net/jeps/220).
 - Due to bugs on Windows, updated the JNA jars.
 - Changes in downloader build tasks to support AdoptOpenJDK and OpenJFX.
 - Updated org.eclipse.* / equinox jars.
 - Some optimization around size of distribution.
 - Update of AppBundler.
 - Some changes in formulation of classpath and modifications in PreprocessingService given [JEP 261](https://openjdk.java.net/jeps/261).

**Incidental changes:**
This was (ahem) a bit of a larger PR with the above modifications. So, I wanted to introduce automated tests when possible and convenient along with a few changes for platform sustainability in order to support development:

 - Addition of cross-building capability (!) made possible by AdoptOpenJDK.
 - Addition of mockito for testing.
 - Upgrade of junit.
 - Addition of ant-contrib.
 - Standardized nomenclature around JRE / JDK in `build/build.xml`
 - Deduplication of code in `jre/build.xml`.
 - Addition of JavaDoc in a few places.
 - Some refactoring of PImage / Shape to support increased testing and readability in image manipulation code.
2019-10-05 20:49:33 -07:00
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
Ben Fry
3eccf56a84 need this guy too 2015-01-21 19:15:36 -05:00
Ben Fry
9f1816495a more fixes for building core standalone 2015-01-21 19:14:15 -05:00
Ben Fry
9f4b16aa0d why not test it before checking it in? 2015-01-21 19:09:16 -05:00
Ben Fry
8267c4c11f remove methods binary, clean up tasks, remove demo stuff, notes on recent fixes 2015-01-21 19:08:11 -05:00
Kyle Feuz
cc312f8b76 Unset the executable bit on xml files 2014-11-20 13:17:33 -07:00
Federico Bond
768c72e4e8 Replace instances of StringBuffer with StringBuilder 2014-09-13 20:12:23 -03:00
Federico Bond
80f64013a4 Optimize creation of boxed primitives 2014-08-26 19:40:19 -03:00
Ben Fry
7eb0f19d65 change build scripts to use built-in ecj (removes jdk req) 2013-09-12 19:21:57 -04:00
benfry
f7752ae687 fix methods setup so that android also auto-adds methods from PGraphics/PImage 2012-07-21 15:05:08 +00:00
benfry
1114b68031 prevent Windows CR problems, also fix encoding for i/o 2010-02-07 22:30:09 +00:00
benfry
1e9c3548d9 renaming files 2010-02-07 20:53:24 +00:00
benfry
79689c437b more cleaning up/renaming 2010-02-07 20:51:07 +00:00
benfry
269aed9510 trying again 2010-02-07 20:47:31 +00:00