Title: Lower bounds checking on IntList `get` method · Issue #1415 · processing/processing4 · GitHub
Open Graph Title: Lower bounds checking on IntList `get` method · Issue #1415 · processing/processing4
X Title: Lower bounds checking on IntList `get` method · Issue #1415 · processing/processing4
Description: [[Reserved for Mark Sherman's Class]] In https://github.com/processing/processing4/blob/main/core/src/processing/data/IntList.java#L166-L171 We are not doing a lower bounds check on index. We don't know what would happen with negative in...
Open Graph Description: [[Reserved for Mark Sherman's Class]] In https://github.com/processing/processing4/blob/main/core/src/processing/data/IntList.java#L166-L171 We are not doing a lower bounds check on index. We don't...
X Description: [[Reserved for Mark Sherman's Class]] In https://github.com/processing/processing4/blob/main/core/src/processing/data/IntList.java#L166-L171 We are not doing a lower bounds check on index. We d...
Opengraph URL: https://github.com/processing/processing4/issues/1415
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lower bounds checking on IntList `get` method","articleBody":"**[[Reserved for Mark Sherman's Class]]**\n\nIn https://github.com/processing/processing4/blob/main/core/src/processing/data/IntList.java#L166-L171\n\nWe are not doing a lower bounds check on `index`. We don't know what would happen with negative indices.\n\n1. Please write a test to see what happens when there is a negative index,\n2. Update the test to check if we do the \"right-thing\" in that case (probably an exception? please figure it out! (or discuss with me :) ))\n3. Update the code to make the test pass!\n\n","author":{"url":"https://github.com/catilac","@type":"Person","name":"catilac"},"datePublished":"2026-02-05T22:03:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/1415/processing4/issues/1415"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ceb6ddde-1f84-8d53-acc8-1d9987b40acf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D524:1DB345:7D1986:AA3335:6A5FDA2A |
| html-safe-nonce | 18ea8af706e78926c668b025cedc98bcd6d1b387e4c69cc696a003885720789c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENTI0OjFEQjM0NTo3RDE5ODY6QUEzMzM1OjZBNUZEQTJBIiwidmlzaXRvcl9pZCI6Ijg1MTAzNTg2MTU0Mjc1NDg1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9b5469b0908036703c897a95e5c30a4d876ac39ae28e8d99b182376b9ad91aef |
| hovercard-subject-tag | issue:3903800852 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing4/1415/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec61797e65e011beef5df0d5643c0c44ad664bfbdff6b7f7ca45b9387080e8a5/processing/processing4/issues/1415 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec61797e65e011beef5df0d5643c0c44ad664bfbdff6b7f7ca45b9387080e8a5/processing/processing4/issues/1415 |
| og:image:alt | [[Reserved for Mark Sherman's Class]] In https://github.com/processing/processing4/blob/main/core/src/processing/data/IntList.java#L166-L171 We are not doing a lower bounds check on index. We don't... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | catilac |
| hostname | github.com |
| expected-hostname | github.com |
| None | 969ff9e74dfdb8c6005b9549cd5d4b367ffe20ba69031e1a0cfddaa5106944a2 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing4 git https://github.com/processing/processing4.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 844382769 |
| octolytics-dimension-repository_nwo | processing/processing4 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 844382769 |
| octolytics-dimension-repository_network_root_nwo | processing/processing4 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fa4da66e0ab40d3a24db059b9ddcf8a2f49202c4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width