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

* fixed: failed to build RoboVM using Java19 #709

Merged
merged 7 commits into from
Mar 20, 2023

Conversation

dkimitsa
Copy link
Contributor

@dkimitsa dkimitsa commented Mar 13, 2023

Root cases:

Fixes:

  • tycho updated to 3.0.3. This also cause update-side to be migrated to repository (as first one was removed) -- completely not tested
  • test cases: host JDK18 and JDK19 has different behaviour -- test cases were updated just to recognize this case and adapt string to match JDK18/RoboVM
  • gradle plugin: build script migrated to use gradle 8
  • idea pluing: build script migrated to use gradle 8

dkimitsa and others added 2 commits March 13, 2023 16:03
## Root cases:
- Tests started to fail due JDK changes in toString() of annotations (openjdk/jdk#7418).
- Eclipse Tycho has to be updated to know JDK19-env

## Fixes:
- tycho updated to 3.0.3. This also cause update-side to be migrated to repository (as first one was removed) -- completely not tested
- test cases: host JDK18 and JDK19 has different behaviour -- test cases were updated just to recognize this case and adapt string to match JDK18/RoboVM
@Tom-Ski
Copy link
Member

Tom-Ski commented Mar 20, 2023

Whats status of this one @dkimitsa ?

@dkimitsa
Copy link
Contributor Author

@Tom-Ski
synchronised and pushed Idea and Gradle plugin changes (building using gradle 8)

@dkimitsa
Copy link
Contributor Author

hm, ok, seems like eclipse plugin after changes can't be build using java17

Type org.eclipse.tycho.p2maven.repository.P2ArtifactRepositoryLayout not present: org/eclipse/tycho/p2maven/repository/P2ArtifactRepositoryLayout has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

@Tom-Ski Tom-Ski merged commit 4a81986 into MobiVM:master Mar 20, 2023
@dkimitsa dkimitsa deleted the fix/building_on_jdk19 branch March 29, 2023 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants