[lworld] RFR: 8242496 [lworld] new and defaultvalue don't perform checks on class to instantiate
    Frederic Parain 
    fparain at openjdk.java.net
       
    Fri Apr 10 16:58:06 UTC 2020
    
    
  
The new and defaultvalue bytecodes currently lack a check to ensure that the class to instantiate is of the right kind.
These changes add checks in both slow and fast path of the interpreter.
Testing:
  - unit test added
  - mach5 tier 1 (all failures were pre-existing)
-------------
Commit messages:
 - Fix tabs and trailing whitespaces
 - Add type checks to new and defaultvalue
Changes: https://git.openjdk.java.net/valhalla/pull/21/files
 Webrev: https://webrevs.openjdk.java.net/valhalla/21/webrev.00
  Stats: 155 lines in 5 files changed: 155 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/valhalla/pull/21.diff
  Fetch: git fetch https://git.openjdk.java.net/valhalla pull/21/head:pull/21
PR: https://git.openjdk.java.net/valhalla/pull/21
    
    
More information about the valhalla-dev
mailing list