swiftlang / swiftlang/swift-java
[Java2Swift] Code generation crashes for large .jar files
Open
Nobody has claimed this yet.
bug
- Dominant language
- Swift
- Stars
- 1.2k
- Forks
- 123
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 16
Description
The SwiftJavaPlugin tool crashes for large .jar files.
[debug][swift-java] Writing Java class 'android.drm.DrmInfoRequest' translation to '/Users/coleman/Developer/Android/.build/plugins/outputs/android/AndroidKit/destination/SwiftJavaPlugin/generated/DrmInfoRequest.swift'... done.
zsh: illegal hardware instruction --module-name AndroidKit --output-directory --depends-on --depends-on
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash in SwiftJavaPlugin with the provided Archive.zip and review java2swift.log and build.log, focusing on processing large .jar files. Done means the tool completes code generation for the supplied archive without the illegal hardware instruction crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, swift
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100