> CorruptedZipFiles could benefit from some spring cleaning and a conversion to 
> junit:
> 
> - The actual tests are moved into their own `@Test` methods, given more 
> meaningful names and a Javadoc comment explaining the constraint being 
> verified
> - The setup code is moved to a `@Before` method, slightly modernized and 
> rewritten to take advantage of `assertEquals` 
> - `checkZipExceptionImpl` is updated to take advantage of `assertThrows`
> - A bunch of constants copied over from `ZipFile` can be deleted since 
> JDK-6225935 has long been fixed

Eirik Bjorsnos has updated the pull request incrementally with one additional 
commit since the last revision:

  Simplify the comment for excessiveCENOffset

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/12563/files
  - new: https://git.openjdk.org/jdk/pull/12563/files/3b6d8577..ac4f2b42

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12563&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12563&range=05-06

  Stats: 2 lines in 1 file changed: 0 ins; 1 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12563.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/12563/head:pull/12563

PR: https://git.openjdk.org/jdk/pull/12563

Reply via email to