BasicProxyFactoryImpl.getProxy() swallows exception

Description

org.hibernate.bytecode.internal.bytebuddy.BasicProxyFactoryImpl.getProxy() swallows thrown Throwable as it does not pass it to the HibernateException.

Environment

None

Activity

Show:
Guillaume Smet
July 9, 2018, 11:06 AM

any chance you could provide a test case based on https://github.com/hibernate/hibernate-test-case-templates/tree/master/orm/hibernate-orm-5 so that we can improve this?

Hard to improve things without seeing the exact issue.

Thanks!

Guillaume Smet
July 9, 2018, 11:07 AM

never mind. Just took a look at the code and it's a rookie mistake. Will fix.

Assignee

Guillaume Smet

Reporter

Oliver Libutzki

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure