Skip to content

make javakit-generate generates different generated/ files. #201

@AbdAlRahmanGad

Description

@AbdAlRahmanGad

When running make javakit-generate on a freash copy of the project the generated files are changed:

These classes were generated with a different order of methods and variables.

JavaClass.swift
JavaString.swift
BitSet.swift

This class generates a bad translation which is not a valid class.

URLClassLoader.swift

The differences can be found here:

0001-issue-report.patch

swift --version

swift-driver version: 1.115 Apple Swift version 6.0 (swiftlang-6.0.0.9.10 clang-1600.0.26.2)
Target: arm64-apple-macosx15.0

java --version

openjdk 23 2024-09-17
OpenJDK Runtime Environment Temurin-23+37 (build 23+37)
OpenJDK 64-Bit Server VM Temurin-23+37 (build 23+37, mixed mode, sharing)

machine

M1 chip, 2020
macOS Version 15.2 (24C101)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions