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

Build jps-builder using only Java 1.6 compatible .classes #323

Merged
merged 1 commit into from
Jun 12, 2016
Merged

Conversation

KronicDeth
Copy link
Owner

@KronicDeth KronicDeth commented Jun 11, 2016

Fixes #290
Fixes #293
Fixes #295
Fixes #302
Fixes #313

Changelog

Bug Fixes

  • In IntelliJ 14.1, all of openapi.jar targets Java 1.6 (with MAJOR.MINOR 50.0), but in IntelliJ 2016.1, some of openapi.jar targets only Java 1.8 (with MAJOR.MINOR 52.0), since jps-builders require parts of openapi.jar and must target Java 1.6 even for IntelliJ 2016.1, the 52.0 .classes needed to be ported into org.elixir_lang.jps.builder, so that the 52.0 version in openapi.jar wouldn't be attempted to be loaded.

    This ended up being 5 classes:

    • ExecutionException
    • GeneralCommandLine
    • ParametersList
    • ParamsGroup
    • ProcessNotCreatedException

    Only GeneralCommandLine was used directly, all others are dependencies of it.

Thanks

Thanks to @cedriessen for pointing that all the weird loading bugs were related to ignatov/intellij-erlang#727 and then @ignatov, @deadok22, and @chashnikov for helping from that issue.

Fixes #290
Fixes #293
Fixes #295
Fixes #302
Fixes #313

In IntelliJ 14.1, all of openapi.jar targets Java 1.6 (with
MAJOR.MINOR 50.0), but in IntelliJ 2016.1, some of openapi.jar targets
only Java 1.8 (with MAJOR.MINOR 52.0), since jps-builders require parts
of openapi.jars and must target Java 1.6 even for IntelliJ 2016.1, the
52.0 .classes needed to be ported into org.elixir_lang.jps.builder, so
that the 52.0 version in openapi.jar wouldn't be attempted to be loaded.

This ended up being 5 classes:

* ExecutionException
* GeneralCommandLine
* ParametersList
* ParamsGroup
* ProcessNotCreatedException

Only GeneralCommandLine was used directly, all others are dependencies
of it.
@KronicDeth KronicDeth added this to the v3.0.2 milestone Jun 11, 2016
@KronicDeth KronicDeth self-assigned this Jun 11, 2016
@KronicDeth KronicDeth merged commit bd3c654 into master Jun 12, 2016
@KronicDeth KronicDeth deleted the jps branch June 12, 2016 00:56
KronicDeth added a commit that referenced this pull request Jun 12, 2016
KronicDeth added a commit that referenced this pull request Jun 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant