[vector] Stop leakage of internal APIs

Viswanathan, Sandhya sandhya.viswanathan at intel.com
Fri Mar 6 00:34:43 UTC 2020


Hi Paul,

The changes look good to me.

Best Regards,
Sandhya

-----Original Message-----
From: panama-dev <panama-dev-bounces at openjdk.java.net> On Behalf Of Paul Sandoz
Sent: Wednesday, March 04, 2020 3:10 PM
To: panama-dev at openjdk.java.net
Subject: [vector] Stop leakage of internal APIs

Hi,

This patch stops the leakage of package private Abstract* classes into the public API:

  http://cr.openjdk.java.net/~psandoz/panama/vector-internal-api-leakage/webrev/ <http://cr.openjdk.java.net/~psandoz/panama/vector-internal-api-leakage/webrev/>

This applies to: 

1) public methods overridden by the abstract classes that are not themselves fully overridden by further public subclasses; and
2) those methods return a type of that is a package private abstract class.

This primarily affects Vector. AbstractVector and public subclasses, such as DoubleVector.  I also made changes to species, shuffle, and mask classes for consistency even though there are no public subclasses.

Paul.


More information about the panama-dev mailing list