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