(Path path, boolean forceClose)
| 38 | } |
| 39 | |
| 40 | public static PathSegmentIterator make(Path path, boolean forceClose) { |
| 41 | try { |
| 42 | long ptr = _nMake(Native.getPtr(path), forceClose); |
| 43 | PathSegmentIterator i = new PathSegmentIterator(path, ptr); |
| 44 | i._nextSegment = _nNext(ptr); |
| 45 | return i; |
| 46 | } finally { |
| 47 | Reference.reachabilityFence(path); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | @ApiStatus.Internal |
| 52 | public static class _FinalizerHolder { |