Commit f4378dd
committed
Add initCompressionFlag() to String constructors
Set compression flag in constructors creating uncompressed strings when
compact strings is enabled. OpenJ9 uses this flag to check if a string
with uncompressed characters has been created, and not having it enabled
when there has been leads to errors since the code assumes all strings
are still compressed.
Signed-off-by: Mike Zhang <[email protected]>1 parent 1feac3d commit f4378dd
File tree
1 file changed
+11
-1
lines changed1 file changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
525 | 525 | | |
526 | 526 | | |
527 | 527 | | |
| 528 | + | |
528 | 529 | | |
529 | 530 | | |
530 | 531 | | |
| |||
589 | 590 | | |
590 | 591 | | |
591 | 592 | | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
592 | 596 | | |
593 | 597 | | |
594 | 598 | | |
| |||
822 | 826 | | |
823 | 827 | | |
824 | 828 | | |
| 829 | + | |
825 | 830 | | |
826 | 831 | | |
827 | 832 | | |
| |||
851 | 856 | | |
852 | 857 | | |
853 | 858 | | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
854 | 862 | | |
855 | 863 | | |
856 | 864 | | |
| |||
5262 | 5270 | | |
5263 | 5271 | | |
5264 | 5272 | | |
5265 | | - | |
| 5273 | + | |
| 5274 | + | |
5266 | 5275 | | |
5267 | 5276 | | |
5268 | 5277 | | |
| |||
5285 | 5294 | | |
5286 | 5295 | | |
5287 | 5296 | | |
| 5297 | + | |
5288 | 5298 | | |
5289 | 5299 | | |
5290 | 5300 | | |
| |||
0 commit comments