reiern70 opened a new issue, #2026:
URL: https://github.com/apache/wicket/issues/2026

   The `module-info.java` of `wicket-core` opens 
`org.apache.wicket.markup.html.form.upload.resource` but does not export it:
   
   ```java
   opens org.apache.wicket.markup.html.form.upload.resource;
   ```
   
   The package holds public API that an application compiles against: 
`FileUploadToResourceField`, `FileUploadResourceReference`, 
`IUploadsFileManager`, `FolderUploadsFileManager`, `FileDropZoneBehavior`, 
`FileListBehavior` and `AbstractFileUploadResource`. `opens` only grants 
reflective access at run time, so an application on the module path cannot use 
any of it:
   
   ```
   error: package org.apache.wicket.markup.html.form.upload.resource is not 
visible
     (package org.apache.wicket.markup.html.form.upload.resource is declared in 
module org.apache.wicket.core, which does not export it)
   ```
   
   Applications on the class path are not affected. Since the package is not 
exported, the Javadoc of `wicket-core` leaves it out as well.
   
   **Proposal:** export the package, next to 
`org.apache.wicket.markup.html.form.upload`, and keep it open.
   
   Present since the package was opened in 10.0.0 (WICKET-7081): on 
`wicket-10.x`, `wicket-11.x` and `master`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to