Re: Pre-processing during build

Поиск
Список
Период
Сортировка
От Vladimir Sitnikov
Тема Re: Pre-processing during build
Дата
Msg-id CAB=Je-F62gyrkUE-iaHmqsxGtjynJZ-XVpX=Tu5dek1Hwd8N2A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Pre-processing during build  ("Markus KARG" <markus@headcrashing.eu>)
Ответы Re: Pre-processing during build  ("Markus KARG" <markus@headcrashing.eu>)
Список pgsql-jdbc
> Also AFAIK JDBC spec does not say reflection MUST be possible, does it?

Does the spec say anything on reflection might not being available?

I can easily imagine application that uses reflection, cglib, etc to
call/manage/pool connections, statements.
Can you list a couple of libraries that forbid reflection usage?

I think it is uncommon in java when a class that implements some
public API fails to "getMethods".

> Wrong. 12.1.1 contains more restriction on the initial class

Can you please cite that "restriction"?

> That is what you see in the difference of you initial example to mine on Gist. :-)

False. It was obvious from the start (see stacktrace) that it was
java.lang.Class.privateGetDeclaredMethods that failed.
If the restriction exists indeed, another example is required to
highlight that. My examples are doomed to die of reflection.

Vladimir


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: "Markus KARG"
Дата:
Сообщение: Re: Pre-processing during build
Следующее
От: Mark Rotteveel
Дата:
Сообщение: Re: Pre-processing during build