Commit Graph

24 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
REAS
9ec706889f Removing DoubleDict DoubleList LongDict LongList from Reference 2019-07-26 15:47:21 -07:00
Ben Fry
3673396587 move to JDK 1.8 instead of 1.6 b/c of Eclipse warnings 2019-01-18 09:55:43 -08:00
George Bateman
5767b086f6 Fix most Javadoc errors, except syntax 2016-05-10 19:13:20 +01:00
Jakub Valtar
dd8698427c Update app to Java 8 2016-04-02 23:17:25 +02:00
Ben Fry
f496709a87 update our own libraries to use .properties files (fixes #3574) 2015-08-11 10:30:37 -04:00
Ben Fry
547221b3da clean up comments and warnings 2015-04-20 16:40:20 -07:00
Ben Fry
a32a634b72 deal with .class signing conflicts and use JDT .jar files for compilation 2015-01-21 19:43:02 -05:00
Kyle Feuz
c7759f2a78 Bring in upstream changes from 'master' 2014-11-21 10:31:28 -07:00
Kyle Feuz
cc312f8b76 Unset the executable bit on xml files 2014-11-20 13:17:33 -07:00
Kyle Feuz
49c3435b36 Normalize line endings. Auto-detect textfiles. Force .java and .pde files to be treated as text. 2014-11-20 12:57:04 -07:00
Federico Bond
ce5daefffd Use 1.7 as source and target Java version 2014-10-20 23:52:26 -03:00
David Prévot
8fcc868767 dxf: Fix the clean target 2014-01-09 19:43:47 -04:00
Ben Fry
7eb0f19d65 change build scripts to use built-in ecj (removes jdk req) 2013-09-12 19:21:57 -04:00
Ben Fry
eee6123135 adding ignore files 2013-01-27 10:52:36 -05:00
benfry
ab815ede89 update source/target settings in build b/c of Java 7 warnings 2012-10-19 14:48:48 +00:00
benfry
7a7b856385 making further progress on build process 2012-07-20 23:21:24 +00:00
codeanticode
d22af52c68 Merging changes in dxf library 2012-05-10 00:17:54 +00:00
benfry
436a81e330 cleaning up warnings, specifying Java 1.6 for build in Eclipse, remove unused 2011-11-12 17:31:06 +00:00
benfry
fa772df0ad fixing the build for the XML and P3D changes 2011-06-19 12:56:32 +00:00
benfry
9bc78c735a remove errant debug message 2011-03-11 14:10:03 +00:00
benfry
b9d14b44d5 fixing build scripts for new locations 2011-01-26 21:53:07 +00:00
benfry
ce5fd461f5 moving dxf examples 2011-01-26 19:40:50 +00:00
benfry
f7043c6927 2011-01-26 19:07:56 +00:00