Skip to content

Conversation

dkimitsa
Copy link
Contributor

this PR workaround case when child classes inherit parent that is younger. This causes ObjCClassNotFoundException when running code iOS version where parent is not available but child is available (and expect to work). Bright example is GKPlayer:

// since ios 4.1
@interface GKPlayer : GKBasePlayer

// but

// since ios 10.0
@interface GKBasePlayer : NSObject

the fix -- is allow to have missing classes as parent but don't allow instantiating of them.

@Tom-Ski Tom-Ski merged commit bcad4ed into MobiVM:jdk12 Jan 10, 2020
@dkimitsa dkimitsa deleted the cocoa13_postfix8_fix_for_missing_runtime_classes branch January 11, 2020 14:34
dkimitsa added a commit to dkimitsa/robovm that referenced this pull request Apr 9, 2020
…than child case) (MobiVM#442)

* * jetbrains intellij plugin for gradle version updated

* * intellij maven pom reworked into stand-alone. as mvn:version is not able to update parent version number

* * added sonatype repo for snapshot dependencies

* * eclipse plugin's maven.pom switched into standalone (without) as tyho plugin is not able update parent's version during release

* * release script reworked to properly pick up new idea artifact and update it gradle version

* * Idea: release script updated to use property to specify the dependencies. otherview version:commit failed to pick up non existing dependencies (for future version)

* * added handling of situation, when parent class is using higher version of iOS than child. before the fix it fails with ObjCClassNotFoundException when running on iOS where parent class is not present.

* * comments + few cleanups
dkimitsa added a commit to dkimitsa/robovm that referenced this pull request Apr 9, 2020
…than child case) (MobiVM#442)

* * jetbrains intellij plugin for gradle version updated

* * intellij maven pom reworked into stand-alone. as mvn:version is not able to update parent version number

* * added sonatype repo for snapshot dependencies

* * eclipse plugin's maven.pom switched into standalone (without) as tyho plugin is not able update parent's version during release

* * release script reworked to properly pick up new idea artifact and update it gradle version

* * Idea: release script updated to use property to specify the dependencies. otherview version:commit failed to pick up non existing dependencies (for future version)

* * added handling of situation, when parent class is using higher version of iOS than child. before the fix it fails with ObjCClassNotFoundException when running on iOS where parent class is not present.

* * comments + few cleanups
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