RFR: 8337302: Undefined type variable results in null [v3]
Chen Liang
liach at openjdk.org
Tue Aug 13 19:46:56 UTC 2024
On Mon, 12 Aug 2024 23:08:07 GMT, Rafael Winterhalter <winterhalter at openjdk.org> wrote:
>> When a type uses a type variable without a declaration, no exception is thrown. This change triggers a `TypeNotFoundException` to be thrown.
>
> Rafael Winterhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8337302: Add missing visibility modifiers.
src/java.base/share/classes/java/lang/TypeNotPresentException.java line 1:
> 1: /*
Can you update the copyright header to this?
/*
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
So 2024 instead of 2020. Same for `CoreReflectionFactory`.
test/jdk/java/lang/reflect/Generics/TestMissingTypeVariable.java line 2:
> 1: /*
> 2: * Copyright (c) 2004, Oracle and/or its affiliates. All rights reserved.
Suggestion:
* Copyright (c) 2024, Oracle and/or its affiliates. All rights reserved.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20535#discussion_r1715835788
PR Review Comment: https://git.openjdk.org/jdk/pull/20535#discussion_r1715835042
More information about the core-libs-dev
mailing list