Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves to Java11 and OpenJDK via AdoptOpenJDK #2

Merged
merged 1 commit into from
Oct 6, 2019
Merged

Conversation

sampottinger
Copy link
Owner

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
  • Use of jmodules as necessitated by JEP 261
  • Reponse to largely changed file paths caused by JEP 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
  • Response to HiDPI support on Windows and Linux in JEP 263
  • Removal of java.ext.dirs. Would be forced by JEP 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.

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.

…rain.

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.
@sampottinger
Copy link
Owner Author

Sorry for a little git naughtiness for a minute there. This should be building again though.

@sampottinger sampottinger changed the title Moves to Java11 and OpenJDK via AdoptOpenJDK within the processing4 t… Moves to Java11 and OpenJDK via AdoptOpenJDK Oct 6, 2019
@sampottinger sampottinger merged commit 86a2cd9 into master Oct 6, 2019
sampottinger added a commit that referenced this pull request Apr 13, 2024
Add line number for friendly error messages.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant