Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Incorrect package name when creating a class if the package name contains "java" in it #1802

Closed
5 tasks done
Abiddarris opened this issue May 11, 2024 · 1 comment
Closed
5 tasks done
Labels
bug Something isn't working

Comments

@Abiddarris
Copy link

Issue Checklist

  • I confirm that this issue is not a duplicate and hasn't been reported before.
  • I agree to follow the project's code of conduct.
  • I have checked and verified that I am using the latest version of AndroidIDE from GitHub or F-Droid.

Additional terms

  • I understand that providing incomplete or inaccurate information may result in the issue being closed.
  • I agree to provide all requested details promptly for a comprehensive bug report.

Issue explanation

Steps to reproduce:

1.Create a package "com.javarunner.name".
2. Create a class named "Test".

Result:

package runner.name;

public class Test {
}

Expected behavior

package com.javarunner.name;

public class Test {
}

Version name

Version : v2.7.1-beta (27102)
CI Build : true
Branch : main
Commit : 55bb46b
Variant : arm64-v8a (release)
Build type : OFFICIAL
F-Droid Build : false
F-Droid Version : null
F-Droid Version code : -1
SDK Version : 31
Supported ABIs : [arm64-v8a, armeabi-v7a, armeabi]
Manufacturer : samsung
Device : SM-M127F

Download source

GitHub

Relevant log output

No response

@Abiddarris Abiddarris added the bug Something isn't working label May 11, 2024
FaSheep added a commit to FaSheep/AndroidIDE that referenced this issue Jul 29, 2024
itsaky pushed a commit that referenced this issue Aug 26, 2024
…1863)

fix: incorrect package naming for classes containing "java" (#1802)
@itsaky
Copy link
Member

itsaky commented Aug 26, 2024

Fixed with #1863

@itsaky itsaky closed this as completed Aug 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@itsaky @Abiddarris and others