Bug 562479 - Folder name with dot not recognised as package in eclipse.
Summary: Folder name with dot not recognised as package in eclipse.
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: APT (show other bugs)
Version: 4.14   Edit
Hardware: Macintosh Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Generic inbox for the JDT-APT component CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-25 10:28 EDT by Mukesh Verma CLA
Modified: 2024-04-07 05:15 EDT (History)
0 users

See Also:


Attachments
Project Structure In Eclipse (29.25 KB, image/png)
2020-04-25 10:28 EDT, Mukesh Verma CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mukesh Verma CLA 2020-04-25 10:28:16 EDT
Created attachment 282559 [details]
Project Structure In Eclipse

I created a dir a.b.c inside src folder of a Java project and created Test.java with package as package a.b.c ;. I get following error

"The declared package "a.b.c" does not match the expected package"

This works fine with javac and IntelliJ IDE. Find screenshots as attachment.
Comment 1 Eclipse Genie CLA 2022-04-16 10:35:34 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 2 Eclipse Genie CLA 2024-04-07 05:15:37 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.