Commit 3afda64
committed
Implement java.io.File in JavaAPI with native support for ParparVM
- Added full implementation of `java.io.File` in `vm/JavaAPI` delegating to native methods.
- Added native implementation in `vm/ByteCodeTranslator/src/java_io_File.m` supporting both iOS (`NSFileManager`) and Linux/POSIX.
- Updated `ByteCodeTranslator` to package the new native source file.
- Patched `vm/ByteCodeTranslator/src/nativeMethods.m` and `cn1_globals.m` to support compilation on Linux (added guards and stubs).
- Added `vm/tests/src/test/java/com/codename1/tools/translator/FileClassIntegrationTest.java` to verify the implementation.
- Fixed string concatenation issues in `vm/JavaAPI` exception constructors to resolve C compilation errors.
- Added `vm/JavaAPI/src/java/util/Objects.java` to resolve missing dependency during integration tests.
- Removed conflicting `java.util.Objects` stub generation from `LambdaIntegrationTest`.1 parent aae07b0 commit 3afda64
File tree
1 file changed
+0
-17
lines changed- vm/tests/src/test/java/com/codename1/tools/translator
1 file changed
+0
-17
lines changedLines changed: 0 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | 179 | | |
197 | 180 | | |
198 | 181 | | |
| |||
0 commit comments