[hibernate-dev] WFLY-1406 "Hibernate cannot process package-info.java any more" only on a Windows machine...

Scott Marlow smarlow at redhat.com
Tue Jul 30 10:55:01 EDT 2013


https://issues.jboss.org/browse/WFLY-1406?focusedCommentId=12793827&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-12793827 
mentions a possible (contributing) cause in 
org.hibernate.jpa.boot.scan.spi.PackageInfoArchiveEntryHandler.

I already commented in response but if anyone else wants to also follow 
up...

On 07/25/2013 11:49 AM, Scott Marlow wrote:
> I'm not sure as I wanted to debug the test case but apparently, it only
> fails on Windows.
>
> There was an early guess (in jira comments) that Hibernate must be doing
> something wrong, but I ignored that feedback (like I do with all guesses
> that aren't based on fact).
>
> Thanks for the feedback.
>
> Scott
>
> On 07/25/2013 11:23 AM, Emmanuel Bernard wrote:
>> A package name is a package name. It contains dots not slashes.
>> The question is who is providing the package name and why it provides
>> it as path and not as a package name.
>>
>> On Thu 2013-07-25 10:15, Scott Marlow wrote:
>>> I couldn't recreate this problem but the person that reported it, came
>>> up with a possible hack at line 121 in JavaReflectionManager:
>>>
>>>     packageName = packageName.replace('/', '.');
>>>
>>> Could someone look at this and let me know if it deserves a HHH jira.
>>>
>>> Scott
>>> _______________________________________________
>>> hibernate-dev mailing list
>>> hibernate-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>



More information about the hibernate-dev mailing list