Skip to content

'package-info.class' Verification Fails in PhPackage.java #4730

@0pdd

Description

@0pdd

The puzzle 4717-b9941d0d from #4717 has to be resolved:

* @todo #4717:90min Check 'package-info.class' existence before looking for an object.
* Recently, we got an error when 'maven-compiler-plugin' removed 'package-info.class'
* during compilation and we got quite confusing error message:
* ```
* Couldn't find object 'Φ.org.eolang.examples' because there's no class or package
* 'EOorg.EOeolang.EOexamples' EOorg.EOeolang.EOexamples
* ```
* Having said that, the 'EOorg.EOeolang.EOexamples' package does exist.
* The error tells nothing about missing 'package-info.class'. We need to check for the
* existence of 'package-info.class' before trying to find an object.

The puzzle was created by Yegor Bugayenko on 09-Dec-25.

Estimate: 90 minutes, role: DEV.

If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions