Need bug id to remove the explicit type argument in test class
Hi, My OCA has been processed recently and I want to start Contributing to OpenJDK. As a first fix, I would like to remove the explicit type argument in test class test/jdk/java/lang/Boolean/MakeBooleanComparable.java to fix one warning. The first line given below is the existing code and the second line is what I am changing it to. List<Boolean> list = new ArrayList<Boolean>(); List<Boolean> list = new ArrayList<>(); If this is not too small change to start with, could you please help me to create a bug id against this so that I can create a patch and share. Regards, Vipin
Hi Vipin, Always happy to help someone who wants to contribute! I'll create the bug ID for you, and sponsor your fix. Kind regards, Patrick On 02/03/2020 19:33, Vipin Sharma wrote:
Hi,
My OCA has been processed recently and I want to start Contributing to OpenJDK.
As a first fix, I would like to remove the explicit type argument in test class test/jdk/java/lang/Boolean/MakeBooleanComparable.java to fix one warning.
The first line given below is the existing code and the second line is what I am changing it to.
List<Boolean> list = new ArrayList<Boolean>(); List<Boolean> list = new ArrayList<>();
If this is not too small change to start with, could you please help me to create a bug id against this so that I can create a patch and share.
Regards, Vipin
Hi Vipin, it's a really tiny thing but here you go: https://bugs.openjdk.java.net/browse/JDK-8240524 In the change you'll also need to update the copyright year. Maybe you find other places in these tests you want to update? Best regards Christoph
-----Original Message----- From: core-libs-dev <core-libs-dev-bounces@openjdk.java.net> On Behalf Of Vipin Sharma Sent: Montag, 2. März 2020 20:34 To: core-libs-dev@openjdk.java.net Subject: Need bug id to remove the explicit type argument in test class
Hi,
My OCA has been processed recently and I want to start Contributing to OpenJDK.
As a first fix, I would like to remove the explicit type argument in test class test/jdk/java/lang/Boolean/MakeBooleanComparable.java to fix one warning.
The first line given below is the existing code and the second line is what I am changing it to.
List<Boolean> list = new ArrayList<Boolean>(); List<Boolean> list = new ArrayList<>();
If this is not too small change to start with, could you please help me to create a bug id against this so that I can create a patch and share.
Regards, Vipin
participants (3)
-
Langer, Christoph
-
Patrick Concannon
-
Vipin Sharma