Adapt to Rhino 1.9 TypeInfo API #171
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "adapt-to-rhino-1-9-typeinfo-api"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Rhino 1.9 replaced
Class<?>withTypeInfoin theNativeJavaObjectconstructors and thestaticTypefield, so the build fails with Renovate’s bump to 1.9.2 (#169). This branch contains that bump commit plus the fix; merging it supersedes #169.Changes
TypeInfovalues viaTypeInfoFactory.GLOBAL.create(…)inJavaObject,GlobalObjectandRhinoCore.WrapFactory.wrap(…, TypeInfo)inRhinoCore.WrapMakerinstead of theClassvariant. Rhino 1.9 calls theTypeInfooverload directly and theClassoverload merely forwards to it, so the old override still compiled but would have been bypassed — silently skipping Helma’s wrapping of nodes, maps and dates.Verification
./gradlew :compileJavasucceeds on this branch; on8b00a2ab(Renovate’s commit) it fails with threeClass cannot be converted to TypeInfoerrors.tests/String.test.jspasses 117/117 under both Rhino 1.8.0 and 1.9.2.EmbeddedSlotMaphang) is being checked on antville-test.de before merging.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.