Skip to content

Rename standard type Java package root - #74

Merged
kjonescertinia merged 1 commit into
mainfrom
codex/rename-java-package-root
Jun 9, 2026
Merged

Rename standard type Java package root#74
kjonescertinia merged 1 commit into
mainfrom
codex/rename-java-package-root

Conversation

@nawforce

@nawforce nawforce commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • move generated platform stubs from com.nawforce.runforce to io.github.apexdevtools.standardtypes
  • rewrite package declarations, imports, and fully-qualified references across the generated Java tree
  • update repo generation guidance in .github/copilot-instructions.md to use the new package root

Testing

  • mvn test
  • mvn install -Dgpg.skip=true
  • stale-reference sweep: no remaining com.nawforce.runforce / runforce references in this repo

Upstream impact

This is intentionally breaking for consumers that dynamically load classes by Java package name. A temporary apex-ls patch of PlatformTypeDeclaration.platformPackage and the Object$ import showed the next required change: apex-ls currently indexes standard-types and sobject-types into one Apex-facing name map, then loads everything through the platform package root. Because sobject-types still publishes under com.nawforce.runforce.SObjects, apex-ls either needs to retain the Java package root per indexed class or we need to migrate sobject-types to the same new root in a coordinated PR.

@kjonescertinia
kjonescertinia merged commit 23d0501 into main Jun 9, 2026
1 check passed
@kjonescertinia
kjonescertinia deleted the codex/rename-java-package-root branch June 9, 2026 21:28
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