Log in
Skip to main content
Skip to sidebar
Dashboards
Projects
Issues
Help
Jira Core help
Keyboard Shortcuts
About Jira
Jira Credits
Log In
Watched Subcomponents
JDK
JDK-8299829
In jshell, the output of "0".repeat(49999)+"2" ends with a '0'
Log In
Resolved
Export
null
XML
Word
Printable
Details
Type:
Bug
Resolution:
Fixed
Priority:
P4
Fix Version/s:
21
Affects Version/s:
17
,
19
,
20
Component/s:
tools
Labels:
None
Subcomponent:
jshell
Resolved In Build:
b05
Description
"0".repeat(49999)+"2" correctly evaluates to a string with a terminating '2'.
However, jshell outputs it with a terminating '0'.
Attachments
Issue Links
links to
Commit
openjdk/jdk/030e88d6
Review
openjdk/jdk/11927
Activity
People
Assignee:
Adam Sotona
Reporter:
Raffaello Giulietti
Votes:
0
Vote for this issue
Watchers:
4
Start watching this issue
Dates
Created:
2023-01-09 09:29
Updated:
2023-01-17 12:05
Resolved:
2023-01-11 00:32